Commit Graph
11704 Commits
Author SHA1 Message Date
Hyunyoung Song d4af148444 Remove duplicate calls to getSortedWidgetsAndShortcuts
Note: this is a manual CP of the CL that was submitted to ub-launcher3-almonte

b/19904873

Change-Id: I2e56bc0c7524caa2ef3c5fb00f35cb032cd1860b
2015-04-21 16:07:30 -07:00
Winson Chung dc61c4d414 Refactoring to single path for overview mode.
Change-Id: I590a813c6f031342d75c3a6c3e9c9afda1808f2e
2015-04-21 15:54:22 -07:00
Adam Cohen dbc5dc43cf am 22633476: am 68fdeaad: (-s ours) Stop using custom activity transition, rely on system default in these cases
* commit '22633476f76182e10641362b5632bf5d27bd6e82':
  Stop using custom activity transition, rely on system default in these cases
2015-04-21 22:39:37 +00:00
Sunny Goyal 79ba31ccca am 7e2a3608: Preventing concurrent modification exception during widget restore
* commit '7e2a3608b6fa51c884e051625e10d13597cb8796':
  Preventing concurrent modification exception during widget restore
2015-04-21 22:39:36 +00:00
Adam Cohen 22633476f7 am 68fdeaad: (-s ours) Stop using custom activity transition, rely on system default in these cases
* commit '68fdeaadc621b7a9200f5c75790eb756a1983d02':
  Stop using custom activity transition, rely on system default in these cases
2015-04-21 20:58:44 +00:00
Sunny Goyal 7f834d2b30 Using a different userManager class as getUserForSerialNumber gives
a valid userHandle for deleted user.

> Also chaching the user handles during loader to avoid multiple
calls for UserManager

Bug: 19389411
Change-Id: I95af3b41b2c9d2ea41d9a75b1020656f57f5e4c9
2015-04-21 10:13:03 -07:00
Hyunyoung Song 3af56b6052 Remove duplicate calls to getSortedWidgetsAndShortcuts
b/19904873

Change-Id: I2e56bc0c7524caa2ef3c5fb00f35cb032cd1860b
2015-04-20 21:22:46 -07:00
Sunny Goyal 7e2a3608b6 Preventing concurrent modification exception during widget restore
Change-Id: If896c5ea7136d132f30be8127b651449bde17447
2015-04-20 18:19:25 -07:00
Winson Chung 2fbfc5f585 am d5a03eb0: Ensuring that we skip item decoration drawing when there are no apps.
* commit 'd5a03eb0b3015e8d307299ea2c8771b3b204a6ea':
  Ensuring that we skip item decoration drawing when there are no apps.
2015-04-21 00:33:36 +00:00
Winson Chung d5a03eb0b3 Ensuring that we skip item decoration drawing when there are no apps.
Bug: 20431579

Change-Id: I870c43ff8a94e2cb2c68869f2a31001d028ad58a
2015-04-20 17:27:53 -07:00
Winson Chung 0e4b726b6b am 4897af52: Merge "Notify data-set changed when new items are added/removed." into ub-launcher3-burnaby
* commit '4897af520533115aebf375e554e0b140be95d3c5':
  Notify data-set changed when new items are added/removed.
2015-04-20 04:49:33 +00:00
Winson Chung 4897af5205 Merge "Notify data-set changed when new items are added/removed." into ub-launcher3-burnaby 2015-04-20 04:40:42 +00:00
Hyunyoung Song fce0a7816b am 4cea4c83: WidgetTray UI tweak
* commit '4cea4c830283e017fc36197cfe9d7ce713aec49d':
  WidgetTray UI tweak
2015-04-20 02:36:40 +00:00
Hyunyoung Song 4cea4c8302 WidgetTray UI tweak
- set fixed image view width
- fade in when widget bitmap populates
- widget dimension is next to the widget name text.
- elevation of the widgets content and the reveal view is the same

b/19897708

Change-Id: Ia656144412e7d63a491ce67ff15fb58c05d9a9d9
2015-04-19 19:25:49 -07:00
Winson Chung 75ae8d3bf9 Notify data-set changed when new items are added/removed.
- Temporarily use the full data-set changed call, when possible, we'll moved
  to the SortedList in the support lib which will take care of most of this
  for us.

Bug: 20363676
2015-04-19 16:10:34 -07:00
Geoff Mendal 832f74fe73 Import translations. DO NOT MERGE
Change-Id: I25d6b71e83df20224d992aa9b010782fff33d793
Auto-generated-cl: translation import
2015-04-17 23:59:03 -07:00
Winson Chung 10d336310b am 7af216ff: Merge "Fixing build." into ub-launcher3-burnaby
* commit '7af216ff04b7f0c3852119b476d8f692edfcaaa7':
  Fixing build.
2015-04-17 23:30:44 +00:00
Winson Chung 7af216ff04 Merge "Fixing build." into ub-launcher3-burnaby 2015-04-17 23:21:49 +00:00
Winson Chung 2826a401ed Fixing build. 2015-04-17 16:19:46 -07:00
Winson Chung 682deae3eb am e6556396: Merge "Accounting for recent changes in padding when detecting backgound taps to close AllApps." into ub-launcher3-burnaby
* commit 'e655639609f3e6ae3124034860f975a66026a832':
  Accounting for recent changes in padding when detecting backgound taps to close AllApps.
2015-04-17 23:02:23 +00:00
Winson Chung e655639609 Merge "Accounting for recent changes in padding when detecting backgound taps to close AllApps." into ub-launcher3-burnaby 2015-04-17 22:56:48 +00:00
Sunny Goyal 88ea5e9f56 am 9be47e8e: Merge "Updating drop button targets" into ub-launcher3-burnaby
* commit '9be47e8eae0419855973da1ce408f107bc6c2d45':
  Updating drop button targets
2015-04-17 20:40:57 +00:00
Sunny Goyal 9be47e8eae Merge "Updating drop button targets" into ub-launcher3-burnaby 2015-04-17 20:34:56 +00:00
Sunny Goyal 4127770903 am 546bbf2f: Removing market icon
* commit '546bbf2f8d31261c720ed7b06d3f4e4b5bea268f':
  Removing market icon
2015-04-17 20:02:34 +00:00
Winson Chung 466663edee Accounting for recent changes in padding when detecting backgound taps to close AllApps.
- Also ensuring that we keep the search bar visible in all apps only if it is being overridden.

Change-Id: Iba980ecec255da80aff8ff57b42ad99d70a2122a
2015-04-17 12:51:27 -07:00
Sunny Goyal 546bbf2f8d Removing market icon
Change-Id: I7837cd8083cf2c07444b509fcfb7447151ba76b5
2015-04-17 12:51:24 -07:00
Winson Chung 90e9d2daa5 am c90ef758: Merge "Ensuring that our animation callbacks are not stripped by pro guard." into ub-launcher3-burnaby
* commit 'c90ef7584be6a82fdc2ab656433cc773f280cd30':
  Ensuring that our animation callbacks are not stripped by pro guard.
2015-04-17 17:43:01 +00:00
Winson Chung c90ef7584b Merge "Ensuring that our animation callbacks are not stripped by pro guard." into ub-launcher3-burnaby 2015-04-17 17:32:56 +00:00
Sunny Goyal fdb8882626 am 18b640c3: Removing LauncherProvider dependency from LauncherSettings
* commit '18b640c3710723df8a8528a667c373474e0a06ee':
  Removing LauncherProvider dependency from LauncherSettings
2015-04-17 17:02:35 +00:00
Sunny Goyal 18b640c371 Removing LauncherProvider dependency from LauncherSettings
> This ensures that the classLoader does not need to load
LauncherProvider to access LauncherSettings
> Making a few fields public.

Change-Id: I2e8ee6e169552739f09e500d3b6acbcee7cd0718
2015-04-17 09:30:32 -07:00
Winson Chung 9cbea78b19 Ensuring that our animation callbacks are not stripped by pro guard.
Bug 20296035
2015-04-16 21:18:34 -07:00
Sunny Goyal fa401a10e7 Updating drop button targets
> Splitting DeleteDropTarget into delete and uninstall
> Showing UninstallDropTarget for app shortcuts on workspace
> Showing InfoDropTarget only when developer options is enabled

Change-Id: I4396571d2199d1581bb9c733aef88ab9b0ebd79d
2015-04-16 15:52:04 -07:00
Sunny Goyal 6c0a8e682d am fb9ca239: Merge "Fixing drag-n-drop for folders in hotseat." into ub-launcher3-burnaby
* commit 'fb9ca2392894a3dea83570267f9597ac0750b9fd':
  Fixing drag-n-drop for folders in hotseat.
2015-04-16 22:47:22 +00:00
Sunny Goyal 79dd8a9c12 am fc3c1edf: Fixing folder focus logic
* commit 'fc3c1edf7bbc3f7cb23e79520731d13ccc2da046':
  Fixing folder focus logic
2015-04-16 22:47:21 +00:00
Sunny Goyal fb9ca23928 Merge "Fixing drag-n-drop for folders in hotseat." into ub-launcher3-burnaby 2015-04-16 22:39:00 +00:00
Hyunyoung Song 560c9d845d am df410971: Merge "Focus handling null pointer exception during monkey tests." into ub-launcher3-burnaby
* commit 'df41097194b0ea490513c2a4e85bd9adc54637e8':
  Focus handling null pointer exception during monkey tests.
2015-04-16 22:01:53 +00:00
Sunny Goyal b04d90dad1 am 37749239: Merge "Updating maxscroll only after layouttranstion has finished" into ub-launcher3-burnaby
* commit '3774923944c4da8decc58df1aaa9b839ed542179':
  Updating maxscroll only after layouttranstion has finished
2015-04-16 22:01:52 +00:00
Sunny Goyal fc3c1edf7b Fixing folder focus logic
> Folder items no longer remain in a linear order when a folder
gets rearranged, and se we need to use createSparseMatrix instead
of createFullArray. Also because of this we need to use getChildAt(x, y)
instead of getChildAt(index)
> Removing traces of AppsCustomizePage (all apps) from FocusHelper

Change-Id: I9007f6b95cb823e27ef4a43ce725fda8ef1b7cf8
2015-04-16 14:53:58 -07:00
Hyunyoung Song df41097194 Merge "Focus handling null pointer exception during monkey tests." into ub-launcher3-burnaby 2015-04-16 21:52:13 +00:00
Sunny Goyal 3774923944 Merge "Updating maxscroll only after layouttranstion has finished" into ub-launcher3-burnaby 2015-04-16 21:51:07 +00:00
Sunny Goyal 3e2ff8afef Updating maxscroll only after layouttranstion has finished
Bug: 20092568
Change-Id: I6ff8d9759b71b0b00ebfdaa75b558254dbeb0ef9
2015-04-16 14:50:22 -07:00
Hyunyoung Song b76cd628e6 Focus handling null pointer exception during monkey tests.
- Also fix a bug where the focus is not navigating to the next page when there
isn't an icon within +45 and -45 range of the origin.

b/20294717

Change-Id: I16dac5c6a0463fbc9f56a447abedad18abadde98
2015-04-16 14:34:09 -07:00
Sunny Goyal ec81d73cd6 am 317073ca: Merge "Updating pageindicator assets" into ub-launcher3-burnaby
* commit '317073ca2df775d3fae445b82e83f0314f2dcfe3':
  Updating pageindicator assets
2015-04-16 20:02:54 +00:00
Sunny Goyal 317073ca2d Merge "Updating pageindicator assets" into ub-launcher3-burnaby 2015-04-16 19:57:21 +00:00
Winson Chung 2e4be87743 am 7e8ba7cf: Merge "Fixing regression in AllApps being aggressively dismissed after returning to Launcher." into ub-launcher3-burnaby
* commit '7e8ba7cfb9a96d25bb8e99d083d5b974b1719bc0':
  Fixing regression in AllApps being aggressively dismissed after returning to Launcher.
2015-04-16 19:51:43 +00:00
Winson Chung 7e8ba7cfb9 Merge "Fixing regression in AllApps being aggressively dismissed after returning to Launcher." into ub-launcher3-burnaby 2015-04-16 19:44:33 +00:00
Hyunyoung Song 6069ace1d2 am b6e4aece: Merge "WidgetTray on Kitkat" into ub-launcher3-burnaby
* commit 'b6e4aece3f25b18fa36d7aa2d1e1478e5f462399':
  WidgetTray on Kitkat
2015-04-16 19:18:16 +00:00
Hyunyoung Song b6e4aece3f Merge "WidgetTray on Kitkat" into ub-launcher3-burnaby 2015-04-16 19:08:53 +00:00
Hyunyoung Song f24f250158 WidgetTray on Kitkat
- Fix "getDrawable" not found runtime exception by getting rid of dead code

Change-Id: Id511a6c0c4ea1070f5f498cf6458548ace7c54f7
2015-04-16 03:12:19 -07:00
Sunny Goyal f406615354 Fixing drag-n-drop for folders in hotseat.
The current drag-n-drop model assums that when a folder is open
it completely covers the folderIcon and its not possible to drop
anything on the icon. But its not true when a folder is in the
hotseat.

> When DnD finishes revert folder to the normal state
> Ensure that only one folder is open at a time
> Prevent folder icon from moving when the folder is open

Bug: 13646281,14680549
Change-Id: I016a4c3f0d9b57c388eaa28f40df9e7b7bbab5fc
2015-04-15 17:12:04 -07:00