Commit Graph

49925 Commits

Author SHA1 Message Date
Sunny Goyal f4d017999a Moving getWallpaperArrayResourceId to a separate functions, so that
it can be overriden by dependent projects

Change-Id: I565d85d9126e41cec3dd2cdb8f2c75283bce4b13
2015-08-31 13:39:25 -07:00
Sunny Goyal 7f9e00a4c8 Merge "Refactoring wallpaper picker activity" into ub-launcher3-master 2015-08-31 19:45:34 +00:00
Sunny Goyal e4c28f8e13 Refactoring wallpaper picker activity
> Moving different tiles to individual classes
  > Moving some utility methods to corresponding tile classes
  > No functionality change

Change-Id: I493cf309f4e3d817a9300be004c475d208f8dadb
2015-08-31 12:36:54 -07:00
Sunny Goyal cc818d0ad5 Merge "Jailing the saved instance state of all the dynamically generated views" into ub-launcher3-master 2015-08-31 18:59:55 +00:00
Sunny Goyal 5fc78a7d03 Merge "Regression in ag/753709" into ub-launcher3-master 2015-08-31 18:50:10 +00:00
Sunny Goyal de51d1d1af Regression in ag/753709
Item values were not read properly in savedInstanceState

Change-Id: If45b7085555076b03ebd4a97a3ff939487ca8ce1
2015-08-31 11:48:24 -07:00
Winson Chung e2824c4ea7 am 1b247d9f: Merge "Adding workaround for regression caused by ag/752175" into ub-launcher3-burnaby
* commit '1b247d9f37cd1e9ca9e8c690c137858b66314b79':
  Adding workaround for regression caused by ag/752175
2015-08-31 18:47:01 +00:00
Winson Chung 1b247d9f37 Merge "Adding workaround for regression caused by ag/752175" into ub-launcher3-burnaby 2015-08-31 18:40:41 +00:00
Winson 16615f29f6 Adding workaround for regression caused by ag/752175
Change-Id: I92617c88f17a5827454e147f93d822975587d5b4
2015-08-31 11:32:38 -07:00
Sunny Goyal edf329a5c3 Adding gradle script for Android Studio
Change-Id: I640c63e2981337eb8c8ed191b40c0649a986361e
2015-08-30 21:04:44 -07:00
Tony Wickham 1ea392f0bc Fix typos caused by gerrit's inline editor.
Change-Id: Ie142f5c6b418ac775cc167787f8e372d5354b91a
2015-08-28 16:33:11 -07:00
Tony Wickham 415146fcf3 Merge "Reuse existing temporary wallpaper tiles when selecting same photo." into ub-launcher3-master 2015-08-28 23:21:37 +00:00
Tony Wickham f970ee5cdc Reuse existing temporary wallpaper tiles when selecting same photo.
Previously, if you selected a photo to set as the wallpaper multiple times, it
kept adding temporary wallpaper tiles that were all identical. Now it reuses the
same tile, updating the thumbnail and wallpaper if the Uri happens to point to a
new image (such as if a photo is renamed).

Change-Id: Ib05c9db4e1fd17226b503174f25add3368158b11
2015-08-28 23:06:01 +00:00
Winson Chung c306c9873a am 8b0af4c6: Merge "Override the overscroll color for the widget rows." into ub-launcher3-burnaby
* commit '8b0af4c635a116dea90555dd60cc23444dab3e64':
  Override the overscroll color for the widget rows.
2015-08-28 21:20:33 +00:00
Sunny Goyal c10c014a09 am 066bcc05: Merge "Using GET_UNINSTALLED_PACKAGES flag when getting packageInfo for a managed profile app" into ub-launcher3-burnaby
* commit '066bcc05fb97843dab518e0bc70ae766ed3edf28':
  Using GET_UNINSTALLED_PACKAGES flag when getting packageInfo for a managed profile app
2015-08-28 21:20:30 +00:00
Winson Chung 3eefff8d77 am 0947f5c2: Merge "Adding graphic for all apps empty search screen." into ub-launcher3-burnaby
* commit '0947f5c26804bc74b8f1242d856c1f703544c3de':
  Adding graphic for all apps empty search screen.
2015-08-28 21:20:28 +00:00
Winson Chung 8b0af4c635 Merge "Override the overscroll color for the widget rows." into ub-launcher3-burnaby 2015-08-28 21:17:36 +00:00
Sunny Goyal 066bcc05fb Merge "Using GET_UNINSTALLED_PACKAGES flag when getting packageInfo for a managed profile app" into ub-launcher3-burnaby 2015-08-28 21:16:03 +00:00
Winson Chung 0947f5c268 Merge "Adding graphic for all apps empty search screen." into ub-launcher3-burnaby 2015-08-28 21:08:49 +00:00
Winson a9f483b9ec Override the overscroll color for the widget rows.
Change-Id: I249e13f511736ad9e874800a1b9ee1f8602434f4
2015-08-28 14:05:07 -07:00
Winson fee206f241 Adding graphic for all apps empty search screen.
Change-Id: I976a327a5984790c458b0f36d33c0b1ac16ec59c
2015-08-28 12:34:55 -07:00
Sunny Goyal a8b244e5b8 Using GET_UNINSTALLED_PACKAGES flag when getting packageInfo for a managed profile app
Bug: 23515512
Change-Id: I60678eccd4b60225ff30960f7197d633f72c7659
2015-08-28 10:27:41 -07:00
Sunny Goyal e2fd14b9f6 Jailing the saved instance state of all the dynamically generated views
Using itemId instead of generating a new id for each item. This is because
if the process gets killed, View.generateId will get reset but we will still
receive the generated item id map in onRestoreInstance. This will cause
conflicts with newly generated item ids.

We wrap all the generated homescreen views inside a single sparse array. This
ensures that we do not cause any conflict with dynamically generated views in
other parts of the UI.

Change-Id: I6fe69c2e1dd463402f51222715fae31b9d4dd240
2015-08-27 17:53:28 -07:00
Sunny Goyal fafd4c276e resolved conflicts for merge of ebfae6e2 to ub-launcher3-master
Change-Id: I1e0d5f1140e910b68322c4f5061d0a3c383899f0
2015-08-27 16:47:13 -07:00
Sunny Goyal ebfae6e266 Revert "Adding viewId for the QSB"
Using QSB widget id from xml

This reverts commit 9956859139.

Change-Id: I33c48cf074f2dc1cf509c2d9f1f19b40b91f6a22
2015-08-27 15:32:05 -07:00
Sunny Goyal bcd2874ab9 am 195a2983: Merge "Adding viewId for the QSB" into ub-launcher3-burnaby
* commit '195a29834f866806a592bae42c8f16f71b6f64aa':
  Adding viewId for the QSB
2015-08-27 21:23:22 +00:00
Sunny Goyal 195a29834f Merge "Adding viewId for the QSB" into ub-launcher3-burnaby 2015-08-27 21:12:55 +00:00
Sunny Goyal 9956859139 Adding viewId for the QSB
Change-Id: I4ad6bc8c0d94e60a4d354dfc29f456ca561fc500
2015-08-27 13:48:30 -07:00
Winson Chung e689ddcd8d am 027d3000: Merge "Fixing an issue where you would inadvertently start fastscrolling." into ub-launcher3-burnaby
* commit '027d30007d6c4448f3d07ccfb880eb0f25178314':
  Fixing an issue where you would inadvertently start fastscrolling.
2015-08-27 20:41:10 +00:00
Winson Chung 027d30007d Merge "Fixing an issue where you would inadvertently start fastscrolling." into ub-launcher3-burnaby 2015-08-27 20:37:33 +00:00
Adam Cohen c77851d4c6 am 312d1276: am 6961b365: (-s ours) am 5845d3db: Make Launcher3 a privileged module so it gets the BIND_APPWIDGET permission
* commit '312d12768f1d721df66aac7644369e80aeaf2c6a':
2015-08-27 20:22:34 +00:00
Hyunyoung Song 8e47074978 am c10d140d: am 2da21e64: (-s ours) am 13ef17a3: (-s ours) merged ub-launcher3-burnaby, and resolved conflicts
* commit 'c10d140d95167f09a0b36b3df73dbb4e926c0cd8':
2015-08-27 20:22:33 +00:00
Hyunyoung Song 4af5aa6359 am 82bf63fb: am e1d69c9d: (-s ours) resolved conflicts for merge of 13ef17a3 to mnc-dev-plus-aosp
* commit '82bf63fbdff18686ab28e3c510e3b2dda9046979':
  resolved conflicts for merge of 13ef17a3 to mnc-dev-plus-aosp
2015-08-27 20:22:33 +00:00
Geoff Mendal 08535a574e am af91bfbc: (-s ours) am 96edc4c8: (-s ours) am e5ec4ac4: (-s ours) Import translations. DO NOT MERGE
* commit 'af91bfbc040c47e73b0e04dc30f51ff8a9864039':
2015-08-27 20:22:32 +00:00
Winson Chung d2848d834b am 0fd3e545: Merge "Fixing issue with missing scroll bar after fast-scrolling and searching." into ub-launcher3-burnaby
* commit '0fd3e545a709902e67dd42440e351a22a6daa48c':
  Fixing issue with missing scroll bar after fast-scrolling and searching.
2015-08-27 19:39:49 +00:00
Winson Chung 0fd3e545a7 Merge "Fixing issue with missing scroll bar after fast-scrolling and searching." into ub-launcher3-burnaby 2015-08-27 19:36:07 +00:00
Winson 2605900854 Fixing issue with missing scroll bar after fast-scrolling and searching.
- This was due to us not re-attaching the thumb to the scrollbar after
  we scroll the view to the top explicitly without the user scrolling.

Bug: 23562489
Change-Id: I5932b9b3b9358e23c0ec23aa235644b4f27c43ea
2015-08-27 12:30:08 -07:00
Winson ec4845b3b1 Fixing an issue where you would inadvertently start fastscrolling.
- This would happen when you scroll near the thumb and pass through the
  area where the scrollbar was when the gesture started, and this CL
  prevents gestures that move beyond a fixed distance from the original
  touch position that is not already a fastscroll.

Bug: 23561678
Change-Id: I66226777671456a8919503dae4e92164ee10dd6d
2015-08-27 10:19:48 -07:00
Sunny Goyal 862ee52bc3 am 22aa3813: Pending bind callbacks should be cleared before starting the loader, similar to startBinding
* commit '22aa3813f818e46a096fef6490db2a60f2617eb7':
  Pending bind callbacks should be cleared before starting the loader, similar to startBinding
2015-08-27 17:09:02 +00:00
Sunny Goyal 22aa3813f8 Pending bind callbacks should be cleared before starting the loader,
similar to startBinding

Bug: 23310446
Bug: 19422965
Bug: 23304651
Change-Id: I4821b4c0c7796c33ad9691b6735235a220fa635a
2015-08-27 09:54:07 -07:00
Adam Cohen 312d12768f am 6961b365: (-s ours) am 5845d3db: Make Launcher3 a privileged module so it gets the BIND_APPWIDGET permission
* commit '6961b365db65470ba7cacfba0dc50bc86e93b1bd':
2015-08-27 12:16:35 +00:00
Hyunyoung Song c10d140d95 am 2da21e64: (-s ours) am 13ef17a3: (-s ours) merged ub-launcher3-burnaby, and resolved conflicts
* commit '2da21e64592f5016b78d3cc0fb533ded35d12ca3':
2015-08-27 12:16:34 +00:00
Hyunyoung Song 82bf63fbdf am e1d69c9d: (-s ours) resolved conflicts for merge of 13ef17a3 to mnc-dev-plus-aosp
* commit 'e1d69c9d5aa3f359889fc73572a45cb89be2440a':
  resolved conflicts for merge of 13ef17a3 to mnc-dev-plus-aosp
2015-08-27 12:16:33 +00:00
Geoff Mendal af91bfbc04 am 96edc4c8: (-s ours) am e5ec4ac4: (-s ours) Import translations. DO NOT MERGE
* commit '96edc4c8d0e9cf24c59b83157c3d57a47e839e49':
2015-08-27 12:16:32 +00:00
Jun Mukai de6241e086 Fix keyboard focus for opening folder.
Previous patch Ia4ccc59ca27e560e470122d1b2c6c1eccb4caf9a was
reverted due to a weird behavior around folder name editing
with virtual keyboard.
Also, requestFocus() on doneEditingFolderName() did nothing
because the folder itself didn't get the focus at that point.

This CL addresses these issues:
- no change on the descendant focusability. Folder itself is
  focusable before its descendants.
- customize Folder.focusSearch(), so once the folder is focused,
  further focus cycle moves among its descendants.
- Folder requests its focus when it appears. Without this,
  the first arrow-key after opening a folder by touch moves
  the focus to the folder itself, which looks like nothing happened.

Bug: 22562679
Change-Id: I04375bd4cb69d463b9a95bebafa9c60142e95daa
2015-08-26 16:01:00 -07:00
Sunny Goyal 8f531dd988 resolved conflicts for merge of 20884fdc to ub-launcher3-master
Change-Id: I31b49ed83bf6fa966ad68b587e6fa472e87bc0e3
2015-08-25 17:08:57 -07:00
Sunny Goyal 20884fdc8d Merge "Fixing work folder addition logic > Showing animation when folder is added > Not showing animation while cling is visible > Checking is loader completed from UI thread > Running bind complete runnables when bind is completed" into ub-launcher3-burnaby 2015-08-25 23:58:07 +00:00
Winson Chung 0e31c31de7 am a79b18ad: Merge "Fixing widgets container inactive scroll bar color." into ub-launcher3-burnaby
* commit 'a79b18ad36ca9025ac4862c492260a656f61c7cf':
  Fixing widgets container inactive scroll bar color.
2015-08-24 22:50:36 +00:00
Winson Chung a79b18ad36 Merge "Fixing widgets container inactive scroll bar color." into ub-launcher3-burnaby 2015-08-24 22:47:52 +00:00
Winson 08d627566c Fixing widgets container inactive scroll bar color.
Bug: 20035978
Change-Id: Ia267ff8f171f7c4cde00593bd69cf69c1660c431
2015-08-24 15:24:17 -07:00