Commit Graph

78507 Commits

Author SHA1 Message Date
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
Sunny Goyal bb4a19dd36 am bbc140b5: Merge "Revert "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop" Actual fix" into ub-launcher3-burnaby
* commit 'bbc140b545ffd6c230269af3b0b5cad98838fc3a':
  Revert "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop" Actual fix
2015-04-15 23:59:02 +00:00
Sunny Goyal bbc140b545 Merge "Revert "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop" Actual fix" into ub-launcher3-burnaby 2015-04-15 23:53:43 +00:00
Sunny Goyal 584eee2035 am b3c5fac5: Merge "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop" into ub-launcher3-burnaby
* commit 'b3c5fac5dc16189f1d9ebe7ff8504612d4869e6f':
  Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop
2015-04-15 23:47:49 +00:00
Sunny Goyal 89a6ec2af2 Revert "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop"
Actual fix

This reverts commit b4b01efa43.

Change-Id: I65cc75e0f1a95f69be607bb5b11d7f4627ff25c1
2015-04-15 23:40:57 +00:00
Sunny Goyal b3c5fac5dc Merge "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop" into ub-launcher3-burnaby 2015-04-15 23:39:51 +00:00
Sunny Goyal b4b01efa43 Revert "Disable setWallpaper button until the wallpaper is loaded"
Will submit again after the drop

This reverts commit 65776c4359.

Change-Id: I5f85d0c70f3f5faf85d9ba16e82d4714b694a193
2015-04-15 23:38:17 +00:00
Sunny Goyal 98a89d8693 am 8fbb7715: Merge "Disable setWallpaper button until the wallpaper is loaded" into ub-launcher3-burnaby
* commit '8fbb771537c7244b0b203eb8495dde38c00b575c':
  Disable setWallpaper button until the wallpaper is loaded
2015-04-15 22:30:56 +00:00
Sunny Goyal 8fbb771537 Merge "Disable setWallpaper button until the wallpaper is loaded" into ub-launcher3-burnaby 2015-04-15 22:26:32 +00:00
Sunny Goyal 86aeb0e808 am 7767a460: Merge "Fixing pallpaper parallex in rtl." into ub-launcher3-burnaby
* commit '7767a460e2738ea356767b4c0855b7a39cef6c1d':
  Fixing pallpaper parallex in rtl.
2015-04-15 21:36:18 +00:00
Sunny Goyal 7767a460e2 Merge "Fixing pallpaper parallex in rtl." into ub-launcher3-burnaby 2015-04-15 21:29:04 +00:00
Sunny Goyal 65776c4359 Disable setWallpaper button until the wallpaper is loaded
Bug: 20187333
Change-Id: Id7a42616560e15eddedad5846ef927a3be52ed1c
2015-04-15 14:17:46 -07:00
Sunny Goyal 3fa3c12761 Fixing pallpaper parallex in rtl.
The rtl mode, the first screen should correspond to the last
opage offset (since page offset are always defined as
left-to-right)

Change-Id: Ie31139166bd71c423c63968760493ec572af81e9
2015-04-15 13:54:27 -07:00
Geoff Mendal 4f073405cf Import translations. DO NOT MERGE
Change-Id: I58a4492080ef5562ed2901bcef0183251ba7cedc
Auto-generated-cl: translation import
2015-04-15 05:09:24 -07:00
Neil Fuller deb3dd3ef8 am ba41458f: Remove usage of FloatMath
* commit 'ba41458f5c696194d547ac8f24e9f8e58cfa64fc':
  Remove usage of FloatMath
2015-04-15 09:27:46 +00:00
Neil Fuller ba41458f5c Remove usage of FloatMath
Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: I2effc3f498fb13e66de9a905b9a40ac5688a5850
2015-04-15 09:10:18 +01:00
Sunny Goyal a9c0978e3e Updating pageindicator assets
Change-Id: I22d6a53f0c372a128b47ec95857793477317fc07
2015-04-14 16:49:41 -07:00
Hyunyoung Song 4a9c2e78a5 am 6da9c322: Fix null pointer exception in WidgetsModel
* commit '6da9c32204347d0980d3e76a5ff03bc3431b49a7':
  Fix null pointer exception in WidgetsModel
2015-04-14 19:37:18 +00:00
Hyunyoung Song 6da9c32204 Fix null pointer exception in WidgetsModel
Due to not clearing the PackageItemInfos list when uninstall happened,
uninstalled PackageItemInfo lingered around when there wasn't associated
Widgets to it. Hence causing null pointer exception.

b/20216900

Change-Id: I5601cf618079044d24ffc3ee835c1468fa2e9371
2015-04-14 11:50:44 -07:00
Hyunyoung Song 38b86ac3f8 am 9d07e3d5: Merge "Focus handling - RTL support" into ub-launcher3-burnaby
* commit '9d07e3d561b4b9819e7bc8778dd3e2b45b0344d9':
  Focus handling - RTL support
2015-04-14 00:55:30 +00:00
Hyunyoung Song 9d07e3d561 Merge "Focus handling - RTL support" into ub-launcher3-burnaby 2015-04-14 00:49:16 +00:00
Hyunyoung Song ada50984dc Focus handling - RTL support
- Support LEFT and RIGHT keys to work across workspaces when in RTL mode.
- Folder icons navigate correctly on DPAD_LEFT/RIGHT events
- Folder navigation across pages also works correctly
- Deleted dead code inside FocusHelper

b/20120358

Change-Id: I7f851cb7ed31f666a91b2f856458d7966ea5f712
2015-04-13 17:44:31 -07:00
Hyunyoung Song a57a86f312 am be5c4ae5: Merge "WidgetTray improvement" into ub-launcher3-burnaby
* commit 'be5c4ae5a4ddedf78c50317338e323e3bf1a5aec':
  WidgetTray improvement
2015-04-13 23:10:23 +00:00
Hyunyoung Song be5c4ae5a4 Merge "WidgetTray improvement" into ub-launcher3-burnaby 2015-04-13 22:59:50 +00:00
Hyunyoung Song 4e8fb91cf1 WidgetTray improvement
UI
- Fixing the issue of widget row not rendering
- Moved the resetting of previous bitmap to the start of onBind
instead of the onDetachedWindow.

Performance
- WidgetModel do not have to keep packageName list around.

Will com in immediate follow up CLs
- use lowRes widgets bitmap before fully loading the fullRes one.
- application icons are fully loaded in background thread.

b/19897708

Change-Id: I5b3b43a5c543a5135c395f90df32e66d57dc86e0
2015-04-13 15:58:30 -07:00
Sunny Goyal 195e939a93 am ece6c8b2: Wrong icon getting set for an app on secondary user during updates
* commit 'ece6c8b20b7bcfa0734c2fd4cd3fc93bc227699f':
  Wrong icon getting set for an app on secondary user during updates
2015-04-13 20:29:03 +00:00
Sunny Goyal ece6c8b20b Wrong icon getting set for an app on secondary user during updates
Bug: 20163841
Change-Id: Ief91db56f7831f89e34c4540981a9d2db96b8bed
2015-04-13 11:48:46 -07:00
Sunny Goyal 084212c285 am 18bf8e2f: Automatically adding managed profile shortcuts to homescreen.
* commit '18bf8e2ffde3444d53aaa9654da02cdedd0b7cd1':
  Automatically adding managed profile shortcuts to homescreen.
2015-04-13 18:42:00 +00:00
Geoff Mendal 63920428f0 Import translations. DO NOT MERGE
Change-Id: I3db51d488020653f0aa3449d11d6ac4b92c93155
Auto-generated-cl: translation import
2015-04-10 22:56:52 -07:00
Sunny Goyal 18bf8e2ffd Automatically adding managed profile shortcuts to homescreen.
When the managed profile is created, a "Work" folder is created
and added to the homescreen. All work profile apps are added to this
folder and icons for subsequent installs (withing a fixed time frame)
are automatically added to this folder.
If this folder get deleted or the time-frame expires, icon for any new
install is placed on the homescreen.

Bug: 17410319
Change-Id: I49f4e437707d5eabe4eec85320765bf6ba7fde97
2015-04-10 19:37:13 -07:00
Sunny Goyal 40f4a4d9e7 am d9760ee2: Merge "Deduping shortcuts to app-shortcuts if they have a valid intent" into ub-launcher3-burnaby
* commit 'd9760ee2de0a245fe0a0c11891723ef3f1513de9':
  Deduping shortcuts to app-shortcuts if they have a valid intent
2015-04-11 02:31:23 +00:00
Sunny Goyal d9760ee2de Merge "Deduping shortcuts to app-shortcuts if they have a valid intent" into ub-launcher3-burnaby 2015-04-11 02:24:46 +00:00
Sunny Goyal 0b03778966 Deduping shortcuts to app-shortcuts if they have a valid intent
> Only deduping shortcuts for the primary user as custom shortcuts
for secondary users is not supported.

Change-Id: If129dee64a395602006ebb996d4b09b93b89084f
2015-04-10 19:01:32 -07:00
Winson Chung 75cc825f3f Fixing regression in AllApps being aggressively dismissed after returning to Launcher.
- Adding workaround to prevent the built-in search box from being focused when AllApps is shown again

Bug: 20143148
Change-Id: Id546d3e5fedc724d95e067d26115ee716ac1d626
2015-04-10 10:33:40 -07:00
Sunny Goyal 385d62e644 am 84206dab: Merge "Build fix" into ub-launcher3-burnaby
* commit '84206dab52b1244c8e1aac6905b0b5b33e89b5e0':
  Build fix
2015-04-10 01:43:47 +00:00