Tony Wickham
778c0b020d
Scale down drag views in spring-loaded workspace.
...
Bug: 24190193
Change-Id: Ic490fc3f46702c3d5360e869c4172f31700085a1
2015-10-01 11:08:36 -07:00
Winson Chung
81d5a2227b
am 2c4d2ccd: Merge "Don’t create dummy app info." into ub-launcher3-burnaby-polish
...
* commit '2c4d2ccd90e60541efffb980b70270d0bfe4e585':
Don’t create dummy app info.
2015-09-30 23:04:10 +00:00
Winson Chung
2c4d2ccd90
Merge "Don’t create dummy app info." into ub-launcher3-burnaby-polish
2015-09-30 23:00:57 +00:00
Winson
5fbe0746dd
Don’t create dummy app info.
...
Bug: 24539514
Change-Id: I5d14a4d9993e072451f8e7ed9a4cea219ae5d246
2015-09-30 15:44:05 -07:00
Tony Wickham
9b803b5d7b
Merge "Create widget resize frame after spring loaded workspace has exited." into ub-launcher3-master
2015-09-30 01:24:43 +00:00
Tony Wickham
e038562675
Create widget resize frame after spring loaded workspace has exited.
...
Before, the resize frame was created as soon as a widget was dropped,
but this caused it to be in the wrong spot after the spring loaded
mode exited. Instead, we should wait until the workspace is back to
normal before creating the resize frame.
Bug: 24192073
Change-Id: I8d87febcc4ec7e3c44d50135184c3a837d7cd960
2015-09-29 18:22:05 -07:00
Winson
e993c4b275
resolved conflicts for 850de64c to ub-launcher3-master
...
Change-Id: Ica4893082f03afe76abd42dca44016eb9e436c35
2015-09-29 17:39:37 -07:00
Winson Chung
850de64c0d
Merge "Fixing other missing cases of truncated sorts." into ub-launcher3-burnaby-polish
2015-09-30 00:06:55 +00:00
Tony Wickham
a3b240d32b
Merge "Drags originating in Folder exit spring loaded mode when completed." into ub-launcher3-master
2015-09-30 00:01:13 +00:00
Winson
46a06da01c
Fixing other missing cases of truncated sorts.
...
Bug: 24505761
Change-Id: I9b9358e8b134f0c4aac32ac536d9c8a1f0629957
2015-09-29 16:58:02 -07:00
Tony Wickham
e872a420b6
am 58ecbe40: Flipped widths of Nexus 4 and Nexus 5 in InvariantDeviceProfile.
...
* commit '58ecbe40f6e95d53b74adeeea3fd83a32cea4f38':
Flipped widths of Nexus 4 and Nexus 5 in InvariantDeviceProfile.
2015-09-29 22:24:59 +00:00
Tony Wickham
58ecbe40f6
Flipped widths of Nexus 4 and Nexus 5 in InvariantDeviceProfile.
...
Without this change, Nexus 4 uses the Nexus 5 device profile and
vice versa. But because the profiles have exactly the same values,
it didn't matter that they were flopped.
Change-Id: I3fd788e040feb8de5bb5f5e336acbd4ac995dc0f
2015-09-29 15:19:32 -07:00
Winson
0b90814f86
am c0880491: Highlighting sectioned apps on fast-scroll.
...
* commit 'c088049113c261331b5685e64050d14a31cd72df':
Highlighting sectioned apps on fast-scroll.
2015-09-29 17:09:03 +00:00
Winson
c088049113
Highlighting sectioned apps on fast-scroll.
...
- This CL fixes an old assumption we had about the height
of rows in AllApps, and ensures that we account for the
difference in height between the predictive icons and the
normal icons.
- In addition, we refactor FastBitmapDrawable to have multiple
states, which it manages in drawing itself, including the
press state and fast scroll focus states. And we also refactor
some of the fast scroll logic in the all apps recycler view
out to its own class.
Change-Id: I1988159b2767df733bbbfc7dc601859cde6c9943
2015-09-28 17:32:19 -07:00
Sunny Goyal
9e3a4d8573
am 51894540: am e1899e44: Merge "Adding size check when generating holographic outline" into ub-launcher3-burnaby
...
* commit '5189454083640c81bf3a171422b3ef114f150a77':
Adding size check when generating holographic outline
2015-09-28 19:25:00 +00:00
Sunny Goyal
5189454083
am e1899e44: Merge "Adding size check when generating holographic outline" into ub-launcher3-burnaby
...
* commit 'e1899e44368f7602afc5b87a75102e7ff551982c':
Adding size check when generating holographic outline
2015-09-28 19:21:58 +00:00
Sunny Goyal
e1899e4436
Merge "Adding size check when generating holographic outline" into ub-launcher3-burnaby
2015-09-28 19:17:25 +00:00
Sunny Goyal
6cdc6b9f05
am 81284287: am de9590be: Adding null check when creating icon bitmap
...
* commit '81284287a761a9ee512bd7d4857995fdd8d8dcbc':
Adding null check when creating icon bitmap
2015-09-28 18:49:19 +00:00
Sunny Goyal
81284287a7
am de9590be: Adding null check when creating icon bitmap
...
* commit 'de9590be4ca2779ae0f7f64a48ac8b90472484f8':
Adding null check when creating icon bitmap
2015-09-28 18:46:18 +00:00
Sunny Goyal
bf1a98f596
Adding size check when generating holographic outline
...
Bug: 24426913
Change-Id: Ic7c9c767ea60ae4b25e064127105d94104233596
2015-09-28 11:34:23 -07:00
Sunny Goyal
de9590be4c
Adding null check when creating icon bitmap
...
Bug: 24299267
Change-Id: I596e4a8dbd4e45cffff75e6cf7bbbf7ec45c8ec9
2015-09-27 19:05:04 +00:00
Winson
aab143fd65
am f768d934: Fixing regression in L3 with search bar transition.
...
* commit 'f768d934682ba80da89d454543928e629a44103d':
Fixing regression in L3 with search bar transition.
2015-09-25 23:23:56 +00:00
Winson
8660cf5d1b
am 17e2d495: Use Long.compare() instead of truncating values for comparison.
...
* commit '17e2d49547eb8d068b1ba816c6226cf5ef77369d':
Use Long.compare() instead of truncating values for comparison.
2015-09-25 23:23:56 +00:00
Winson
f768d93468
Fixing regression in L3 with search bar transition.
...
Change-Id: Ia4155a653012c5d23df21167233fe766e5479347
2015-09-25 23:21:00 +00:00
Winson
17e2d49547
Use Long.compare() instead of truncating values for comparison.
...
Bug: 24116808
2015-09-25 23:20:13 +00:00
Sunny Goyal
1f604dfbc7
am d21301e6: Cancelling the stateannouncer when entering button drop target
...
* commit 'd21301e674377ecd72bd14f32b52c68fabcfd3be':
Cancelling the stateannouncer when entering button drop target
2015-09-25 21:09:28 +00:00
Sunny Goyal
d21301e674
Cancelling the stateannouncer when entering button drop target
...
Change-Id: Ia10298e1d4862fc5f46894fa6d934207d6e9c117
2015-09-25 12:17:08 -07:00
Sunny Goyal
c5c723bbe4
Fixing string.format missed in previous conflict resolution
...
Change-Id: Ic71ee97c319bb9141f70acf75f2fe0e40565f692
2015-09-25 12:07:40 -07:00
Sunny Goyal
7aaa841c35
Fixing 'Item removed' announced twice when using accessible DnD
...
Change-Id: I2d8781155619d22a41c3f363be7909d411c62fa9
2015-09-25 12:06:13 -07:00
Sunny Goyal
9d4380856f
resolved conflicts for e78e3d73 to ub-launcher3-master
...
Change-Id: Idc119a57e21cf6016ee0fd91866839301db072d6
2015-09-25 11:50:16 -07:00
Sunny Goyal
e78e3d734b
Accessibility fixes
...
1) Use a different content description for temporary new page
2) Use different accessibility description for add widget toast
3) Announce when an item is deleted
4) Announce when hovering over a drop target
5) Announce state during drag-n-drop and widget resize (similar to seekbar)
Bug: 23573321, 24057944
Change-Id: Icabb317625e70c78e11c0b4f99b9339172d93594
2015-09-25 10:22:47 -07:00
Winson
1f832f85d5
am 2949fb5b: Fixing talk-back folder icon removal regression.
...
* commit '2949fb5b16a07259e221c5c04470e90c8afb4ea8':
Fixing talk-back folder icon removal regression.
2015-09-24 18:26:44 +00:00
Winson
2949fb5b16
Fixing talk-back folder icon removal regression.
...
Change-Id: I0b7fff645828d5198500973f1c9ea74f406a1a43
2015-09-24 18:21:16 +00:00
Sunny Goyal
1bf14ff6b7
am f27cb0e6: resolved conflicts for 8ac727b2 to ub-launcher3-burnaby-polish
...
* commit 'f27cb0e6b1edb2a53de64fdd12d25f400a3acdd9':
Using custom threadpool executor instead of the one defined in AsyncTask
2015-09-23 23:14:51 +00:00
Sunny Goyal
f27cb0e6b1
resolved conflicts for 8ac727b2 to ub-launcher3-burnaby-polish
...
Change-Id: I34e679bae7faae3c7ca725263fe6cc7c5611e63a
2015-09-23 16:12:02 -07:00
Winson Chung
4362ba6913
am 5a7a1ce0: Merge "Fixing workspace state issue with option menu." into ub-launcher3-burnaby-polish
...
* commit '5a7a1ce0a7affdff02029793ac24b2581075acee':
Fixing workspace state issue with option menu.
2015-09-23 22:54:15 +00:00
Winson Chung
5a7a1ce0a7
Merge "Fixing workspace state issue with option menu." into ub-launcher3-burnaby-polish
2015-09-23 22:51:27 +00:00
Sunny Goyal
8ac727b2c6
Using custom threadpool executor instead of the one defined in AsyncTask
...
Change-Id: I8fe95d932c5de14c74f0576bfc3d1f641d12b448
2015-09-23 15:39:14 -07:00
Sunny Goyal
2924080923
am 4c67dce4: am ce0a8946: Merge "Preventing nullpointer exception when cloning rawList" into ub-launcher3-burnaby
...
* commit '4c67dce43f6e4f535bfe9c6d804db0822ac6db9d':
Preventing nullpointer exception when cloning rawList
2015-09-23 18:43:52 +00:00
Sunny Goyal
4c67dce43f
am ce0a8946: Merge "Preventing nullpointer exception when cloning rawList" into ub-launcher3-burnaby
...
* commit 'ce0a89461a7e72917c052844f8e9339d2047b1d0':
Preventing nullpointer exception when cloning rawList
2015-09-23 18:40:52 +00:00
Sunny Goyal
ce0a89461a
Merge "Preventing nullpointer exception when cloning rawList" into ub-launcher3-burnaby
2015-09-23 18:34:56 +00:00
Sunny Goyal
fa20fff5ca
am e4d16e41: am 7ca99110: Using an executor with increased queue size for loading previews
...
* commit 'e4d16e41e9414f975ce78ed19b8e3616cd59a744':
Using an executor with increased queue size for loading previews
2015-09-23 18:08:59 +00:00
Sunny Goyal
e4d16e41e9
am 7ca99110: Using an executor with increased queue size for loading previews
...
* commit '7ca991104e3ac2e99fcde5599416f82b4d66aad1':
Using an executor with increased queue size for loading previews
2015-09-23 18:03:02 +00:00
Sunny Goyal
7ca991104e
Using an executor with increased queue size for loading previews
...
An async task can be in the queue even if it has been cancelled. It
is removed only after it gets executed once. So the executor can get
blocked if there are some tasks which are running, and we keep posting
and cancelling preview load tasks.
Bug: 24306650
Change-Id: I836c8d53258542cc6f31952dff84323cc057437c
2015-09-23 10:48:50 -07:00
Winson
4616347537
Fixing workspace state issue with option menu.
...
- Hitting a ctrl key combo will actually call onPrepareOptionsMenu(), which
will change the state of the workspace incorrectly. Instead, listen for
the menu button, and only allow the user to enter overview mode if they
are currently not dragging or in an overlay state (like all apps or
widgets).
- Also making the overview buttons focusable so that they are focused when
you go into overview mode.
Bug: 22483367
Change-Id: Ie6e9febd8a5a4e7ad25d745639d42d1c7b9801b4
2015-09-22 17:33:39 -07:00
Sunny Goyal
6a706b1dd7
Preventing nullpointer exception when cloning rawList
...
Bug: 24299525
Change-Id: I92018a3da7d75afc2c6997302f8e0492eb78e62f
2015-09-22 16:56:55 -07:00
Sunny Goyal
0abb36f692
Fixing overscroll effect when the navigation bar is opaque
...
The navigation bar is opaque on mobile devices in landscape mode.
Launcher should ignore the right insets and draw the edge effect appropriately.
Also draw the black bar under the navigation bar, just in case we assume it
to be opaque, but it was not actually opaque.
Bug: 18526657
Change-Id: I1d49dcb82b8a5ee25009bc738cd9b8c0c5c88263
2015-09-22 10:57:08 -07:00
Sunny Goyal
e04febbf8e
Merge "Moving a few testing classes to a separate package" into ub-launcher3-master
2015-09-21 20:35:29 +00:00
Adam Cohen
3c9c7263dc
am 9ae42fff: am b3fff9d9: Merge "Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide" into ub-launcher3-burnaby
...
* commit '9ae42fff6f481ea2a06f171da43f630ded313b69':
Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide
2015-09-21 17:44:54 +00:00
Adam Cohen
9ae42fff6f
am b3fff9d9: Merge "Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide" into ub-launcher3-burnaby
...
* commit 'b3fff9d98a3e3c886d4efa912d7ad6753dd7ec9c':
Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide
2015-09-21 17:40:50 +00:00