Commit Graph

49925 Commits

Author SHA1 Message Date
Rahul Chaturvedi 799aa04f2f Use a broadcast receiver instead of a settings observer.
Settings observer doesn't work if a setting is modified in another
process, hence we instead register a receiver which listens for a signal
from the settings process that the rotation preference has changed.

Change-Id: I570e3c67bb64a32347e84ca00a8ac31d9010eac3
2015-06-04 19:17:23 -04:00
Sunny Goyal 3282c8399c am 091f0ffd: Updating widget list when iconCache updates
* commit '091f0ffd929f7a0a9a6af7d202eae13c48c07daa':
  Updating widget list when iconCache updates
2015-06-04 22:30:03 +00:00
Sunny Goyal 091f0ffd92 Updating widget list when iconCache updates
> Fixing bug where items were not getting removed from the memcache
> Fixing bug where package entries were not getting removing because
of component mismatch.

Bug: 21612532
Change-Id: Ie56f3272f7fb7e1a37c5ff9bfa523d814edc1a02
2015-06-04 15:21:23 -07:00
Sunny Goyal 8e2b5a4d12 am a56eab41: Merge "Adding back icon size dimen" into ub-launcher3-burnaby
* commit 'a56eab41fbfe26b185cc8240d50d231d0db41837':
  Adding back icon size dimen
2015-06-04 19:43:34 +00:00
Sunny Goyal a56eab41fb Merge "Adding back icon size dimen" into ub-launcher3-burnaby 2015-06-04 19:37:51 +00:00
Sunny Goyal a5be3ccb53 Adding back icon size dimen
Bug: 21638256
Change-Id: I522a8e59e63e4a49a087e4fb3aac102595ea6818
2015-06-04 19:37:01 +00:00
Hyunyoung Song 1dbe8781bc am 7b3bdcd6: Merge "Consistent scrolling experience for All apps and widget tray" into ub-launcher3-burnaby
* commit '7b3bdcd6bbed929ac9492230afe8bc650a936107':
  Consistent scrolling experience for All apps and widget tray
2015-06-04 18:47:42 +00:00
Hyunyoung Song 7b3bdcd6bb Merge "Consistent scrolling experience for All apps and widget tray" into ub-launcher3-burnaby 2015-06-04 18:39:44 +00:00
Hyunyoung Song ec84728b27 Consistent scrolling experience for All apps and widget tray
b/21375339

Change-Id: I8362b3ca94b7c4e75932d42cd09a989e0e3919c0
2015-06-04 11:37:46 -07:00
Sunny Goyal 3dd300f749 am 53d7ee42: Fixing different bitmap sizes in different orientations
* commit '53d7ee4285842732517edcccbdcaa92dccb1e107':
  Fixing different bitmap sizes in different orientations
2015-06-04 17:28:53 +00:00
Sunny Goyal 53d7ee4285 Fixing different bitmap sizes in different orientations
> Using a single bitmap icon size
> Picking up appropriate density for satisfy the required icon size
> Fixing some icon size assumptions during icon animations

Bug: 19514688
Change-Id: Ia7a1d0d2c03a9d39ccc241fa4ae3eb8a0f374585
2015-06-03 19:07:44 -07:00
Winson Chung a48ff81891 am f4fe7fc5: Merge "Fixing issue with hotseat being on the wrong side of the screen in RTL." into ub-launcher3-burnaby
* commit 'f4fe7fc5449bbfcfa7e95c7f9040c81d833a1fdb':
  Fixing issue with hotseat being on the wrong side of the screen in RTL.
2015-06-03 19:14:46 +00:00
Winson Chung f4fe7fc544 Merge "Fixing issue with hotseat being on the wrong side of the screen in RTL." into ub-launcher3-burnaby 2015-06-03 19:03:13 +00:00
Winson Chung f8c6f885f0 Fixing issue with hotseat being on the wrong side of the screen in RTL.
Bug: 21499466

Change-Id: I566cd89dfb855f89f4e68bf56e48bf99204b11ab
2015-06-03 11:42:15 -07:00
Geoff Mendal dfee21c589 Import translations. DO NOT MERGE
Change-Id: Ic60902ab9fada753b651f0e5969d136e712b4a05
Auto-generated-cl: translation import
2015-06-03 13:35:59 -05:00
Mady Mellor 98ddf40f27 am 5dd1487d: Merge "Stylus support: handling drag n drop for widgets" into ub-launcher3-burnaby
* commit '5dd1487da69062a0f40743d7a8df042440b85e9a':
  Stylus support: handling drag n drop for widgets
2015-06-03 16:57:22 +00:00
Mady Mellor 5dd1487da6 Merge "Stylus support: handling drag n drop for widgets" into ub-launcher3-burnaby 2015-06-03 16:46:43 +00:00
Mady Mellor 45a0557eb9 am 19b1bad2: Merge "Stylus support: creating and setting listeners for stylus button press" into ub-launcher3-burnaby
* commit '19b1bad23904a899bd9dc56bf9e2e827619164b1':
  Stylus support: creating and setting listeners for stylus button press
2015-06-03 16:33:07 +00:00
Mady Mellor 19b1bad239 Merge "Stylus support: creating and setting listeners for stylus button press" into ub-launcher3-burnaby 2015-06-03 16:26:35 +00:00
Geoff Mendal 8fcc468f74 Import translations. DO NOT MERGE
Change-Id: Id217ecb07314a1aa76c737fde0007e9c7f577d70
Auto-generated-cl: translation import
2015-06-03 08:56:30 -07:00
Winson Chung 07879b6db3 am ca51aaad: Merge "Adding context for app launches." into ub-launcher3-burnaby
* commit 'ca51aaad671f1999dff135b1253fecf0869a3763':
  Adding context for app launches.
2015-06-03 00:04:31 +00:00
Winson Chung ca51aaad67 Merge "Adding context for app launches." into ub-launcher3-burnaby 2015-06-02 23:59:43 +00:00
Winson Chung 8f1eff7b6c Adding context for app launches.
Bug: 21492784
Change-Id: I1b28ac8f44498e1d9770e770b074f19c721c3f10
2015-06-02 16:58:30 -07:00
Mady Mellor ef044dd380 Stylus support: creating and setting listeners for stylus button press
This updates almost(*) all locations that use a long press listener to
also set a custom touch listener that recognizes the stylus button press
action.

The stylus button press action is: when a stylus touches a view while the
primary stylus button is pressed which may occur on a DOWN or MOVE event.

*The location this is *not* enabled for is: Longpress to enter "overview"
mode -- this isn't really a selection or drag n drop action; it is also
easy to accidentally do this while using the stylus gesture to drag n drop
items which is not an ideal interaction. Also not set for the "cling" that
demonstrates this.

Bug: 20430722
Change-Id: I9343f143261a7b4fada9afca28b8a11a60dbecca
2015-06-02 15:35:07 -07:00
Sunny Goyal 5b9ebcab3c Fixing preloaded widget not getting used for animation
> The preloaded widget was being set in a different instance of
PendingAddWidgetInfo and was never getting used for animation.

bug: 20699153
Change-Id: Iaec13640e49c66993b4695e4a52dc3a3a2133fb2
2015-06-02 15:20:03 -07:00
Mady Mellor 770f7c5907 Stylus support: handling drag n drop for widgets
This alters the widget host view code to consider stylus button presses
allowing the user to pick up widgets with a stylus button press, and drop
them by releasing the button.

Bug: 20430722
Change-Id: I359f72bd80016f4b313aab1325cc92d7c6fd2a8c
2015-06-02 15:02:36 -07:00
Winson Chung 655856aca4 am 59caa602: Remove use of API level 19 classes.
* commit '59caa60222e55212c13110ca0890023b47356fa5':
  Remove use of API level 19 classes.
2015-06-02 18:41:02 +00:00
Winson Chung 59caa60222 Remove use of API level 19 classes.
Bug: 21583308
2015-06-02 18:31:01 +00:00
Sunny Goyal befa7012ab am 316490e6: Removing some synthetic method creation
* commit '316490e636aad788fcfbfc2e04dd4f0e145bdd00':
  Removing some synthetic method creation
2015-06-02 17:14:53 +00:00
Sunny Goyal 316490e636 Removing some synthetic method creation
> Make package-private and @Thunk all private methods and constructors accessed from inner classes.

Change-Id: Ie5913860a0c33e48e9bf68f9b5b1699f64c2f174
2015-06-02 10:04:59 -07:00
Sunny Goyal 6ff6f6d649 Removing unused animation style
Change-Id: Ib8031eb9604cb2c10d4ac07e22b94772f7967a89
2015-06-01 22:02:54 -07:00
Sunny Goyal ff253c2934 am c1cd23b4: Build fix: Removing FastOutSlowIn interpolator
* commit 'c1cd23b4a7744105c124c4d9f642134b5f49694f':
  Build fix: Removing FastOutSlowIn interpolator
2015-06-02 00:40:41 +00:00
Sunny Goyal c1cd23b4a7 Build fix: Removing FastOutSlowIn interpolator
Change-Id: Ia84445285d013fe8da3c895f5264f329f2403890
2015-06-01 17:16:22 -07:00
Sunny Goyal a82f3e1e19 am a07c2f5c: Folder UI fixes
* commit 'a07c2f5c80908e8a612f4681314a7068b92baa9f':
  Folder UI fixes
2015-06-01 23:26:46 +00:00
Sunny Goyal a07c2f5c80 Folder UI fixes
> Fixing top padding (b/21304523)
> Alinging the label and page indicators to the icons
> Fixing folder label alingment in RTL (b/21445821)
> Updating footer animation (b/21336853)

Bug: 21304523, 21445821, 21336853
Change-Id: I2cf3a48c76653b19437b31252d6ee559ce798094
2015-06-01 16:15:54 -07:00
Winson Chung 4de3dedd8f am 761e820a: Enabling resumeWhilePausing for the Launcher activity.
* commit '761e820ae2b5482d1bece87e25525fcd17e23a8a':
  Enabling resumeWhilePausing for the Launcher activity.
2015-06-01 23:06:13 +00:00
Sunny Goyal 2d2c511d2d am 5683f871: Adding an asynchronous search interface for apps search
* commit '5683f871722254e4e357cf3fb77cd28156278e51':
  Adding an asynchronous search interface for apps search
2015-06-01 23:06:11 +00:00
Winson Chung 761e820ae2 Enabling resumeWhilePausing for the Launcher activity.
Bug: 21342101
2015-06-01 23:04:33 +00:00
Sunny Goyal 5683f87172 Adding an asynchronous search interface for apps search
Change-Id: Ib09df0a3d587dc60ed888ddbd0edf058e4a1cc3e
2015-06-01 15:58:29 -07:00
Winson Chung 3f35fd0634 am dd5814c4: Fixing crash on tablets from merging scheme changes.
* commit 'dd5814c471c316091f59febcffedb8d58d693492':
  Fixing crash on tablets from merging scheme changes.
2015-06-01 22:51:56 +00:00
Winson Chung dd5814c471 Fixing crash on tablets from merging scheme changes. 2015-06-01 22:43:32 +00:00
Rahul Chaturvedi 29ed6af7a9 am e4ca4a9c: Merge "Add the Allow Rotation setting to Launcher3." into ub-launcher3-burnaby
* commit 'e4ca4a9ca16d3007f44e3ef30dbeacd20815b402':
  Add the Allow Rotation setting to Launcher3.
2015-06-01 21:03:43 +00:00
Winson Chung 9ad4e9916f am 51b1c839: Avoid merging app sections across scripts.
* commit '51b1c83946b390eb0861a899e26f77319c3f45ad':
  Avoid merging app sections across scripts.
2015-06-01 21:03:43 +00:00
Rahul Chaturvedi e4ca4a9ca1 Merge "Add the Allow Rotation setting to Launcher3." into ub-launcher3-burnaby 2015-06-01 20:56:15 +00:00
Rahul Chaturvedi 7fc77cad3d Add the Allow Rotation setting to Launcher3.
This CL adds a Settings activity along with the code needed to provide
a "Allow Rotation" setting to all phones and tablets. This setting is
set to false for phones and true for tablets. On changing the setting
from unlocked to locked, the launcher (and the Settings activity)
will get locked to the orientation the user was in when he disabled
"Allow Rotation". This is consistent with how the natural rotation
feature of Android works.

Change-Id: I8a1c59d1fa0bb9262530cad96e0a9bdbab0d9344
2015-06-01 16:50:50 -04:00
Winson Chung 51b1c83946 Avoid merging app sections across scripts.
Bug: 20222023
Change-Id: I171d75a33694fc2cb347a32cff209f64fe3bf7c3
2015-06-01 13:25:31 -07:00
Winson Chung 657b884df2 am 585b764a: Merge "Revert "Avoid merging sections across scripts."" into ub-launcher3-burnaby
* commit '585b764ae24c7869704c428d1739e151e989674d':
  Revert "Avoid merging sections across scripts."
2015-06-01 19:28:13 +00:00
Winson Chung 585b764ae2 Merge "Revert "Avoid merging sections across scripts."" into ub-launcher3-burnaby 2015-06-01 19:20:49 +00:00
Winson Chung 1612d110b6 Revert "Avoid merging sections across scripts."
This reverts commit 595395d84f.

Change-Id: I44913141f6cb3af29b4509d6b7c317247d1f24c9
2015-06-01 19:20:23 +00:00
Winson Chung 27b0a95299 am d6850edf: Merge "Avoid merging sections across scripts." into ub-launcher3-burnaby
* commit 'd6850edf87c34134fa3a4c6145e221d7dc0f9d70':
  Avoid merging sections across scripts.
2015-06-01 18:35:24 +00:00