Winson Chung
0b06875971
Merge "Ensuring that each CacheEntry has a default title and content description." into ub-launcher3-burnaby
2015-05-28 22:48:50 +00:00
Hyunyoung Song
35c3c7f517
Start adding unit tests for the invariant device profile / Refactor
...
- removed redundant code to sort the device profiles
- removed DeviceProfileQuery class
- Added a helper method inside the test to easily generate
interpolation graph looks like:
https://docs.google.com/a/google.com/spreadsheets/d/1a1fdemrOqIDixiql77h0anWzUD3GlYfGsbP2FfIhyPM/edit?usp=sharing
Change-Id: Ia4c54a8d59a049c418c08d1b766f07ac6e1d0944
2015-05-28 15:33:40 -07:00
Vadim Tryshev
25323e9ffc
am 04a9bc4a: Merge "Setting scroll X, Y and related attributes for TYPE_VIEW_SCROLLED event." into ub-launcher3-burnaby
...
* commit '04a9bc4a50dd0d7438d4c3f980c82db5305c2d76':
Setting scroll X, Y and related attributes for TYPE_VIEW_SCROLLED event.
2015-05-28 22:30:29 +00:00
Hyunyoung Song
724719d66e
am eabf77ca: am a14cb230: (-s ours) Merge "Guard against monkey actor test NPE inside FocusHelper b/19626762" into ub-launcher3-almonte
...
* commit 'eabf77ca9621393a0a32e16e7640888de08f1ea9':
Guard against monkey actor test NPE inside FocusHelper b/19626762
2015-05-28 22:30:28 +00:00
Winson Chung
cdefc631f8
Ensuring that each CacheEntry has a default title and content description.
...
- Also defer adding entry to cache until we know that it has correctly loaded
Bug: 21446070
Change-Id: Ia7aae65ecdc5d9d7741f75d3fb6e7b85daeafeff
2015-05-28 15:25:45 -07:00
Vadim Tryshev
04a9bc4a50
Merge "Setting scroll X, Y and related attributes for TYPE_VIEW_SCROLLED event." into ub-launcher3-burnaby
2015-05-28 22:07:56 +00:00
Vadim Tryshev
7066c1235f
Setting scroll X, Y and related attributes for TYPE_VIEW_SCROLLED event.
...
Change-Id: Idec0e333a0d3c3a0c232d3e2240f18174e0ea88c
2015-05-28 15:06:18 -07:00
Hyunyoung Song
eabf77ca96
am a14cb230: (-s ours) Merge "Guard against monkey actor test NPE inside FocusHelper b/19626762" into ub-launcher3-almonte
...
* commit 'a14cb230dad35fc4ad54dae9f5c5d4f71b89ff12':
Guard against monkey actor test NPE inside FocusHelper b/19626762
2015-05-28 22:01:35 +00:00
Vadim Tryshev
5619edf52e
am 8b80baec: Merge "Fixing non-scrolling of workspace view after opening/closing AllApps vew. The reason for non-scrolling was excluding the pages view from the accessibility hierarchy by marking it as non-important. So, I just removed the code manipulating [non]impor
...
* commit '8b80baec0600fc1afa0806218c7eab9863907e96':
Fixing non-scrolling of workspace view after opening/closing AllApps vew. The reason for non-scrolling was excluding the pages view from the accessibility hierarchy by marking it as non-important. So, I just removed the code manipulating [non]importance of the PagedView.
2015-05-28 21:50:59 +00:00
Hyunyoung Song
a14cb230da
Merge "Guard against monkey actor test NPE inside FocusHelper b/19626762" into ub-launcher3-almonte
2015-05-28 21:49:43 +00:00
Hyunyoung Song
89aeda1b78
Guard against monkey actor test NPE inside FocusHelper
...
b/19626762
Change-Id: Icaff5931f4076323855f23e7165b0e78a11241b6
2015-05-28 14:45:59 -07:00
Vadim Tryshev
8b80baec06
Merge "Fixing non-scrolling of workspace view after opening/closing AllApps vew. The reason for non-scrolling was excluding the pages view from the accessibility hierarchy by marking it as non-important. So, I just removed the code manipulating [non]importance of the PagedView." into ub-launcher3-burnaby
2015-05-28 21:42:16 +00:00
Vadim Tryshev
7af0d4474f
Fixing non-scrolling of workspace view after opening/closing AllApps vew.
...
The reason for non-scrolling was excluding the pages view from the
accessibility hierarchy by marking it as non-important. So, I just
removed the code manipulating [non]importance of the PagedView.
However, this would make the PagesView accessibility-focusable, which is
undesirable. It becomes focusable because it supports long clicks in "normal"
mode. Since it doesn't support accessibility long clicks (i.e. Overview mode is
fetched NOT via accessibility long-click), I just disabled accessibility
long-clickability, which made PageView non-focusable, and it started to behave
correctly.
Bug: 21281859
Change-Id: I7ab01e5f39cb37c456c961199c27458c9bda1c3d
2015-05-28 14:33:36 -07:00
Sunny Goyal
f59b3da381
am 58376925: Fixing page background not displayed when dragging from all apps
...
* commit '58376925f9596c23f5c9ffa6c99630dfddcfce9c':
Fixing page background not displayed when dragging from all apps
2015-05-28 19:19:24 +00:00
Sunny Goyal
58376925f9
Fixing page background not displayed when dragging from all apps
...
> Adding empty page synchronously, instead of waiting for a frame
> Changing launcher state from widgets screen in the same frame, similar to all apps
> Removing DragEnforcer, and moving that logic in side the workspace, disabled by a flag
> Using first page to get page bounds in drag layer, as last page may not have been measured
Change-Id: I172ba4e5ce44648ac55402d49994542c6e10f101
2015-05-27 17:50:35 -07:00
Sunny Goyal
802e8e5c84
am 5cc7af12: Merge "Removing file IO used for checking configuration change" into ub-launcher3-burnaby
...
* commit '5cc7af12f10c4bd97bd732305398c7ad6a7fa4ca':
Removing file IO used for checking configuration change
2015-05-28 00:37:12 +00:00
Sunny Goyal
5cc7af12f1
Merge "Removing file IO used for checking configuration change" into ub-launcher3-burnaby
2015-05-28 00:18:01 +00:00
Adam Cohen
bbf39e9a71
am cadc29c7: Merge "Make sure all transition components run on the same thread" into ub-launcher3-burnaby
...
* commit 'cadc29c7e55cc14526878e511a85ae6c9c7e23c7':
Make sure all transition components run on the same thread
2015-05-27 21:32:28 +00:00
Adam Cohen
cadc29c7e5
Merge "Make sure all transition components run on the same thread" into ub-launcher3-burnaby
2015-05-27 21:16:30 +00:00
Adam Cohen
1558893b87
Make sure all transition components run on the same thread
...
-> The framework circular reveal transition runs on the render
thread which can cause problems when mixed in an AnimatorSet
with transitions that don't run on the render thread
-> See issue 17556455
issue 21445293
Change-Id: Ie19c184c55060651e817d426ec83049b06af56ba
2015-05-27 13:55:09 -07:00
Sunny Goyal
c40c6fd39a
am 1740d901: Fixing build breakage
...
* commit '1740d901ff2bbde7590588cdaae57805b24a74d8':
Fixing build breakage
2015-05-27 20:20:35 +00:00
Sunny Goyal
1740d901ff
Fixing build breakage
...
Change-Id: I2d8ac9a92d2da3d6b0f52ff8a6e3683b05663aec
2015-05-27 11:14:01 -07:00
Sunny Goyal
d13787aff8
am 5a1f53b3: Removing SmoothPagedView as all its methods are disabled
...
* commit '5a1f53b306a4fcf56aad577987386ea1b2dfe6b9':
Removing SmoothPagedView as all its methods are disabled
2015-05-27 17:59:25 +00:00
Sunny Goyal
5a1f53b306
Removing SmoothPagedView as all its methods are disabled
...
Change-Id: I83c99bb3d3546693200d64e2233957b4c679e7e6
2015-05-27 10:24:24 -07:00
Geoff Mendal
c900b44135
Import translations. DO NOT MERGE
...
Change-Id: I9bf37fcab15f4b122afa855720103d7962230387
Auto-generated-cl: translation import
2015-05-27 05:14:39 -07:00
Jun Mukai
3132cc9dbd
am bbcf5ac7: Merge "Introduce LauncherSearchCallback to handle search overlay status." into ub-launcher3-burnaby
...
* commit 'bbcf5ac7aa73a3ce07215d77a0b496cf7fb00f29':
Introduce LauncherSearchCallback to handle search overlay status.
2015-05-27 01:31:25 +00:00
Sunny Goyal
d7953c33d4
am d70ad0d0: Fixing workspace scrim not being drawn
...
* commit 'd70ad0d09519975927697604ba38d50883a4d3bf':
Fixing workspace scrim not being drawn
2015-05-27 01:31:24 +00:00
Jun Mukai
bbcf5ac7aa
Merge "Introduce LauncherSearchCallback to handle search overlay status." into ub-launcher3-burnaby
2015-05-27 00:41:29 +00:00
Sunny Goyal
d70ad0d095
Fixing workspace scrim not being drawn
...
Change-Id: Iabafe159a577909396d1602a7eda9c508e95cb71
2015-05-26 17:20:07 -07:00
Sunny Goyal
f0e1fd9938
Removing file IO used for checking configuration change
...
> This check was used for flushing the cache, but since the cache
is backed by a DB, this has no effect as same icons are loaded again
Change-Id: Ib7d8a8598c5d225d922e095c899dc11ad06f2b7a
2015-05-26 09:14:49 -07:00
Geoff Mendal
d494b80ed1
Import translations. DO NOT MERGE
...
Change-Id: I23ab4922e2d6fd7049a095fe1c5d7a580fd679af
Auto-generated-cl: translation import
2015-05-25 07:22:31 -07:00
Adam Cohen
2afff9c97f
am 8f73d703: (-s ours) am c3d4553d: (-s ours) [DO NOT MERGE] Use custom slide-up animation on LMP MR1 instead of system default
...
* commit '8f73d7032e557c6f01a9954a2ec0f386987946e4':
[DO NOT MERGE] Use custom slide-up animation on LMP MR1 instead of system default
2015-05-22 23:33:49 +00:00
Adam Cohen
8f73d7032e
am c3d4553d: (-s ours) [DO NOT MERGE] Use custom slide-up animation on LMP MR1 instead of system default
...
* commit 'c3d4553d462521bc77b719109ea8cf5b5812d471':
[DO NOT MERGE] Use custom slide-up animation on LMP MR1 instead of system default
2015-05-22 23:26:45 +00:00
Adam Cohen
c3d4553d46
[DO NOT MERGE] Use custom slide-up animation on LMP MR1 instead of system default
...
issue 21402755
Change-Id: I87ddef08e7b3134c791f769fc279e62d520cd18c
2015-05-22 16:19:42 -07:00
Sunny Goyal
ab75e98365
am d0ad0711: Merge "Decrease elevation for the reveal view." into ub-launcher3-burnaby
...
* commit 'd0ad0711db96603006aa2a7052bce8976a38ee1d':
Decrease elevation for the reveal view.
2015-05-22 22:35:58 +00:00
Sunny Goyal
d0ad0711db
Merge "Decrease elevation for the reveal view." into ub-launcher3-burnaby
2015-05-22 22:26:41 +00:00
Sunny Goyal
af80285acc
Decrease elevation for the reveal view.
...
> During the end of allApps animation, the shadow suddenly changes from 15dp to 0
Change-Id: I93bcf1220396b2bda3efea7febc2195ef556938b
2015-05-22 15:26:26 -07:00
Hyunyoung Song
d306bbe6c2
am 8f10dc21: Merge "Fix widget tray crash on screen rotation introduced by ag/694693" into ub-launcher3-burnaby
...
* commit '8f10dc21a08b486a07f4805adcce71b2d77d968c':
Fix widget tray crash on screen rotation introduced by ag/694693
2015-05-22 21:57:30 +00:00
Hyunyoung Song
8f10dc21a0
Merge "Fix widget tray crash on screen rotation introduced by ag/694693" into ub-launcher3-burnaby
2015-05-22 21:51:57 +00:00
Hyunyoung Song
9110d485fa
Fix widget tray crash on screen rotation introduced by
...
ag/694693
b/21402209
Change-Id: Idae97fca971d90f5fbba658411491147cb023c8d
2015-05-22 14:49:23 -07:00
Winson Chung
db32044824
am 5f4e0fdd: Moving all apps code into sub package.
...
* commit '5f4e0fdd2e4edeb9211e2dcd1c99497f175731f8':
Moving all apps code into sub package.
2015-05-22 20:49:28 +00:00
Winson Chung
5f4e0fdd2e
Moving all apps code into sub package.
...
- Renaming resources, dimens, etc to be more consistent
- Removing old AppsCustomize resources and other unused code
Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a
2015-05-22 12:21:40 -07:00
Sunny Goyal
04d22ef79a
am c6205603: Creating landscape and portrait device profiles at app initialization
...
* commit 'c6205603efe1f2987caf96504c87d720a25b5a94':
Creating landscape and portrait device profiles at app initialization
2015-05-22 16:57:27 +00:00
Sunny Goyal
c6205603ef
Creating landscape and portrait device profiles at app initialization
...
Change-Id: Ide9d007adc36b348e19b05cdf49e87f8b02db60e
2015-05-22 08:46:41 -07:00
Sunny Goyal
2426fa6fee
am 2805e639: Animating workspace active background change
...
* commit '2805e639cdea6ae0051155611d122ed27556e658':
Animating workspace active background change
2015-05-21 23:50:47 +00:00
Sunny Goyal
2805e639cd
Animating workspace active background change
...
> Removing workspace_overscroll_drawable_padding which is always 0
Change-Id: I89900738371458a6eb7cbfee215d98b267d6a0b0
2015-05-21 16:26:15 -07:00
Sunny Goyal
43c0411a63
am 0a45b58e: Merge "Enabling setWallpaper button only if the image was loaded successfully" into ub-launcher3-burnaby
...
* commit '0a45b58e107b25af41a99d16fc10277ea90f07c0':
Enabling setWallpaper button only if the image was loaded successfully
2015-05-21 23:24:25 +00:00
Adam Cohen
2e79b77e19
am 2e6da153: Refactoring DeviceProfile
...
* commit '2e6da1539bc7286336b3c24d96ab76434939ce4d':
Refactoring DeviceProfile
2015-05-21 23:24:24 +00:00
Sunny Goyal
0a45b58e10
Merge "Enabling setWallpaper button only if the image was loaded successfully" into ub-launcher3-burnaby
2015-05-21 23:19:24 +00:00
Adam Cohen
2e6da1539b
Refactoring DeviceProfile
...
-> Pulling out the parts of device profile which can (and need to be)
initialized and accessed without access to an Activity context,
ie. the invariant bits.
-> The invariant bits are stored in InvariantDeviceProfile which is
initialized statically from LauncherAppState.
-> The DeviceProfile contains the Activity context-dependent bits,
and we will create one of these for each Activity instance, and
this instance is accessed through the Launcher activity.
-> It's possible that we can continue to refactor this such that
all appropriate dimensions can be computed without an Activity
context (by only specifying orientation). This would be an
extension of this CL and allow us to know exactly how launcher
will look in both orientations from any context.
Sets the stage for some improvements around b/19514688
Change-Id: Ia7daccf14d8ca2b9cb340b8780b684769e9f1892
2015-05-21 16:16:40 -07:00