Commit Graph

3538 Commits

Author SHA1 Message Date
Adam Cohen 4e243a2dad Updating the widget tray
-> adding dark panel / associated visual updates
-> cleaning up the sizing / padding / to match all apps
-> fixing a couple things from previous CL
-> (removed Context#getDrawable() calls, L-only)

Change-Id: Ia65a6eb704b35f74e7305be9334c27971b22235a
2014-08-11 15:40:37 +00:00
Adam Cohen 9bfdb76aaf Polishing the AllApps transition
-> separating HW layers during animation to be siblings
   instead of parent-child (was destroying parent layer
   on each frame)
-> Unifying material transition with pre-L, everything
   is the same, just missing the reveal.

Change-Id: I8f7d5e658c2d9298bea83ce8199cb35e6fc0d44e
2014-08-10 18:29:36 -07:00
Dharmesh Mokani 6075170b83 Changes corresponding to framework changes.
Following method has been removed.
UserManager.getBadgedDrawableForUser(Drawable, UserHandle)

This will only work on builds after lrw38

Change-Id: I777a630dd123a9cf8d92cd096e150e90035b3531
2014-08-08 10:24:18 -07:00
Adam Cohen 7ec3bbff8b Fix screen issues with externally added items
-> Ensure that when an item is added to the db from an external
   source that the screen id exists.
-> If the screen id does not exist, add that id as the largest rank

Change-Id: I98d68900c428d80666dab1909418c6d9b0f52e10
(cherry picked from commit 484526620012f88bcd9d5656a71d4218a9acd090)
2014-08-08 04:31:47 +00:00
Adam Cohen fe9da818cd Fix for issue 16736964
Change-Id: If150db98346fe10f62fc1160309b66d7a19e9022
2014-08-08 03:55:01 +00:00
Kenny Guy f07af7b77d Launch app details for correct profile.
Support showing app details for apps in other
profiles.

Bug: 16371359

Change-Id: I1cabcd9f74f2a6ea6c4202a7d58af3ff3b458fd2
2014-08-04 14:38:09 +01:00
Sunny Goyal e755d469d4 Implementing a package install progress listener for L
issue: 15835307

Change-Id: I71aaea087963f2e0e1206447190cbe23c174057d
2014-08-01 14:45:39 -07:00
Sameer Padala 513edaebce Modify code so it compiles on google3
The diamond operator isn't supported on google3 Android projects.

Change-Id: Ie7298b051330bb2cd32426d4c537882faa2f8ebd
2014-07-29 16:17:08 -07:00
Sunny Goyal 04c969ef9f Merge "Fixing spell correcton" into ub-now-master 2014-07-24 15:37:54 +00:00
Sunny Goyal 05e318d8f7 Fixing spell correcton
Change-Id: I29d980d8073680fafa8fcc01bc2ec81258919da2
2014-07-29 11:49:35 -07:00
Adam Cohen 4da294de83 Remove 300 ms start delay from app launch transition
-> tiny cleanup from isLmp crunch

issue 16309411

Change-Id: Ib2edff84b53ca471e7d2a2a458091db1fa2f6b42
2014-07-28 15:07:18 -07:00
Adam Cohen 43f3ca0f8c Fix resource issue in folders of partner layouts
-> Resources in folders were not being loaded with the partner
   apk resources. This caused any number of weird things to appear
   in folders of partner default layouts

Change-Id: I7d373e53028c5c327980c15d004993af997de553
2014-07-25 13:38:45 -07:00
Jason Monk 950a467b18 Don't show uninstall icon when user restricted
When the user can't uninstall apps from settings, also don't show
the icon to let them do it from here.

Change-Id: I3b203711630a4ff0ba4a5928667c9f09f9479aeb
2014-07-25 08:54:27 -04:00
Sunny Goyal 8df5bf8be3 Merge "Fixing restored icons sometimes dissapers." into ub-now-master 2014-07-24 15:36:09 +00:00
Sunny Goyal c2fc9870ed Merge "Merging motorola's patch to prevent crashes on view id mess up" into ub-now-master 2014-07-24 15:36:09 +00:00
Sunny Goyal 33a152fa49 Merging motorola's patch to prevent crashes on view id mess up
issue: 15517526
Change-Id: Ib15b3dc2f5ed4e488f5d172ed02ccb72741d5980
2014-07-24 09:33:15 -07:00
Kenny Guy 260065cac2 Merge "Change getBadgedLabelForUser to use CharSequence" into ub-now-master 2014-07-24 15:36:04 +00:00
Adam Cohen c956cbaee2 Fix crash with keyboard focus in AllApps due to view refactoring
issue 16478600

Change-Id: I0300e7ffb332b689e3412e764ab7ce59c4fc5748
2014-07-24 09:19:58 -07:00
Adam Cohen 3ed316a71d Adding broadcast to indicate first launcher load
-> fixing small thing from previous CL

issue 16191557

Change-Id: I015859f6028066e7c8664436f291ed226a539e29
2014-07-23 20:40:09 -07:00
Adam Cohen a043fa8921 When inserting directly into LauncherProvider, ensure item id and widget id are valid
-> We generate an item id, and allocate and bind a widget id if necessary when items
   are added to the LauncherProvider externally. Writing to the provider is protected
   by system|signature.

issue 16191557

Change-Id: I09472e41ad4c8302901a5e49b5817247e9b86695
2014-07-24 00:40:53 +00:00
Sunny Goyal 9623a9951a Fixing restored icons sometimes dissapers.
Change-Id: I24153dd1a4b34b8caf1eb9de601bf54e72a3bd9f
2014-07-23 15:06:44 -07:00
Sunny Goyal e86b9d79c4 Merge "Adding nulls check in various drop-drop events" into ub-now-master 2014-07-22 16:21:19 +00:00
Sunny Goyal 25611b181f Adding nulls check in various drop-drop events
The original patch by motorola had another check, but the 2nd check
is wrong as in that case, there would be a nullpointer exception just
after the check for the same reason.

issue: 15518908
issue: 15516428

Change-Id: I85c5fb3541b7f837e6c5295e97e45162a4120e39
2014-07-22 12:04:22 -07:00
Sunny Goyal 87bee403ed Merge "Merging motorola's patch to fix ClassCastException" into ub-now-master 2014-07-22 16:21:19 +00:00
Sunny Goyal 0c4a64451e Merging motorola's patch to fix ClassCastException
issue: 15518616
Change-Id: I7d707f12cb20be9aa24d7ea86051f3712b3534af
2014-07-22 13:56:13 -07:00
Nilesh Agrawal 300c150448 Fix build
Change-Id: I4c19afe4da891ad1de125cbb65c494fdc0a9a165
2014-07-22 13:20:54 -07:00
Kenny Guy d6fe52636d Change getBadgedLabelForUser to use CharSequence
Bug: 16401636
Change-Id: I7b72a6dd53fec1c0afe6ea33803af9e3c54e597e
2014-07-21 18:33:40 +01:00
Adam Cohen 82cc3fe6c7 Merge "Preliminary work on Material Transitions" into ub-now-master 2014-07-19 22:40:06 +00:00
Sunny Goyal c5a8704dc4 Merge "Adding app widget restore support in Launcher3 for android L" into ub-now-master 2014-07-19 22:40:06 +00:00
Sunny Goyal 651077bdd6 Adding app widget restore support in Launcher3 for android L
When the app is restored, it displays placeholders for all pending widgets.
These placeholders can be moved and removed similar to a widget (size is fixed
to what defined in backup). Once the system notifies the launcher of the new
widget ids, the place holders are replaced with actual widgets.

issue: 10779035

Change-Id: I68cbe4da01e9ca2978cb4471a7c645d2aa592055
2014-07-21 10:34:21 -07:00
Sunny Goyal 871f3f8bbe Merge "Mergin motorola patch to avoind 0 id for all apps button" into ub-now-master 2014-07-21 15:43:35 +00:00
Adam Cohen 6c5891a9fc Preliminary work on Material Transitions
-> Early exploration of AllApps Hero transition with
   circular reveal
-> Stripping a bunch of dead code from AppsCustomizeTabHost
-> Moved background scrim to DragLayer
-> Removed "SMALL" state from workspace: replaced with
   NORMAL_HIDDEN and OVERVIEW_HIDDEN. This is mainly to
   reduce the overall usage of the z-space model between
   allapps/widgets and workspace. There are vestigial
   remains of this model, mainly due to the overview
   mode, and a bit for spring-loaded.

Change-Id: If2302a24394f0ec66621f01ffa2fc4934aa10c3f
2014-07-18 17:56:42 -07:00
Sunny Goyal ebf50c93b0 Merge "Merging Motorola's patch to disable apps when is safe mode." into ub-now-master 2014-07-18 18:24:25 +00:00
Sunny Goyal c5c60ad359 Merging Motorola's patch to disable apps when is safe mode.
issue: 16044192

Change-Id: I10069dcdf459ecc71361271e883eabb743d77822
2014-07-18 16:10:34 -07:00
Adam Cohen cc83d8dbfe Merge "Specify permission.RECEIVE_LAUNCH_BROADCASTS in String resource" into ub-now-master 2014-07-18 18:24:25 +00:00
Sunny Goyal e7de3b2c2c Mergin motorola patch to avoind 0 id for all apps button
issue: 15518514
Change-Id: I74a16600658f9299131cfbef7ad7a49ac25b12e7
2014-07-18 09:35:28 -07:00
Adam Cohen df3ac430b1 Specify permission.RECEIVE_LAUNCH_BROADCASTS in String resource
Change-Id: I2aca0108e3b41dc1db80d552dd6242a5a8d0245d
2014-07-16 14:48:43 -07:00
Sunny Goyal 3484638cad Adding a circular progress bar for preloader icons
Change-Id: I1b5ba61c01a16a8cb5d3f9e31f827f8c99a1ffc9
2014-07-16 13:37:56 -07:00
Sunny Goyal f599ccfe96 Showing icons for apps on sdcard which are not available during system boot.
issue 15852084

Change-Id: I1e6f59a413581ae3af4219ab32cb5af3d726d382
2014-07-16 18:59:50 +00:00
Kenny Guy bb474f6df0 Merge "Include user handle for uninstall intents." into ub-now-master 2014-07-16 00:46:50 +00:00
Kenny Guy d31df54073 Include user handle for uninstall intents.
Add support for uninstalling apps from other profiles.

Bug: 14127299

Change-Id: I1a3724a45c95cf93b958d23a57829efcedfc4291
2014-07-16 16:49:00 +01:00
Jan-Willem Maarse ca424c67f3 Merge "Allow custom content to lock the workspace" into ub-now-master 2014-07-15 20:35:01 +00:00
Jan-Willem Maarse 2ff91c46fa Allow custom content to lock the workspace
Change-Id: Ic337df1b2cd54b99d4ef02dcfaca955c90297df0
2014-07-14 18:36:23 -07:00
Sunny Goyal 3e787142a8 Merge "Fixing background being drawn multiple times for BubbleTextView" into ub-now-master 2014-07-10 17:35:05 +00:00
Adam Cohen 91d3cdcbfa Merge "Fixing issue where package updates were not getting propagated properly" into ub-now-master 2014-07-09 14:43:38 +00:00
Adam Cohen 52a2841f6b Fixing issue where package updates were not getting propagated properly
issue 16097189

Change-Id: I26f2d03930d9d2227017c0cd5a986a230fbe8e58
2014-07-09 11:33:09 -07:00
Sunny Goyal 15872dad93 Fixing background being drawn multiple times for BubbleTextView
issue 16160873

Change-Id: Ic04d54dd6541e352bf543d8acb2452ea6e0567da
2014-07-08 15:43:54 -07:00
Sunny Goyal d53027e4aa Merge "Fixing icon disappearing when apps are moved to sdcard" into ub-now-master 2014-07-08 17:33:57 +00:00
Sunny Goyal 481c1fb796 Fixing icon disappearing when apps are moved to sdcard
For intents, external application unavailable/available, the extra argument
'replacing' is not sent for jelly beans and lower devices. Using appropriate
default value

issue: 15852084

Change-Id: I865aa22a16700629fffe440a4b92a634a0ba8ae7
2014-07-07 17:52:35 -07:00
Adam Cohen 96bb79819e Enabling quantum look and feel everywhere
-> _l assets become default, new folder icon look is default
-> Starting to unify folder look / feel with all apps
-> New page indicators

Change-Id: I50b2c647fbcbe6ed27705527d8e16bd89e123d0b
2014-07-07 15:29:53 -07:00