OSDN Git Service
Jon Miranda [Mon, 12 Dec 2016 23:43:18 +0000 (15:43 -0800)]
Resize widget frame now wraps the scaled widget view.
Previous implementation had space between the frame and
the widget ie. letterboxing.
Bug:
32176631
Change-Id: Ie50279f4edb94812120dea492aefa4f18218162f
Hyunyoung Song [Mon, 12 Dec 2016 22:51:06 +0000 (22:51 +0000)]
Merge "nav bar on all apps container should use light theme. b/
33553066 Change-Id: Ic9eb796a01eaa8d00fbeedeb5456876b668e6db2" into ub-launcher3-master
Hyunyoung Song [Fri, 9 Dec 2016 21:56:15 +0000 (13:56 -0800)]
nav bar on all apps container should use light theme.
b/
33553066
Change-Id: Ic9eb796a01eaa8d00fbeedeb5456876b668e6db2
Sunny Goyal [Mon, 12 Dec 2016 22:20:36 +0000 (22:20 +0000)]
Merge "Adding a generic method to initiate overridable objects" into ub-launcher3-master
Tony Wickham [Mon, 12 Dec 2016 22:17:02 +0000 (22:17 +0000)]
Merge "Move icon back to original cell if a quick drag would cause reorder." into ub-launcher3-master
TreeHugger Robot [Mon, 12 Dec 2016 22:02:55 +0000 (22:02 +0000)]
Merge "Lower the transition threshold for dropping on Workspace." into ub-launcher3-master
Tony Wickham [Sat, 3 Dec 2016 02:54:32 +0000 (18:54 -0800)]
Lower the transition threshold for dropping on Workspace.
Old threshold: 0.5f
New threshold: 0.25f
The threshold is used when dragging to Workspace from any
drag source other than Workspace, including Hotseat. This
lowered threshold is more forgiving for faster drags.
Bug:
33210055
Change-Id: Ic121fb4b7caa3ea66abb48a8a3f3bd36f3365749
Tony Wickham [Mon, 12 Dec 2016 21:03:24 +0000 (21:03 +0000)]
Merge "Allow long-press on workspace immediately after dropping." into ub-launcher3-master
Tony Wickham [Fri, 2 Dec 2016 22:47:04 +0000 (14:47 -0800)]
Allow long-press on workspace immediately after dropping.
Previously the touch was consumed until the transition from
spring-loaded to normal workspace finished, leading long
presses to trigger on the background rather than on apps.
This made it difficult to move multiple icons consecutively.
Bug:
29631912
Change-Id: I259e618c81f56bc40d08a5d63ddbbf3c82a76baf
Sunny Goyal [Mon, 12 Dec 2016 20:45:17 +0000 (20:45 +0000)]
Merge "Defining various modes for CellLayout: Workspace, Hotseat & Folder" into ub-launcher3-master
Sunny Goyal [Mon, 12 Dec 2016 17:16:45 +0000 (17:16 +0000)]
Merge "Adding support for app widgets in the InstallQueue" into ub-launcher3-master
Sunny Goyal [Fri, 2 Dec 2016 13:59:43 +0000 (19:29 +0530)]
Adding a generic method to initiate overridable objects
Change-Id: Ia433427c65ad38804f2eed9c6bc209df232758c0
Sunny Goyal [Thu, 8 Dec 2016 17:59:25 +0000 (09:59 -0800)]
Adding support for app widgets in the InstallQueue
Bug:
32904959
Change-Id: I0d07a0c59d266493ae30a42579c1fa69b805009e
Hyunyoung Song [Thu, 8 Dec 2016 23:05:33 +0000 (23:05 +0000)]
Merge "Build empty test apk until junit dependency issue is sorted out." into ub-launcher3-master
Hyunyoung Song [Thu, 8 Dec 2016 22:58:44 +0000 (14:58 -0800)]
Build empty test apk until junit dependency issue is sorted out.
Change-Id: Ib63a654139e43c433011d0f7b761905426aff24d
Tony Wickham [Thu, 8 Dec 2016 22:27:40 +0000 (22:27 +0000)]
Merge "Set PreloadIconDrawable disabled = false when restore is complete" into ub-launcher3-master
Tony Wickham [Thu, 8 Dec 2016 19:41:22 +0000 (11:41 -0800)]
Set PreloadIconDrawable disabled = false when restore is complete
This ensures that it regains its color rather than remaining gray.
Bug:
33429398
Change-Id: Ic073570613aa01f061f0f3093cf05ee74332ae8a
Jonathan Miranda [Thu, 8 Dec 2016 18:43:17 +0000 (18:43 +0000)]
Merge "Scale widgets when dragging and dropping in multi-window mode." into ub-launcher3-master
Jon Miranda [Mon, 5 Dec 2016 20:04:44 +0000 (12:04 -0800)]
Scale widgets when dragging and dropping in multi-window mode.
This change mimics the non-MW mode behavior when dragging and
dropping widgets by taking the app widget scale into consideration.
This ensures a consistant drag and drop experience between
MW mode and non-MW mode.
* Uses cell data (cell height/width, spanX/Y) to get the expected
widget sizes.
* Scales sizes when necessary.
Bug:
32176631
Change-Id: Icdaf73ecd89a30e57fe7f405292d793f2d6a3ee8
Sunny Goyal [Thu, 8 Dec 2016 00:46:10 +0000 (00:46 +0000)]
Merge "Simplifyling widget inflation and addition flow." into ub-launcher3-master
Sunny Goyal [Thu, 8 Dec 2016 00:36:24 +0000 (00:36 +0000)]
Merge "Adding support for deep shortcuts in Install queue" into ub-launcher3-master
Sunny Goyal [Sat, 12 Nov 2016 17:58:29 +0000 (09:58 -0800)]
Adding an overridable DrawableFactory to allow creating custom icon drawables
> Adding ItemInfo as a parameter for creating drawable
Change-Id: I793acb0381d2b8df4db0a08317dddf1464788ebc
Sunny Goyal [Tue, 22 Nov 2016 11:22:39 +0000 (16:52 +0530)]
Simplifyling widget inflation and addition flow.
> Removing insert parameter used to select the index of the view.
ShortcutAndWidgetContainer no longet relies on the index and instead
uses x and y to refer a particulat view.
> Creating helper methods to easily insert the icon by passing ItemInfo
directly. LauncherModel.addItemToDatabase synchronously updates the
ItemInfo with proper postion information. So we can directly use the
info instead of passing each parameter separately.
Bug:
32904959
Change-Id: I021c1b818f2f42604b95a6970e06aacc7211292a
Tony Wickham [Wed, 7 Dec 2016 00:24:43 +0000 (16:24 -0800)]
Move icon back to original cell if a quick drag would cause reorder.
Most likely the user accidentally dragged the icon, so let's not
rearrange their home screen.
Bug:
30378199
Change-Id: I815a0817bca3b0d212324a58842b1f59dfdf0b91
Tony Wickham [Wed, 7 Dec 2016 01:11:35 +0000 (17:11 -0800)]
Fix for mTransitionProgress not being updated throughout animation.
Change-Id: I8f792794b7bc6edff081383b5a0a74af04a744ad
Sunny Goyal [Mon, 21 Nov 2016 21:53:51 +0000 (03:23 +0530)]
Adding support for deep shortcuts in Install queue
Bug:
32904959
Change-Id: Ida43bcf78da716defdf95eb704c31973bc390ea1
Sunny Goyal [Wed, 30 Nov 2016 17:50:01 +0000 (17:50 +0000)]
Merge "Bug fix: QSB sometimes gets stuck to transparent." into ub-launcher3-master
Sunny Goyal [Wed, 30 Nov 2016 16:42:30 +0000 (16:42 +0000)]
Merge "Moving ShortcutInfo creation in InstallShortcutReceiver to background thread" into ub-launcher3-master
Sunny Goyal [Wed, 16 Nov 2016 17:23:42 +0000 (09:23 -0800)]
Moving ShortcutInfo creation in InstallShortcutReceiver to background thread
> Creating shortcut info requires iconCache access
Bug:
21325319
Change-Id: I3317d8b6824aa05b836f3ed3626f169d4d34f783
Sunny Goyal [Wed, 30 Nov 2016 00:10:06 +0000 (00:10 +0000)]
Merge "Fixing wrong message sent on app widget host reset" into ub-launcher3-master
Sunny Goyal [Tue, 29 Nov 2016 01:55:49 +0000 (07:25 +0530)]
Fixing wrong message sent on app widget host reset
Change-Id: If5842d4ebbf3fa0ef8596f22788f909748f01ac5
Sunny Goyal [Thu, 24 Nov 2016 01:16:50 +0000 (06:46 +0530)]
Bug fix: QSB sometimes gets stuck to transparent.
At some places, we were calling removeAllListeners before calling cancel
on an animation. AnimationListeners are also used to track states, and
removing listeners before canceling will prevent onAnimationEnd to be
called, thus preventing state cleanup.
PinchAnimationManager was causing ZeroAlphaAnimatorListener to be removing
from Qsb alpha animation, making the MultiStateAlphaController think there
is a zeroAlpha animation running.
> Removing all instances of removeAllListeners
> Updating various affected listeners to handle onAnimatinoCancel
> Fixing WorkspaceStateTransitionAnimation, which was animation QSB alpha
on page scroll index
Bug:
31910152
Change-Id: Ie7f31b67d4c502badcdd41f7b04867d1f35f5d27
Jon Miranda [Tue, 22 Nov 2016 00:18:46 +0000 (16:18 -0800)]
Scale widgets in multi-window mode.
To keep this CL small and focused, I'm going to create
a separate CL that handles the scaling for the widget in
drag and drop mode.
Bug:
32176631
Change-Id: Id6557d070edb664aa1f4851de7abf494cf8a0677
Jon Miranda [Thu, 6 Oct 2016 17:53:29 +0000 (10:53 -0700)]
Added logging for HOME_INTENT and BACK commands.
Document: go/false-longpress-overview
Change-Id: If6ba4996c861a44f4950b41acb4246e3a483d8f2
Hyunyoung Song [Mon, 21 Nov 2016 19:48:08 +0000 (19:48 +0000)]
Add logging for workspace rearrangement in overview mode
am:
0d4899026c
Change-Id: Ie6569ecafdd63981e167a910f852a8133697ae81
Sunny Goyal [Mon, 21 Nov 2016 17:07:05 +0000 (17:07 +0000)]
Merge "Changing DeepShortcutManager to have a singleton contructor instead of getting it from LauncherAppState" into ub-launcher3-master
Sunny Goyal [Mon, 21 Nov 2016 17:02:10 +0000 (17:02 +0000)]
Merge "Adding a utility class to enforce that icons are always flattened on the background thread." into ub-launcher3-master
Sunny Goyal [Mon, 21 Nov 2016 10:32:39 +0000 (16:02 +0530)]
Changing DeepShortcutManager to have a singleton contructor instead
of getting it from LauncherAppState
This follows the design of other managers and makes it easier to access it
from other processes and non-ui thread.
Bug:
33032833
Change-Id: I8ad82ae5b6cc47bae885f9896985675c7dd0d5b8
Sunny Goyal [Sat, 19 Nov 2016 07:44:48 +0000 (23:44 -0800)]
Defining various modes for CellLayout: Workspace, Hotseat & Folder
> Moving the definition of modes to xml
> Defining attributes in xml
Change-Id: I7a569fdbeb833d569eeeef2f2cbc8214e608ad11
Sunny Goyal [Sun, 20 Nov 2016 09:56:01 +0000 (15:26 +0530)]
Removing widgetGap and heightGap from cellLayout
This values are always set to 0
Change-Id: Ic317efdc65baa22e915f4766c60c67c116bb94a8
Sunny Goyal [Fri, 11 Nov 2016 19:45:00 +0000 (11:45 -0800)]
Adding a utility class to enforce that icons are always flattened on
the background thread.
Bug:
21325319
Change-Id: I4d0f02557cdbf70cfa86750ac047faf2917e39bf
Sunny Goyal [Fri, 18 Nov 2016 01:17:51 +0000 (01:17 +0000)]
Merge "Moving saving state transtion listener logic to individual views" into ub-launcher3-master
Sunny Goyal [Thu, 17 Nov 2016 22:41:34 +0000 (22:41 +0000)]
Merge "Fixing item check when user is enabled/disabled" into ub-launcher3-master
Hyunyoung Song [Thu, 17 Nov 2016 20:23:33 +0000 (12:23 -0800)]
Add logging for workspace rearrangement in overview mode
b/
32457561
Change-Id: Ic38fbd540616a74f26c19a09ab4247fe8f9174b4
Jonathan Miranda [Wed, 16 Nov 2016 16:31:20 +0000 (16:31 +0000)]
Merge "Add bottom padding to hotseat in multi-window mode." into ub-launcher3-master
Sunny Goyal [Wed, 16 Nov 2016 01:27:15 +0000 (17:27 -0800)]
Fixing item check when user is enabled/disabled
Bug:
32747950
Change-Id: I278cbd7626ee30be6b803d617cf05f8359e5d940
Hyunyoung Song [Wed, 16 Nov 2016 00:18:08 +0000 (00:18 +0000)]
Make Launcher3 privileged module am:
7810d4bfa9
am:
fb9fe7c157
Change-Id: I8cc95fd91df275defcc90b222be9ac166f98618d
Hyunyoung Song [Wed, 16 Nov 2016 00:11:06 +0000 (00:11 +0000)]
Make Launcher3 privileged module
am:
7810d4bfa9
Change-Id: Id58c4dab888e8a97ccab39b1934515e3f8bb0db0
Jon Miranda [Tue, 15 Nov 2016 22:37:56 +0000 (14:37 -0800)]
Add bottom padding to hotseat in multi-window mode.
In multi-window mode, the navigation bar is black which makes the
hotseat's top padding -- and lack of symmetric botom padding --
super apparent. We add bottom padding to the hotseat so that the
hotseat icons remain visually centered.
Bug:
32176631
Change-Id: I3eebf5ab98898c8ee092bda6ec48c6afdcd353b9
Jonathan Miranda [Tue, 15 Nov 2016 20:17:42 +0000 (20:17 +0000)]
Merge "Hide workspace text in multi-window mode." into ub-launcher3-master
Tony Wickham [Tue, 15 Nov 2016 19:53:32 +0000 (19:53 +0000)]
Merge "Animate icons back to where they were picked up." into ub-launcher3-master
Jon Miranda [Fri, 11 Nov 2016 22:13:04 +0000 (14:13 -0800)]
Hide workspace text in multi-window mode.
* Vertically centers workspace icons.
* New iconDisplay value so shortcut text is not overriden.
Bug:
32176631
Change-Id: I86753bab5b24aafc417e0f77d8c471fc4c0dc7f0
Sunny Goyal [Tue, 15 Nov 2016 19:07:31 +0000 (19:07 +0000)]
Merge "Catching TransactionTooLargeException when binding widget." into ub-launcher3-master
Jonathan Miranda [Tue, 15 Nov 2016 18:52:16 +0000 (18:52 +0000)]
Merge "Using dimension defined for all apps search bar height." into ub-launcher3-master
Tony Wickham [Tue, 15 Nov 2016 18:03:06 +0000 (18:03 +0000)]
Merge "Add ShortcutsLaunchTest and ShortcutsToHomeTest." into ub-launcher3-master
Sunny Goyal [Thu, 27 Oct 2016 02:12:47 +0000 (19:12 -0700)]
Moving saving state transtion listener logic to individual views
Change-Id: If5402b6961d7d6be0c50778f27a8746ed6f1bbfb
Sunny Goyal [Tue, 15 Nov 2016 00:53:28 +0000 (00:53 +0000)]
Merge "Moving the setContentView at the end of onCreate" into ub-launcher3-master
Tony Wickham [Mon, 14 Nov 2016 23:22:52 +0000 (15:22 -0800)]
Add ShortcutsLaunchTest and ShortcutsToHomeTest.
- ShortcutsLaunchTest verifies that launching shortcut
from the deep shortcuts container works.
- ShortcutsToHomeTest verifies that shortcuts can be
dragged from the deep shortcuts container.
Change-Id: I6919b69d4ea1c9e0f13a8f236266745c12ef0715
Tony Wickham [Mon, 14 Nov 2016 22:14:19 +0000 (14:14 -0800)]
Fix drag and drop test by moving a bit if there are shortcuts.
Change-Id: Icd023f5d095610b6d1aadbf455d068ce7d700768
Hyunyoung Song [Mon, 14 Nov 2016 18:44:39 +0000 (10:44 -0800)]
Make Launcher3 privileged module
Make privileged module to enable Launcher to render search widget
without granting permission to gmscore.
Change-Id: I920233ced18325ecc8db70e9227993913a2d9762
(cherry picked from commit
3fa9954cf16d57aa156b51a9fe97decff4f4140f)
Hyunyoung Song [Mon, 14 Nov 2016 19:00:35 +0000 (19:00 +0000)]
Merge "Change support lib res path" into ub-launcher3-master
Hyunyoung Song [Mon, 14 Nov 2016 18:44:39 +0000 (10:44 -0800)]
Make Launcher3 privileged module
Make privileged module to enable Launcher to render search widget
without granting permission to gmscore.
Change-Id: I920233ced18325ecc8db70e9227993913a2d9762
Hyunyoung Song [Mon, 14 Nov 2016 18:46:08 +0000 (10:46 -0800)]
Change support lib res path
b/
32869945
> warning message will be gone after $ tapas Launcher3 && make
Change-Id: I1780704e206c3cbb458ab76de623eef502b28b8c
Jon Miranda [Fri, 11 Nov 2016 22:35:20 +0000 (14:35 -0800)]
Using dimension defined for all apps search bar height.
In portrait multi-window mode, hotseat cell height is
too small. Found that there was already a resource for
all_apps_search_bar_height so using that instead.
Change-Id: I56647eb55a7808e93bdcbb3334b1513f6ac23d7c
Sunny Goyal [Fri, 11 Nov 2016 18:41:26 +0000 (10:41 -0800)]
Moving the setContentView at the end of onCreate
In multi-window mode, when the activity is resized, the window might
exist even before onCreate, which could call onAttachToWindow while
they are being inflated. Many Views in Launcher assume
onAttachToWindow to be called after onCreate has completed.
Bug:
32745705
Change-Id: Id6ee68826c4f3cc579880540812fd8ed834f8267
Jonathan Miranda [Fri, 11 Nov 2016 19:45:25 +0000 (19:45 +0000)]
Merge "Refactor edge of screen detection code." into ub-launcher3-master
Sunny Goyal [Fri, 11 Nov 2016 19:33:25 +0000 (19:33 +0000)]
Merge "Removing dependency on LauncherActivityInfoCompatV16" into ub-launcher3-master
Tony Wickham [Tue, 8 Nov 2016 18:40:34 +0000 (10:40 -0800)]
Keep disabled FastBitmapDrawables disabled while fast scrolling.
Previously, they were animating to be colored because they were
set to have a FAST_SCROLL_UNLHIGHLIGHTED state. Now they retain
their disabled color when changing fast scroll states.
Specfically, we remove the DISABLED state and instead make it a
property of the FastBitmapDrawable.
Bug:
32642959
Change-Id: I6cb2da134a550c267eebfc756eff8c91a33f028c
Sunny Goyal [Thu, 10 Nov 2016 19:50:24 +0000 (19:50 +0000)]
Merge "Enabling async inflation for AppWidgets" into ub-launcher3-master
Hyunyoung Song [Thu, 10 Nov 2016 03:30:06 +0000 (19:30 -0800)]
Reduce the scope of proguard rule to fix the broken build.
Change-Id: I27506dc26875d320a61d5d016f72bb2d221ca4d1
Hyunyoung Song [Thu, 10 Nov 2016 02:22:12 +0000 (02:22 +0000)]
Fix broken build
am:
ee7c1c1950
Change-Id: Ib8a7138a9566960462f4d574b8dce659f64eb2e5
Hyunyoung Song [Thu, 10 Nov 2016 02:03:56 +0000 (18:03 -0800)]
Fix broken build
Change-Id: I51af52c9ddcae1675d15eb37a2f48fd0b3cd09c3
Hyunyoung Song [Thu, 10 Nov 2016 01:44:10 +0000 (01:44 +0000)]
Fix all apps auto scroll issue on talkback mode b/
30769215
am:
4d11a2a2a0
Change-Id: Idb995c7ac676287bc7f17ad11792996be8561479
Sunny Goyal [Thu, 10 Nov 2016 00:50:22 +0000 (00:50 +0000)]
Merge "Moving various runnables in LauncherModel to individual tasks" into ub-launcher3-master
Sunny Goyal [Thu, 10 Nov 2016 00:26:37 +0000 (00:26 +0000)]
Merge "Fixing build breakage due to proto compiler change" into ub-launcher3-master
Tamas Berghammer [Mon, 31 Oct 2016 18:07:11 +0000 (18:07 +0000)]
Update package names to work with the proto3 compiler
Bug: b/
28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
(cherry picked from commit
f4f62cfb2d93637880279a7eb5b9ce2f6bddce82)
Sunny Goyal [Thu, 10 Nov 2016 00:24:30 +0000 (16:24 -0800)]
Fixing build breakage due to proto compiler change
Change-Id: I5cfc8d42e58ff7836e1946f9a4719254fb1b144b
Sunny Goyal [Fri, 9 Sep 2016 22:47:55 +0000 (15:47 -0700)]
Moving various runnables in LauncherModel to individual tasks
> Adding tests for some of the runnable
Change-Id: I1a315d38878857df3371f0e69d622a41fc3b081a
Sunny Goyal [Fri, 4 Nov 2016 17:19:58 +0000 (10:19 -0700)]
Catching TransactionTooLargeException when binding widget.
A widget can potentially bypass binder size limit with remote views when
using partual updates (as the merging happens on the system service). In
such a case, show the widget in error state.
Bug:
32365088
Change-Id: Id1c4425958a06463273731464e31f05908c35ec7
Hyunyoung Song [Wed, 9 Nov 2016 20:08:56 +0000 (12:08 -0800)]
Fix all apps auto scroll issue on talkback mode
b/
30769215
Change-Id: Idd0bbe1ac15c02d42eb28731955b80bab61ba6cc
Sunny Goyal [Tue, 8 Nov 2016 22:40:53 +0000 (14:40 -0800)]
Removing dependency on LauncherActivityInfoCompatV16
Bug:
32745285
Change-Id: Iece352c891dd9e573c526831c62833f5387ce2b6
Sunny Goyal [Tue, 8 Nov 2016 21:53:33 +0000 (21:53 +0000)]
Merge "Changing status bar color extraction to use region decoder" into ub-launcher3-master
Sunny Goyal [Tue, 8 Nov 2016 17:37:10 +0000 (09:37 -0800)]
Changing status bar color extraction to use region decoder
Change-Id: Ie9913a9cb28948128e6624dc3a335c790fa5a11a
Jonathan Miranda [Tue, 8 Nov 2016 17:19:43 +0000 (17:19 +0000)]
Merge "Use display metrics from resources." into ub-launcher3-master
Jon Miranda [Tue, 8 Nov 2016 00:57:54 +0000 (16:57 -0800)]
Use insets and hotseatCellHeightPx to set search container height.
In a previous refactor, I mistakenly used hotseatBarHeightPx instead of
hotseatCellHeightPx.
Bug:
32176631
Change-Id: I53ef8fa29a6980dcb33bb979d1bed98317c8ade2
Jon Miranda [Tue, 8 Nov 2016 00:45:15 +0000 (16:45 -0800)]
Use display metrics from resources.
Change-Id: If23071528f76b2c7825337b1bc7ac7570b8844ed
Sunny Goyal [Tue, 8 Nov 2016 00:17:03 +0000 (00:17 +0000)]
Merge "Using BitmapRegionDecoder to only parse partial bitmap during color extraction" into ub-launcher3-master
Jon Miranda [Mon, 7 Nov 2016 23:47:53 +0000 (15:47 -0800)]
Fix bug where AllApps shadows weren't being completely clipped.
Worked fine in normal launcher conditions, but surfaced when
using AllApps in multi-window mode.
Bug:
32176631
Change-Id: Ic973f707a69dd5d8c5eafa0dc2d154aa6ab0e001
Jon Miranda [Mon, 7 Nov 2016 16:37:20 +0000 (08:37 -0800)]
Refactor edge of screen detection code.
There were two resources that both defined the edge of the screen.
Change-Id: I82ab553cc3123ef54ff1f0c692d29f3678ad04ac
Sunny Goyal [Mon, 7 Nov 2016 18:09:43 +0000 (18:09 +0000)]
Merge "Calling buildLayer only on views which are actually visible" into ub-launcher3-master
Sunny Goyal [Mon, 7 Nov 2016 18:09:39 +0000 (18:09 +0000)]
Merge "Simplifying mapCoordInSelfToDescendant" into ub-launcher3-master
Sunny Goyal [Mon, 7 Nov 2016 18:07:39 +0000 (10:07 -0800)]
Using BitmapRegionDecoder to only parse partial bitmap during color extraction
Change-Id: I3474c5e2f880144379b1810ccaef247f4a8d1330
Jon Miranda [Thu, 3 Nov 2016 22:29:29 +0000 (15:29 -0700)]
Scale down folder cells to fit within bounds if necessary.
The number of folder cols/rows are set in InvariantDeviceProfile.
Because of this, we may need to scale down the folder cells in
multi-window mode.
Bug:
32176631
Change-Id: I925d5ac9d29439c5d61cf089e7784065a8cb5ebd
Jonathan Miranda [Fri, 4 Nov 2016 17:31:32 +0000 (17:31 +0000)]
Merge "Match AllApps start and end paddings." into ub-launcher3-master
TreeHugger Robot [Thu, 3 Nov 2016 23:38:18 +0000 (23:38 +0000)]
Merge "Remove unused Utilities methods related to motion event translation" into ub-launcher3-master
Jon Miranda [Thu, 3 Nov 2016 23:20:15 +0000 (16:20 -0700)]
Match AllApps start and end paddings.
Padding was only on the end to account for the scrollbar. Adding
padding to the left allows the icons on AllApps to align with the icons
on the workspace.
Bug:
32640697
Change-Id: Iced9287979a11afda98bc6bfc926fe87182bee68
Tony Wickham [Thu, 3 Nov 2016 22:51:55 +0000 (15:51 -0700)]
Remove unused Utilities methods related to motion event translation
These were necessary when we had the ShortcutsContainerListener with
touch forwarding, but they are no longer used since we removed that
listener when we moved to the pre-drag model.
Change-Id: I845d4a1a73fa1a675cef1c52fe304357674a2f68
Sunny Goyal [Wed, 2 Nov 2016 18:22:39 +0000 (11:22 -0700)]
Enabling async inflation for AppWidgets
Bug:
22839968
Change-Id: Id622053c2882f478b3a3ab3918a9f76750ead8c6
Sunny Goyal [Thu, 3 Nov 2016 01:02:36 +0000 (01:02 +0000)]
Merge "Fixing screen center not getting calculated properly" into ub-launcher3-master
Jon Miranda [Wed, 2 Nov 2016 23:56:52 +0000 (16:56 -0700)]
Remove unused code in DeviceProfile.
Change-Id: I463302e6711ad39241257b8dff058d9f3e99d883