Commit Graph

315 Commits

Author SHA1 Message Date
Sunny Goyal e7b8cd9e4f Improving restored widget behavior
> Clicking a broken widget install shows a dialog similar
to an app icon
> Clicking remove on the dialog removed all components
for the corresponding package
> Widget pending view shows 'Setup' text instead of icon,
if there is enough space

Change-Id: I82ec0a1ee9542c1e3b860e6e00798a80450dce3c
2014-08-27 14:07:05 -07:00
Sunny Goyal 424418bb50 Updating clings, removing ununsed clings
issue: 16127412

Change-Id: I1d18515765100ff10d33439b3ac39ebfc5da35c7
2014-08-25 11:38:02 -07:00
Adam Cohen 94afab4f77 Fix all apps transition for transposed tablet layouts
Change-Id: I33bf163bc74b3cf703cb88a5209d9a205d80dbfa
2014-08-24 16:12:45 -07:00
Sunny Goyal ffe83f1331 Adding support for managed profiles in widget
issue: 16892811

Change-Id: If8c81f2a5a3bc846b02a5d225c5a8f27b1382dab
2014-08-20 17:09:18 -07:00
Sunny Goyal 508da15509 Updating the icon click feedback
> Using BubbleTextView everywhere, removed PagedIconView
> There is a brightness feedback on touch and shadow
feedback on click, until app launches

issue: 16878374
Change-Id: I3dc1149a123c8a75feca6210948398bf2187f1f2
2014-08-19 18:03:06 -07:00
Adam Cohen 178879c72d Merge "Updating folder open transition for Material" into ub-now-porkchop 2014-08-18 21:31:41 +00:00
Adam Cohen c4fe9ea11e Updating folder open transition for Material
Change-Id: I2babf24a923711adc3f4f70ad3e48140a0d99a76
2014-08-19 11:26:20 -07:00
Sunny Goyal 4a0eda76ba Merge "Updating the UI for focused state of an icon/folder." into ub-now-porkchop 2014-08-16 03:52:42 +00:00
Sunny Goyal dcbcc86353 Updating the UI for focused state of an icon/folder.
issue: 16352129

Change-Id: If2e154dba06a0648f933f9aea38898642db9fd85
2014-08-18 13:51:51 -07:00
Adam Cohen a00673c7d9 Fix issues with the new widget layout
-> use first layout instead of first measure to determine size
-> fix issue where we were doubly accounting for padding of
   AppsCustomizePagedView
-> show page backgrounds by default, hide fake page by default
-> stripping some dead code related to the market button
   and all apps cling

Change-Id: I787bdf1092c821b780670098fb219a8a68914bc8
2014-08-14 13:15:32 -07:00
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
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
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
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
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 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
Kenny Guy 260065cac2 Merge "Change getBadgedLabelForUser to use CharSequence" into ub-now-master 2014-07-24 15:36:04 +00: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
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
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
Adam Cohen 82cc3fe6c7 Merge "Preliminary work on Material Transitions" into ub-now-master 2014-07-19 22:40:06 +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 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
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 2ff91c46fa Allow custom content to lock the workspace
Change-Id: Ic337df1b2cd54b99d4ef02dcfaca955c90297df0
2014-07-14 18:36:23 -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
Kenny Guy e10abafa50 Merge "Revert "Revert Cls stopping now-master running on googlefood"" into ub-now-master 2014-07-01 17:46:08 +00:00
Chris Wren 803a4bec0f Drop support for remove all dead promises.
Bug: 12764789
Change-Id: Id876b66cf8da4388cb3ed5670a0bbdcf73f2982d
2014-07-01 17:13:04 -04:00
Kenny Guy c2bd8101b8 Revert "Revert Cls stopping now-master running on googlefood"
This reverts commit 7bc272a11b.

Conflicts:
	src/com/android/launcher3/BubbleTextView.java

Change-Id: Id1fb2e1249e72658ce5477165c9bcacba9de2b04
2014-06-30 12:30:31 +01:00
Chris Wren 40c5ed3039 Offer to delete broken promise icons.
Track state of promise in the info, not the view.
Fix bugs around moving promises to folders.
Fix bugs around filterign and removing promises.

Bug: 12764789
Change-Id: If5e8b6d315e463154b5bafe8aef7ef4f9889bb95
2014-06-27 15:17:56 -04:00
Adam Cohen dcc5e71b3f Fix issue where focus was sometimes missing when going to all apps with keyboard
issue 15407977

Change-Id: I806c4f3d4c5951e4caa7eddaff366a68585f1cd9
2014-06-23 15:48:15 -04:00
Adam Cohen db78dc8a0a Fix problem where launcher doesn't draw after rotation w/ translucent activity above it
-> Removed some code which caused this. The code was intended to fix a certain issue:
"Fixing issue where we were reverting to the first page of the workspace after
launching an application from all apps, rotating, and returning home"
-> That bug doesn't seem to occur anymore, even with the revert
-> See https://googleplex-android-review.googlesource.com/#/c/209561/1

issue 11808251

Change-Id: I14ada19a294d2e5139a9e650d55f1cd985dd00d3
2014-06-19 14:54:51 -07:00
Adam Cohen e25c5d1c94 Prevent discordant state between Workspace and Launcher (issue 15409018)
Change-Id: I13bb3e51da18998a5dade49c50e5fbf2266022d3
2014-06-18 10:38:31 -07:00
Adam Cohen 6ea3b116fc Override app launch transition for LMP preview
issue 15544569 j)

Change-Id: I8aff85a154cb98d865a8834f37b13e30cd03de6c
2014-06-11 11:47:56 -07:00
Adam Cohen 71b0473f24 Add new assets for LMP preview
issue 15544569 c), d), e)

Change-Id: Ib352ef1fa7c19c3695c82f3ea31936a4b41da5aa
2014-06-11 10:50:41 -07:00
Adam Cohen a629f26824 Merge "Revert "Revert transparent bars for L in 3.5. DO NOT MERGE"" into ub-now-nova 2014-06-10 22:12:51 +00:00
Adam Cohen 0b39535608 Revert "Revert transparent bars for L in 3.5. DO NOT MERGE"
This reverts commit e1cdf5253d.

Change-Id: If107c46fcc3062d990b0de9758045946c8017569
2014-06-09 22:54:36 +00:00
Adam Cohen aa4c8c1fea Fix for regression which made issue 14491953 occur more easily
Change-Id: I27711aad8aae2824a54a043f686918d342ffc5bb
(cherry picked from commit 327acfea13)
2014-06-09 18:24:03 +00:00
Adam Cohen ea90f83e24 Check before suggesting default wallpaper dimensions
issue 14470153

Change-Id: Id00e9cb4bd2b769818ed61de65be8c1c0119e07d
2014-05-21 17:13:40 -07:00
Adam Cohen 73859adf80 Merge "Revert "Debugging wallpaper stuff on production device (to be reverted once built)"" into ub-now-nova 2014-05-21 23:01:31 +00:00
Adam Cohen 824fcb3a3e Revert "Debugging wallpaper stuff on production device (to be reverted once built)"
This reverts commit f8dc557cf8.

Change-Id: I2a2ce9a067ec6df829eb23997661bb090daa64ff
2014-05-21 23:01:25 +00:00