Commit Graph

8486 Commits

Author SHA1 Message Date
Adam Cohen
63f1ec00fb Further refinement of all apps / widgets transition
Change-Id: Id107a9aff74f014c07f8cbea6e74951a02dbddab
2014-08-13 21:39:48 +00:00
Sunny Goyal
0fc1be164e Updating the ui for widget restore flow
> Pending widget show a PreloadIconDrawable to indicate
installation progress
> Only the concerned widgets are reinflated on package
install and not the whole workspace.
> Adding support for storing default package icon in
IconCache

issue: 10779035
issue: 16737660

Change-Id: Id787ae4a5ef72d6e01aeb5a1bae5ab8840037679
2014-08-12 16:00:03 -07:00
Sunny Goyal
0fe505bf82 Autoinstalls loading xml
> Launcher checkes for an apk in the system image with a broadcast
receiver for action:
com.android.launcher3.action.LAUNCHER_CUSTOMIZATION
> Default layout is parsed from that apk, which can also contain
icons and string resources used in the layout config

Change-Id: I44fc9e7c3134f525f7b5db29f4e8bb56e17ce445
2014-08-12 14:13:18 -07:00
Sunny Goyal
e3a55a9f42 Merge "Updating the virtual preloader UX." into ub-now-porkchop 2014-08-11 17:59:47 +00:00
Sunny Goyal
95abbb330c Updating the virtual preloader UX.
> No click feedback when in preloader mode
> No preloader UI when drawn in drag layer
> The preloader consists of a background 9 patch image and a circular progress
is drawn in the content region of the background.
> The preloader is drawn in a slightly larget area than the actual bounds to
make the circular progress more prominent compared to the icon.

issue: 15835307
Change-Id: Ifec3d93ecf1fac994d1128b517da3797247e7ed6
2014-08-11 12:32:04 -07:00
Sameer Padala
056cf62bbb Merge "Update code so it compiles on google3" into ub-now-porkchop 2014-08-11 18:26:04 +00:00
Adam Cohen
6551b7ef07 Merge "Updating the widget tray" into ub-now-porkchop 2014-08-09 00:40:15 +00:00
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
Sameer Padala
65c6011d09 Update code so it compiles on google3
Change-Id: I76c6a5264585c8ad4ded22501d2e2ee1672308c3
2014-08-08 17:34:57 -07:00
Mark Brophy
5337aea153 Merge "Revert "Updating the widget tray"" into ub-now-porkchop 2014-08-08 18:15:47 +00:00
Mark Brophy
fd0f02ce42 Revert "Updating the widget tray"
This reverts commit b172c13dcc.

Change-Id: I375fb105e3cf6fa2c1548306cf6a109d612077de
2014-08-11 12:37:00 +00:00
Adam Cohen
b172c13dcc 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

Change-Id: I4f663af7022337d687124ef25a22bac03d9d6af9
2014-08-10 19:10:21 -07:00
Sunny Goyal
d3ad9828d1 Merge "Adding support to restore widgets even for jelly beans." into ub-now-porkchop 2014-08-10 19:43:29 +00:00
Adam Cohen
77c1376c67 Merge "Updating the widget tray" into ub-now-porkchop 2014-08-09 00:40:15 +00:00
Adam Cohen
1c4547bd5f Merge "Polishing the AllApps transition" into ub-now-porkchop 2014-08-09 00:45:27 +00:00
Mark Brophy
fd449c8831 Make GEL not crashloop.
Being able to actually use the phone is a good feature.

Change-Id: I345258374dda81a852544d8ed0045e57195f88d3
2014-08-09 19:32:52 +01:00
Sunny Goyal
ff57227711 Adding support to restore widgets even for jelly beans.
> Show 'widget-not-ready' until the widget app is installed
> Once the app is installed, bind a new widget id (not required on L if
  id-remap was received).
  **Remove the widget if bind failed
> If the widget has no configuration screen, show the widget, otherwise
  show 'setup-widget'.
> Clicking 'setup-widget' shows the config screen, and updates the
  widget on RESULT_OK.

issue: 10779035

Change-Id: I2f8b06d09dd6acbc498cdd93edc59c26e5ce17af
2014-08-08 14:29:02 -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
36f82a32a6 Merge "Fix screen issues with externally added items" into ub-now-porkchop 2014-08-07 17:50:16 +00: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
Adam Cohen
a66233aeb1 Merge "Add partner customization option to force first run flow" into ub-now-porkchop 2014-08-07 15:00:45 +00:00
Adam Cohen
f24c61295d Add partner customization option to force first run flow
Change-Id: Id50587cbb95e375b3847597f12bd8566c70dd7bc
(cherry picked from commit 923e1de9f0d7672dd18947ecde2b0da8c5768b7a)
2014-08-08 04:31:24 +00:00
Adam Cohen
a388a14634 Make com.android.launcher3.action.FIRST_LOAD_COMPLETE protectable on both sides
Change-Id: I7ed482e3f6a85c9d58bfcc999b90e0ecda8db217
(cherry picked from commit b531b6d4965576d36547152f7858ec2ac389f6eb)
2014-08-08 04:30:13 +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
Adam Cohen
c5b6ac7215 am 2d7e7eda: Fix resource issue in folders of partner layouts
* commit '2d7e7eda680d481af2eb9ff85182eb89b5395d4c':
  Fix resource issue in folders of partner layouts
2014-07-31 05:43:45 +00: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
Adam Cohen
2d7e7eda68 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
(cherry picked from commit 43f3ca0f8c)
2014-07-25 20:47:03 +00: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
Baligh Uddin
9f0386fbcc Merge "Import translations. DO NOT MERGE" into ub-now-master 2014-07-24 15:36:09 +00:00
Sunny Goyal
8df5bf8be3 Merge "Fixing restored icons sometimes dissapers." into ub-now-master 2014-07-24 15:36:09 +00:00
Adam Cohen
4e7fa8b508 Merge "Fix SecurityException when exiting wallpaper picker early" into ub-now-master 2014-07-24 15:36:09 +00:00
Adam Cohen
8dc6e1bfa2 Fix SecurityException when exiting wallpaper picker early
issue 16155967

Change-Id: Iba1add737089b73e6e5bbfb143dce4204fa9dc7c
2014-07-24 10:48:20 -07: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
cc00d684ba Merge "Adding broadcast to indicate first launcher load" into ub-now-master 2014-07-24 15:35:58 +00:00
Baligh Uddin
5a78927216 Import translations. DO NOT MERGE
Change-Id: I1427e90539940f8b07b0e64aa2bda08abe8649f7
Auto-generated-cl: translation import
2014-07-24 03:57:00 -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
0c625eeec2 Merge "Adding options in the partner apk to disable the default wallpaper and provide a folder containing additional wallpapers" into ub-now-master 2014-07-23 18:44:51 +00: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