Commit Graph

78507 Commits

Author SHA1 Message Date
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
Winson Chung 79423d8227 am 944bfab0: Merge "Making the detached scrollbar catch up faster to the actual scroll position." into ub-launcher3-burnaby
* commit '944bfab018a2933a046a5661a244daf605d8d5c7':
  Making the detached scrollbar catch up faster to the actual scroll position.
2015-08-24 20:35:39 +00:00
Winson Chung 944bfab018 Merge "Making the detached scrollbar catch up faster to the actual scroll position." into ub-launcher3-burnaby 2015-08-24 20:30:09 +00:00
Winson 51a7d96544 Making the detached scrollbar catch up faster to the actual scroll position.
Bug: 20035978
Change-Id: I4f9780e1c5c1d10a7956ece729163544d79d72c3
2015-08-24 12:28:16 -07:00
Sunny Goyal 0038ac1baf am bcbc2ec2: Merge "Removing call to isButtonPressed as its only Lollipop and above" into ub-launcher3-burnaby
* commit 'bcbc2ec2cd2673b5fca40f8458f75a7712410dda':
  Removing call to isButtonPressed as its only Lollipop and above
2015-08-24 17:20:59 +00:00
Sunny Goyal bcbc2ec2cd Merge "Removing call to isButtonPressed as its only Lollipop and above" into ub-launcher3-burnaby 2015-08-24 17:15:01 +00:00
Sunny Goyal 6cfe5fcd8a Updating overview buttons click feedback
> Using xml bitmap for changing alpha, instead of a new bitmap
  > using state list animator, which changes the alpha of the
    whole view, and not just the icon

Change-Id: I2dda9bfba390a24a83b162c3cf4bcb9a0865f4c2
2015-08-24 17:09:34 +00:00
Mady Mellor aca16cd0f7 Merge "Refactor StylusEventHelper to provide onButtonPress/Release methods" into ub-launcher3-master 2015-08-21 18:45:43 +00:00
Sunny Goyal 04d348aada am dd306188: Updating theme to use the light theme by default, instead of wallpaper theme > This allows us to use all the goodness of material theme > Cursor in folder edit text is no longer 1px wide
* commit 'dd306188a6e8b4d00b8ef0ab402589c92802f04b':
  Updating theme to use the light theme by default, instead of wallpaper theme   > This allows us to use all the goodness of material theme   > Cursor in folder edit text is no longer 1px wide
2015-08-21 18:20:11 +00:00
Mady Mellor bb83520a62 Refactor StylusEventHelper to provide onButtonPress/Release methods
This will enable an easier migration to the new M APIs for identifying
button presses from stylus / other tools.

Bug: 20430722
Change-Id: I41cfa6eff8d76bb83cf1bdaf6623ec1092ed554c
2015-08-21 11:18:14 -07:00
Sunny Goyal 6e830eb302 Merge "Removing multi_process access to shared preferences" into ub-launcher3-master 2015-08-21 18:13:13 +00:00
Sunny Goyal 21bf531499 Removing multi_process access to shared preferences
Change-Id: If802245632c30d4f383013203fb2e0349ebc14fe
2015-08-21 11:08:24 -07:00
Sunny Goyal dd306188a6 Updating theme to use the light theme by default, instead of wallpaper theme
> This allows us to use all the goodness of material theme
  > Cursor in folder edit text is no longer 1px wide

Change-Id: I705f5472ff71969ae45747dd127a8ba5253df44d
2015-08-21 10:03:15 -07:00
Sunny Goyal 6f326e95a0 am 93adff28: Merge "Using the usermanager api to get creation time" into ub-launcher3-burnaby
* commit '93adff28ed9b6bf06eba97c1266b3fb911eca6a0':
  Using the usermanager api to get creation time
2015-08-21 16:47:09 +00:00
Sunny Goyal 0b15838462 am 830b5e08: Updating the target sdk to launcher
* commit '830b5e08ef8ccc8e4193926ac10ac38cb0ae3e56':
  Updating the target sdk to launcher
2015-08-21 16:47:08 +00:00
Sunny Goyal 93adff28ed Merge "Using the usermanager api to get creation time" into ub-launcher3-burnaby 2015-08-21 16:41:50 +00:00
Sunny Goyal 830b5e08ef Updating the target sdk to launcher
Change-Id: Icf8e22f6ceb57dcd4e101b8b1d3ae86c52d12b30
2015-08-21 09:26:10 -07:00
Sunny Goyal ad0c2f28ce Using the usermanager api to get creation time
Bug: 22539048
Change-Id: I17647f2456434ca66a9778300e1a2910cec171d4
2015-08-21 09:24:01 -07:00
Sunny Goyal 3e162877b1 Merge "Revert "Specifies descendantFocusability to Folder view."" into ub-launcher3-master 2015-08-21 06:06:54 +00:00