Commit Graph

12321 Commits

Author SHA1 Message Date
Tony Wickham ba75b16099 Merge "Make padding consistent between shortcuts and the app icon." into ub-launcher3-calgary am: ea5bcba847
am: cd7e3d859d

Change-Id: I4af6af2f11c9938bdd1d6caacb6854e6292b7d9c
2016-08-08 21:20:24 +00:00
Tony Wickham d3d9096487 Make padding consistent between shortcuts and the app icon. am: 988e2b7a4d
am: 84af784548

Change-Id: Ic3965ae8730d9629b0f2b90505b5ecd9e8cbcf2a
2016-08-08 21:20:23 +00:00
Tony Wickham cd7e3d859d Merge "Make padding consistent between shortcuts and the app icon." into ub-launcher3-calgary
am: ea5bcba847

Change-Id: Icfdb94eaec6cb3084023ebb40afa8feee5c14cf7
2016-08-08 21:17:52 +00:00
Tony Wickham 84af784548 Make padding consistent between shortcuts and the app icon.
am: 988e2b7a4d

Change-Id: Ib1a194b7b383b991bb0fd4da7c28a52821fbae8c
2016-08-08 21:17:51 +00:00
Tony Wickham ea5bcba847 Merge "Make padding consistent between shortcuts and the app icon." into ub-launcher3-calgary 2016-08-08 21:03:29 +00:00
Sunny Goyal 40afca1f37 Merge "Forcing drag layer to be non accessible. Setting a touch delegate makes a view to become accessible, if its set to auto. This was making drayLayer accessible causing Talkback to speak out every item on the draglayer when window focus changes" into ub-launcher3-calgary
am: dd6bb46232

Change-Id: I29b5e1c3f74a58ca1be341e4be6c4198e991dd4b
2016-08-08 18:10:10 +00:00
Sunny Goyal c47a3b9e3c Forcing drag layer to be non accessible. Setting a touch delegate makes a view to become accessible, if its set to auto. This was making drayLayer accessible causing Talkback to speak out every item on the draglayer when window focus changes
am: 4829a88ed4

Change-Id: Ief42bc46b4e9eb0709b3a58c09e4c62e9b9fa8be
2016-08-08 18:10:09 +00:00
Sunny Goyal dd6bb46232 Merge "Forcing drag layer to be non accessible. Setting a touch delegate makes a view to become accessible, if its set to auto. This was making drayLayer accessible causing Talkback to speak out every item on the draglayer when window focus changes" into ub-launcher3-calgary 2016-08-08 18:00:23 +00:00
Sunny Goyal f289509a16 Fixing potential ConcurrentModificationException
am: 5f06401807

Change-Id: Ia8fc09ac55fdb1e3ea9fa4828f7a4d30a93e9e16
2016-08-08 17:39:24 +00:00
Sunny Goyal 5f06401807 Fixing potential ConcurrentModificationException
mBgDeepShortcutMap is only accessed on the background thread. But
the same instance of list of values was getting passed to the UI
thread, instead of being cloned.

Change-Id: Ie7d0442d895304489ce9323ea872b9091d668ae5
2016-08-08 10:13:33 -07:00
Bill Yi a5e9a761ed Import translations. DO NOT MERGE
am: bdc9f325b6  -s ours

Change-Id: Ic98dbbf379ff42d73a0db7c96283ad5e6c1fe4e5
2016-08-08 13:52:10 +00:00
Bill Yi 0d221d39c5 Import translations. DO NOT MERGE
Change-Id: I4a3d1fd414d50dd077a27893ca9739d43209425d
Auto-generated-cl: translation import
2016-08-07 22:37:49 -07:00
Bill Yi bdc9f325b6 Import translations. DO NOT MERGE
Change-Id: Id2c49f09da28322e551dc6dc5b136cbf0c9bc943
Auto-generated-cl: translation import
2016-08-07 22:37:00 -07:00
Hyunyoung Song a2b7cc38e7 Merge "Pull down should work on search box, even if all apps scroll is not at top. b/30295305" into ub-launcher3-calgary
am: 96c56b3607

Change-Id: I3b6bba49aecb048a4a0ac0add155c2e333239172
2016-08-05 21:21:10 +00:00
Hyunyoung Song 6286a459b4 Pull down should work on search box, even if all apps scroll is not at top. b/30295305
am: 58a9c4b7d2

Change-Id: Idf5d93385390ac8022a9af5804b2d40f0bdeb178
2016-08-05 21:21:09 +00:00
Hyunyoung Song 96c56b3607 Merge "Pull down should work on search box, even if all apps scroll is not at top. b/30295305" into ub-launcher3-calgary 2016-08-05 21:13:08 +00:00
Hyunyoung Song 58a9c4b7d2 Pull down should work on search box, even if all apps scroll is not at top.
b/30295305

Change-Id: I38bbe47d6e33929c550930c9f157c58fbea203ef
2016-08-05 13:57:21 -07:00
Hyunyoung Song 92b6c3a2ed Merge "Fix hotseat flicker when opened all apps in landscape, rotate screen, pull down" into ub-launcher3-calgary
am: 9323bdbb2a

Change-Id: Id4a3d6b965e8d5e9178ef55e94fe5730c4fdefed
2016-08-05 18:56:31 +00:00
Hyunyoung Song a6aab437dc Fix hotseat flicker when opened all apps in landscape, rotate screen, pull down
am: d7d740287f

Change-Id: Ie5f36dee1fd63fc4f5e92c790ae7fff80f8730c3
2016-08-05 18:56:31 +00:00
Hyunyoung Song 9323bdbb2a Merge "Fix hotseat flicker when opened all apps in landscape, rotate screen, pull down" into ub-launcher3-calgary 2016-08-05 18:33:13 +00:00
Tony Wickham 988e2b7a4d Make padding consistent between shortcuts and the app icon.
This change makes the padding consistent regardless of where the app
is (e.g. folder vs workspace vs all apps) by ignoring the app's
padding and adding our own to the shortcuts container.

Also note that this padding is relative to the icon, excluding the
text beneath it. So we also hide the text when the container opens
downwards, and re-show it when the container closes.

Bug: 30604007
Change-Id: I6e51c4983a8b5d495833f86e483ebaa229ed2099
2016-08-05 11:17:42 -07:00
Hyunyoung Song e290505aa0 Merge "Change NavBar to transparent black b/30615471" into ub-launcher3-calgary
am: 0472d496ea

Change-Id: If6ff28a43d6ed53395b1abef39d747415440f9e9
2016-08-05 18:15:32 +00:00
Hyunyoung Song 8e1a9f983d Change NavBar to transparent black b/30615471
am: 4ebc3d070f

Change-Id: I16e91dc100a79a7e2210dd63c098ae324dc03958
2016-08-05 18:15:32 +00:00
Tony Wickham 3c3f4b0f22 Merge "Use shortcut disabled message if available." into ub-launcher3-calgary
am: 37aba27bbc

Change-Id: If5252961f47f281cfe549144b257561e82828e51
2016-08-05 18:15:31 +00:00
Tony Wickham cd352d6712 Use shortcut disabled message if available.
am: 4efffc5ba6

Change-Id: I4faf0908b93e4093d3a9d31a496f1110bb118b54
2016-08-05 18:15:31 +00:00
Hyunyoung Song 0472d496ea Merge "Change NavBar to transparent black b/30615471" into ub-launcher3-calgary 2016-08-05 18:02:14 +00:00
Hyunyoung Song 4ebc3d070f Change NavBar to transparent black
b/30615471

Change-Id: I7885e8a7fd63ee10c9b0107087046730e8acfde9
2016-08-05 10:59:17 -07:00
Tony Wickham 37aba27bbc Merge "Use shortcut disabled message if available." into ub-launcher3-calgary 2016-08-05 17:57:35 +00:00
Tony Wickham 4efffc5ba6 Use shortcut disabled message if available.
Bug: 30681210
Change-Id: Ibb5fd58e5fc9557b63730bc1e3c3977133769466
2016-08-05 10:40:12 -07:00
Sunny Goyal 4829a88ed4 Forcing drag layer to be non accessible.
Setting a touch delegate makes a view to become accessible, if its set to auto.
This was making drayLayer accessible causing Talkback to speak out every item
on the draglayer when window focus changes

Bug: 30670702
Change-Id: Ifcba4c02b124166f9ca69c4244b9d20d7a7acaa5
2016-08-04 17:57:29 -07:00
Tony Wickham e97ce65d0b Reduce distance to start deferred drag from shortcuts to 12dp.
am: 598e184352

Change-Id: Ie584f6eaad9c5f2e03539bc6e05bfbdb117053b5
2016-08-04 23:26:53 +00:00
Hyunyoung Song d7d740287f Fix hotseat flicker when opened all apps in landscape, rotate screen, pull down
b/30595452

Change-Id: Ib634ffbc509c6b16ac58c184ccbca15ae936be14
2016-08-04 15:48:42 -07:00
Tony Wickham 598e184352 Reduce distance to start deferred drag from shortcuts to 12dp.
Change-Id: Ida298760bb66b5894dab94ff4ccaa788c8604661
2016-08-04 15:38:26 -07:00
Tony Wickham 67b967ba4b Merge "Reset mActiveController to null in DragLayer.onInterceptTouchEvent()." into ub-launcher3-calgary
am: 960a7fe15e

Change-Id: I2b490ce6c47bc48c6ca116fcb221d5c55cd53225
2016-08-04 21:43:17 +00:00
Tony Wickham 45f44d6c3b Reset mActiveController to null in DragLayer.onInterceptTouchEvent().
am: 98cbd62e1f

Change-Id: I3522946f6da6c895ccded2da36a6fc5eed0ae178
2016-08-04 21:43:16 +00:00
Tony Wickham 960a7fe15e Merge "Reset mActiveController to null in DragLayer.onInterceptTouchEvent()." into ub-launcher3-calgary 2016-08-04 21:09:29 +00:00
Sunny Goyal 27ac38483d Adding support for updating the pinned shortcuts without updating the ID map
am: 50941fb8a6

Change-Id: I324cb483837f2d9952eb6a38f4513a8f0fb90915
2016-08-04 19:39:42 +00:00
Sunny Goyal 50941fb8a6 Adding support for updating the pinned shortcuts without updating
the ID map

Bug: 30654182
Change-Id: I30082bd87466a29b7bafe1e8cbf1446e1d1e4f3e
2016-08-04 12:32:11 -07:00
Tony Wickham 98cbd62e1f Reset mActiveController to null in DragLayer.onInterceptTouchEvent().
Otherwise the previous active controller will continue to handle touch
events even if it doesn't re-intercept future touches. For instance,
All Apps was handling the swipe gesture after DragLayer intercepted to
close a shortcuts container, which led to the weird behavior described
in the bug.

Bug: 30590854
Change-Id: I247b39b03d336a04659f6ce644380bf3cef8de3f
2016-08-04 11:52:18 -07:00
Winson 2b7742f110 Merge "Prevent refreshing app search results with empty query." into ub-launcher3-calgary
am: 49a1ab9006

Change-Id: If077eca553544ab85adf707d8fba629430e8bcc9
2016-08-04 17:18:00 +00:00
Winson c6cd2519ce Prevent refreshing app search results with empty query.
am: 45a11dd9ee

Change-Id: I43eb2e8b1b70dfa6ba389c5c082e729fdd53199a
2016-08-04 17:17:59 +00:00
Winson Chung 49a1ab9006 Merge "Prevent refreshing app search results with empty query." into ub-launcher3-calgary 2016-08-04 17:12:27 +00:00
Bill Yi 4ec5f98d7c Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
am: ce231c53ba  -s ours

Change-Id: Ibdac423b28937e93bb83eeea5b63962b9c3fca6c
2016-08-04 09:43:33 +00:00
Bill Yi bdeebbb943 Import translations. DO NOT MERGE
am: edd583d6cd  -s ours

Change-Id: I35f5bdfbed56c4d969f98962ff1b4174554704ae
2016-08-04 09:43:32 +00:00
TreeHugger Robot de08ee3a71 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-08-04 09:25:13 +00:00
TreeHugger Robot ce231c53ba Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary 2016-08-04 09:25:09 +00:00
Winson 45a11dd9ee Prevent refreshing app search results with empty query.
- Any change to the TextView text will cause mQuery to be set,
  which will cause a new search next time refreshSearchResult
  is called.  We should also be checking there if it is a valid
  search query before starting a new search.

Bug: 30606307
Change-Id: I08640c56199211f2aeea2386fcf699810853ab58
2016-08-03 18:01:10 -07:00
Hyunyoung Song 1898b2c194 Merge "Change interpolation logic to all apps transitioning on fling b/30486958" into ub-launcher3-calgary
am: 5a5eb846c4

Change-Id: I13658dc9bbf86d2b5a786dd4d9788339aeae4d41
2016-08-03 22:35:53 +00:00
Hyunyoung Song 8c9d90274f Change interpolation logic to all apps transitioning on fling b/30486958
am: 191e9d1b29

Change-Id: Ibc1df8706af6a1c686fa05fcb62994810c76d988
2016-08-03 22:35:52 +00:00
Hyunyoung Song 5a5eb846c4 Merge "Change interpolation logic to all apps transitioning on fling b/30486958" into ub-launcher3-calgary 2016-08-03 22:28:30 +00:00