OSDN Git Service

android-x86/packages-apps-Trebuchet.git
9 years agoFixing build breakage
Sunny Goyal [Wed, 27 May 2015 18:14:01 +0000 (11:14 -0700)]
Fixing build breakage

Change-Id: I2d8ac9a92d2da3d6b0f52ff8a6e3683b05663aec

9 years agoRemoving SmoothPagedView as all its methods are disabled
Sunny Goyal [Wed, 27 May 2015 17:24:24 +0000 (10:24 -0700)]
Removing SmoothPagedView as all its methods are disabled

Change-Id: I83c99bb3d3546693200d64e2233957b4c679e7e6

9 years agoMerge "Introduce LauncherSearchCallback to handle search overlay status." into ub...
Jun Mukai [Wed, 27 May 2015 00:41:28 +0000 (00:41 +0000)]
Merge "Introduce LauncherSearchCallback to handle search overlay status." into ub-launcher3-burnaby

9 years agoFixing workspace scrim not being drawn
Sunny Goyal [Wed, 27 May 2015 00:20:07 +0000 (17:20 -0700)]
Fixing workspace scrim not being drawn

Change-Id: Iabafe159a577909396d1602a7eda9c508e95cb71

9 years agoam c3d4553d: (-s ours) [DO NOT MERGE] Use custom slide-up animation on LMP MR1 instea...
Adam Cohen [Fri, 22 May 2015 23:26:45 +0000 (23:26 +0000)]
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

9 years ago[DO NOT MERGE] Use custom slide-up animation on LMP MR1 instead of system default
Adam Cohen [Fri, 22 May 2015 21:36:14 +0000 (14:36 -0700)]
[DO NOT MERGE] Use custom slide-up animation on LMP MR1 instead of system default

issue 21402755

Change-Id: I87ddef08e7b3134c791f769fc279e62d520cd18c

9 years agoMerge "Decrease elevation for the reveal view." into ub-launcher3-burnaby
Sunny Goyal [Fri, 22 May 2015 22:26:41 +0000 (22:26 +0000)]
Merge "Decrease elevation for the reveal view." into ub-launcher3-burnaby

9 years agoDecrease elevation for the reveal view.
Sunny Goyal [Fri, 22 May 2015 22:14:01 +0000 (15:14 -0700)]
Decrease elevation for the reveal view.

> During the end of allApps animation, the shadow suddenly changes from 15dp to 0

Change-Id: I93bcf1220396b2bda3efea7febc2195ef556938b

9 years agoMerge "Fix widget tray crash on screen rotation introduced by ag/694693" into ub...
Hyunyoung Song [Fri, 22 May 2015 21:50:17 +0000 (21:50 +0000)]
Merge "Fix widget tray crash on screen rotation introduced by ag/694693" into ub-launcher3-burnaby

9 years agoFix widget tray crash on screen rotation introduced by
Hyunyoung Song [Fri, 22 May 2015 21:49:23 +0000 (14:49 -0700)]
Fix widget tray crash on screen rotation introduced by
ag/694693

b/21402209

Change-Id: Idae97fca971d90f5fbba658411491147cb023c8d

9 years agoMoving all apps code into sub package.
Winson Chung [Fri, 22 May 2015 18:12:27 +0000 (11:12 -0700)]
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

9 years agoCreating landscape and portrait device profiles at app initialization
Sunny Goyal [Fri, 22 May 2015 03:46:33 +0000 (20:46 -0700)]
Creating landscape and portrait device profiles at app initialization

Change-Id: Ide9d007adc36b348e19b05cdf49e87f8b02db60e

9 years agoAnimating workspace active background change
Sunny Goyal [Wed, 20 May 2015 22:35:32 +0000 (15:35 -0700)]
Animating workspace active background change

> Removing workspace_overscroll_drawable_padding which is always 0

Change-Id: I89900738371458a6eb7cbfee215d98b267d6a0b0

9 years agoMerge "Enabling setWallpaper button only if the image was loaded successfully" into...
Sunny Goyal [Thu, 21 May 2015 23:19:24 +0000 (23:19 +0000)]
Merge "Enabling setWallpaper button only if the image was loaded successfully" into ub-launcher3-burnaby

9 years agoRefactoring DeviceProfile
Adam Cohen [Wed, 6 May 2015 18:42:25 +0000 (11:42 -0700)]
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

9 years agoEnabling setWallpaper button only if the image was loaded successfully
Sunny Goyal [Thu, 21 May 2015 22:54:58 +0000 (15:54 -0700)]
Enabling setWallpaper button only if the image was loaded successfully

Bug: 20187333
Change-Id: I1b738a06499d20facbc4bccb1e6247086a45b686

9 years agoMerge "Introduce scrollbar in widget tray" into ub-launcher3-burnaby
Hyunyoung Song [Thu, 21 May 2015 23:00:17 +0000 (23:00 +0000)]
Merge "Introduce scrollbar in widget tray" into ub-launcher3-burnaby

9 years agoMerge "Tweaking method name." into ub-launcher3-burnaby
Winson Chung [Thu, 21 May 2015 22:46:07 +0000 (22:46 +0000)]
Merge "Tweaking method name." into ub-launcher3-burnaby

9 years agoTweaking method name.
Winson Chung [Thu, 21 May 2015 22:45:24 +0000 (15:45 -0700)]
Tweaking method name.

Change-Id: I2f4f9dc58c8148059914a106526995e80a82376f

9 years agoMerge "Fixing crash in previous CL." into ub-launcher3-burnaby
Winson Chung [Thu, 21 May 2015 22:43:45 +0000 (22:43 +0000)]
Merge "Fixing crash in previous CL." into ub-launcher3-burnaby

9 years agoIntroduce scrollbar in widget tray
Hyunyoung Song [Thu, 21 May 2015 22:31:42 +0000 (15:31 -0700)]
Introduce scrollbar in widget tray

b/21270754

Change-Id: I82dd87193f0ed5822f8cd75ef0c785057f949015

9 years agoMerge "Icons are not updated to TYPE_APPLICATION during restore" into ub-launcher3...
Sunny Goyal [Thu, 21 May 2015 22:26:26 +0000 (22:26 +0000)]
Merge "Icons are not updated to TYPE_APPLICATION during restore" into ub-launcher3-burnaby

9 years agoFixing crash in previous CL.
Winson Chung [Thu, 21 May 2015 21:39:54 +0000 (14:39 -0700)]
Fixing crash in previous CL.

- Shouldn't be referencing mApps before it is set.

9 years agoMerge "Preventing overdraw. Drawing background directly at the window, instead of...
Sunny Goyal [Thu, 21 May 2015 20:34:27 +0000 (20:34 +0000)]
Merge "Preventing overdraw. Drawing background directly at the window, instead of the rootview." into ub-launcher3-burnaby

9 years agoIcons are not updated to TYPE_APPLICATION during restore
Sunny Goyal [Tue, 19 May 2015 23:03:28 +0000 (16:03 -0700)]
Icons are not updated to TYPE_APPLICATION during restore

> Use low res only for app shortcuts
> Running icon migration after restore
> Running icon migration again for all users
> Deduping shortcuts added from widget tray

Bug: 20945600
Change-Id: I3bb47545fdd9832510069026fbae8966d2311cc1

9 years agoCleaning up some app model code.
Winson Chung [Wed, 20 May 2015 23:07:46 +0000 (16:07 -0700)]
Cleaning up some app model code.

- Preventing extra sorting when adding/updating apps
- Preventing extra logic when filtering apps
- Fixing overlapping prediction bar when all predictions are removed
- Fixing crash when retrieving section names for AppInfos whose titles
  have been updated, but updateApps has not yet been called.

Change-Id: I1da468b0fd5c5cc404b6a5e6146a268fefeca267

9 years agoMerge "Breaking icon update task so that it doesn't block worker thread" into ub...
Sunny Goyal [Thu, 21 May 2015 20:31:36 +0000 (20:31 +0000)]
Merge "Breaking icon update task so that it doesn't block worker thread" into ub-launcher3-burnaby

9 years agoMerge "Load PackageItemInfo in background thread to prevent ANR" into ub-launcher3...
Hyunyoung Song [Thu, 21 May 2015 20:25:15 +0000 (20:25 +0000)]
Merge "Load PackageItemInfo in background thread to prevent ANR" into ub-launcher3-burnaby

9 years agoMerge "Using color filter when animating the drop target instead to TransitionDrawabl...
Sunny Goyal [Thu, 21 May 2015 20:23:58 +0000 (20:23 +0000)]
Merge "Using color filter when animating the drop target instead to TransitionDrawable" into ub-launcher3-burnaby

9 years agoLoad PackageItemInfo in background thread to prevent ANR
Hyunyoung Song [Thu, 21 May 2015 20:04:53 +0000 (13:04 -0700)]
Load PackageItemInfo in background thread to prevent ANR

- Decoupled widget model from widget view, and placed the
creation to LauncherModel.
- As a result packagemanager operation, iconcache retrieval is all done inside
LauncherModel on background thread
b/21311085
b/21325319

Change-Id: I294698527db58b89f3da558090a367530c058776

9 years agoPreventing overdraw. Drawing background directly at the window, instead of
Sunny Goyal [Tue, 19 May 2015 19:36:46 +0000 (12:36 -0700)]
Preventing overdraw. Drawing background directly at the window, instead of
the rootview.

Change-Id: Ie974752e739d9acd1fbd765809c671f82f462644

9 years agoUsing color filter when animating the drop target instead to TransitionDrawable
Sunny Goyal [Thu, 21 May 2015 17:28:02 +0000 (10:28 -0700)]
Using color filter when animating the drop target instead to TransitionDrawable

> No more flickering when crossfading between two bitmaps in small duration
> Allows us to control the color directly without depending on the assets

Change-Id: Ie7ed8bb94baf560e9b939cca624ed1bad457732c

9 years agoDo not trim folder title
Sunny Goyal [Thu, 21 May 2015 16:33:57 +0000 (09:33 -0700)]
Do not trim folder title

Bug: 21297281
Change-Id: I633780f8207aabc8362f016e6b5a6e720cee1b86

9 years agoBreaking icon update task so that it doesn't block worker thread
Sunny Goyal [Thu, 21 May 2015 04:57:06 +0000 (21:57 -0700)]
Breaking icon update task so that it doesn't block worker thread

Bug: 20945600
Change-Id: Iaf516577898b51ad6e8a813d7f018ecad969c100

9 years agoFixing issue where the prediction bar apps are not focused.
Winson Chung [Wed, 20 May 2015 22:03:13 +0000 (15:03 -0700)]
Fixing issue where the prediction bar apps are not focused.

- Also fixes issue where all apps is not accessible by keyboard
  when there are no other apps in the hotseat.

Bug: 21334471

9 years agoMerge "Setting drawable to droptarget in the code to avoid multiple drawable inflatio...
Sunny Goyal [Wed, 20 May 2015 23:50:54 +0000 (23:50 +0000)]
Merge "Setting drawable to droptarget in the code to avoid multiple drawable inflation" into ub-launcher3-burnaby

9 years agoSetting drawable to droptarget in the code to avoid multiple drawable inflation
Sunny Goyal [Wed, 20 May 2015 23:40:30 +0000 (16:40 -0700)]
Setting drawable to droptarget in the code to avoid multiple drawable inflation

Change-Id: Ib713b3051e2707d46a4ee0090aed2db1d2e641b9

9 years agoMerge "Reducing delay in applying widget previews loaded in the background." into...
Winson Chung [Wed, 20 May 2015 23:08:17 +0000 (23:08 +0000)]
Merge "Reducing delay in applying widget previews loaded in the background." into ub-launcher3-burnaby

9 years agoMerge "Removing some unused functionalities" into ub-launcher3-burnaby
Sunny Goyal [Wed, 20 May 2015 22:35:48 +0000 (22:35 +0000)]
Merge "Removing some unused functionalities" into ub-launcher3-burnaby

9 years agoMerge "Avoiding blocking worker thread when adding icons to DB" into ub-launcher3...
Sunny Goyal [Wed, 20 May 2015 22:34:41 +0000 (22:34 +0000)]
Merge "Avoiding blocking worker thread when adding icons to DB" into ub-launcher3-burnaby

9 years agoRemoving unnecessary linear layout
Sunny Goyal [Wed, 20 May 2015 21:42:25 +0000 (14:42 -0700)]
Removing unnecessary linear layout

Change-Id: I7fe423b9526805a2e84887e0437ebdc96203c263

9 years agoMerge "UX widget cell color issue" into ub-launcher3-burnaby
Hyunyoung Song [Wed, 20 May 2015 21:17:17 +0000 (21:17 +0000)]
Merge "UX widget cell color issue" into ub-launcher3-burnaby

9 years agoUX widget cell color issue
Hyunyoung Song [Wed, 20 May 2015 21:14:04 +0000 (14:14 -0700)]
UX widget cell color issue

- widget cell color is slightly brigher than the background of the widget row.
- They should be the same.

Change-Id: I20bda325d5d2fe7e194a453978dc74fd56a4e154

9 years agoFixing unnecessary padding added to pages in overview mode
Sunny Goyal [Wed, 20 May 2015 20:40:27 +0000 (13:40 -0700)]
Fixing unnecessary padding added to pages in overview mode

Change-Id: Icd17c2956b201ea0b6c6a2a495f567f51987b1ac

9 years agoRemoving override annotation to fix build.
Winson Chung [Wed, 20 May 2015 18:13:36 +0000 (11:13 -0700)]
Removing override annotation to fix build.

Change-Id: I5a4dfa339db7862ac3db4cc379469ac8d9f6fae5

9 years agoMerge "Removing itemCount, fromIndex and toIndex from AccessibilityEvent.TYPE_VIEW_SC...
Vadim Tryshev [Wed, 20 May 2015 18:10:54 +0000 (18:10 +0000)]
Merge "Removing itemCount, fromIndex and toIndex from AccessibilityEvent.TYPE_VIEW_SCROLLED sent by PagedView. This causes an additional reduntant voice message on scroll (see the bug)." into ub-launcher3-burnaby

9 years agoMerge "List work profile widgets to the end of the row of the widget tray, then sort...
Hyunyoung Song [Wed, 20 May 2015 18:08:41 +0000 (18:08 +0000)]
Merge "List work profile widgets to the end of the row of the widget tray, then sort" into ub-launcher3-burnaby

9 years agoList work profile widgets to the end of the row of the widget tray, then sort
Hyunyoung Song [Wed, 20 May 2015 18:03:46 +0000 (11:03 -0700)]
List work profile widgets to the end of the row of the widget tray, then sort

b/20339403

Change-Id: I7cd824e47eba1121c9053a4064a51750bed587e7

9 years agoReducing delay in applying widget previews loaded in the background.
Winson Chung [Mon, 18 May 2015 23:53:20 +0000 (16:53 -0700)]
Reducing delay in applying widget previews loaded in the background.

- Push the writing of previews to the DB to the worker thread
  to ensure that we can apply the loaded preview as soon as
  possible.
- Reducing additional bitmap allocations from cancelled tasks
  that did not re-add their bitmaps to the unused set
  (happens when the list is scrolling quickly).

Change-Id: Ib7c2cfdfcc668c215b3a74271e1165235fbdf752

9 years agoMerge "Moving LauncherAccessibilityDelegate to accessibility package" into ub-launche...
Sunny Goyal [Wed, 20 May 2015 04:15:33 +0000 (04:15 +0000)]
Merge "Moving LauncherAccessibilityDelegate to accessibility package" into ub-launcher3-burnaby

9 years agoMerge "Fixing accessibility string" into ub-launcher3-burnaby
Sunny Goyal [Wed, 20 May 2015 04:15:24 +0000 (04:15 +0000)]
Merge "Fixing accessibility string" into ub-launcher3-burnaby

9 years agoMerge "Updating widget resize frame assets." into ub-launcher3-burnaby
Sunny Goyal [Wed, 20 May 2015 04:15:14 +0000 (04:15 +0000)]
Merge "Updating widget resize frame assets." into ub-launcher3-burnaby

9 years agoMerge "Adding null check to outline generator" into ub-launcher3-burnaby
Sunny Goyal [Wed, 20 May 2015 04:15:03 +0000 (04:15 +0000)]
Merge "Adding null check to outline generator" into ub-launcher3-burnaby

9 years agoRemoving some unused functionalities
Sunny Goyal [Wed, 20 May 2015 02:59:09 +0000 (19:59 -0700)]
Removing some unused functionalities

> Removing obsolete progrard rules
> Removing BackgroundAlphaMultiplier from CellLayout, which is always 1
> Removign otiline animation from workspace. This animation never runs,
as it is called during startReordeing which always happens when
overview mode (workspaceInModalState() is true)

Change-Id: I43219e41ea188771bc818988c1bcbd523f28cba6

9 years agoAvoiding object allocation during draw
Sunny Goyal [Wed, 20 May 2015 02:07:29 +0000 (19:07 -0700)]
Avoiding object allocation during draw

Change-Id: I94c146e0f4ad7386a31782f0e63e5228a2fa0442

9 years agoAdding null check to outline generator
Sunny Goyal [Wed, 20 May 2015 00:35:07 +0000 (17:35 -0700)]
Adding null check to outline generator

Change-Id: I8eb8b62a868d80fd0a7c9deec8915828bd8177d0

9 years agoUpdating widget resize frame assets.
Sunny Goyal [Tue, 19 May 2015 03:52:57 +0000 (20:52 -0700)]
Updating widget resize frame assets.

> Using a shadow as background and a frame as foreground.
> The handle has baked in shadow which gets wrapped by the
frame shadow

Change-Id: Ib0e305ea735304236b3319e4fde22fb442f5dc0f

9 years agoFixing accessibility string
Sunny Goyal [Tue, 19 May 2015 21:48:52 +0000 (14:48 -0700)]
Fixing accessibility string

Bug: 19776741
Change-Id: Ie020911bd17aa102eddfc69d6b3db5c19db9c6ac

9 years agoMerge "Enabling translation for accessibility strings" into ub-launcher3-burnaby
Sunny Goyal [Tue, 19 May 2015 21:39:49 +0000 (21:39 +0000)]
Merge "Enabling translation for accessibility strings" into ub-launcher3-burnaby

9 years agoRemoving itemCount, fromIndex and toIndex from
Vadim Tryshev [Tue, 19 May 2015 21:19:37 +0000 (14:19 -0700)]
Removing itemCount, fromIndex and toIndex from
AccessibilityEvent.TYPE_VIEW_SCROLLED sent by PagedView.
This causes an additional reduntant voice message on scroll (see the
bug).

Also, setting these attributes violate rules set here:
http://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html
i.e. that these fields should be set only for descendants of
AdapterView.

Note that we can't just stop sending TYPE_VIEW_SCROLLED, because in this
case, accessibility focus won't be set after scrolling.

Bug: 21304383
Change-Id: I84f8e064d8209c0e09d6827551e00c9913829b57

9 years agoMerge "Adding drop shadow effect in allapps" into ub-launcher3-burnaby
Sunny Goyal [Tue, 19 May 2015 21:07:40 +0000 (21:07 +0000)]
Merge "Adding drop shadow effect in allapps" into ub-launcher3-burnaby

9 years agoUnify sorting between all apps and widget tray
Hyunyoung Song [Tue, 19 May 2015 20:39:44 +0000 (13:39 -0700)]
Unify sorting between all apps and widget tray

- selected locale names are shown before latin
- case independent sorting
- main app > enterprise app

Future possible refactoring:
- Move all the *ItemInfo data structures to model package
- Rename the comparator based on NOT what data structure it supports
but what functionality it supports (locale? case independent?
main app > enterprise app?)

b/21271658
b/20339403

Change-Id: I8a776467392e21d5014e85cd3f51931a3ef89724

9 years agoMoving LauncherAccessibilityDelegate to accessibility package
Sunny Goyal [Tue, 19 May 2015 19:52:12 +0000 (12:52 -0700)]
Moving LauncherAccessibilityDelegate to accessibility package

Change-Id: I510204a5a12abf2da2757f3e3f8b0e8869a6b04a

9 years agoMerge "Widget cell improvement" into ub-launcher3-burnaby
Sunny Goyal [Tue, 19 May 2015 19:21:21 +0000 (19:21 +0000)]
Merge "Widget cell improvement" into ub-launcher3-burnaby

9 years agoAvoiding blocking worker thread when adding icons to DB
Sunny Goyal [Fri, 15 May 2015 23:59:36 +0000 (16:59 -0700)]
Avoiding blocking worker thread when adding icons to DB

Bug: 20945600
Change-Id: If12b21ac62c55c769838ce17d5421f147c396256

9 years agoMerge "Updating the widget error view" into ub-launcher3-burnaby
Sunny Goyal [Tue, 19 May 2015 19:15:12 +0000 (19:15 +0000)]
Merge "Updating the widget error view" into ub-launcher3-burnaby

9 years agoEnabling translation for accessibility strings
Sunny Goyal [Sat, 16 May 2015 19:51:03 +0000 (12:51 -0700)]
Enabling translation for accessibility strings

> All the action strings are set to char limit 30 so that they play
nice with accessibility UI.

Bug: 19776741
Change-Id: I74612cc34a3a458541106319b3f8c36d54cc1138

9 years agoUpdating the widget error view
Sunny Goyal [Tue, 19 May 2015 18:42:45 +0000 (11:42 -0700)]
Updating the widget error view

Change-Id: I3ed6336bd9f5a795204a87feedc83663355abcf2

9 years agoWidget cell improvement
Sunny Goyal [Sat, 16 May 2015 00:01:14 +0000 (17:01 -0700)]
Widget cell improvement

> Using a custom view for preview, instead of extensing image view
> Preventing relayout when applying preview
> Removing unnecessary method calls

Bug: 21133230
Change-Id: Iab12fa1e5c871ee43a9fb0e6b6af897fecfb345f

9 years agoEnsure that we have a reasonable cache size for AllApps.
Winson Chung [Fri, 15 May 2015 23:30:08 +0000 (16:30 -0700)]
Ensure that we have a reasonable cache size for AllApps.

Change-Id: Ic0cb5ec2911567102227748cd9d2c1d8297fe105

9 years agoSynchronizing views dependent on scroll during pre-draw.
Winson Chung [Fri, 15 May 2015 19:03:37 +0000 (12:03 -0700)]
Synchronizing views dependent on scroll during pre-draw.

Instead of tracking the absolute scroll, which can be inconsistent,
simply synchronize any views that depend on the RecyclerView scroll
each time in onPreDraw.

Bug: 21169021

9 years agoFixing issue with prediction bar apps erroneously being tapped.
Winson Chung [Fri, 15 May 2015 00:24:58 +0000 (17:24 -0700)]
Fixing issue with prediction bar apps erroneously being tapped.

- requestDisallowIntercept is not called unless the recycler view
  scrolls so when over scrolling, we still need to check the distance
  to ensure we stop long pressing when the touch moves outside the
  slop
- Ensure that we don't allow tapping the prediction bar icons under
  the search bar

Change-Id: I520c05fa77911340d4747bb469918812b192769e

9 years agoVerify that an image can be rendered on a GL Surface before using it
Sunny Goyal [Mon, 18 May 2015 23:40:56 +0000 (16:40 -0700)]
Verify that an image can be rendered on a GL Surface before using it

Bug: 20138883
Change-Id: I8de70eb971f31c2a4c07a7903e097a1586402282

9 years agoRemoving some thread priority management logic
Sunny Goyal [Mon, 18 May 2015 22:42:48 +0000 (15:42 -0700)]
Removing some thread priority management logic

> Not saving folder id in onSaveInstance as it is not used.

Change-Id: I176beb77cafe27ec4b7500d65dc86287d2f2e0cb

9 years agoStarting the loader if the previous loader is not complete, instead of binding page...
Sunny Goyal [Mon, 18 May 2015 22:19:29 +0000 (15:19 -0700)]
Starting the loader if the previous loader is not complete, instead of binding page synchronously

Bug: 21107637
Change-Id: If04952c7d5c8a38a739ce5536ecac394011ab61a

9 years agoMerge "Preventing relayout when loading high-res icons" into ub-launcher3-burnaby
Sunny Goyal [Mon, 18 May 2015 18:15:21 +0000 (18:15 +0000)]
Merge "Preventing relayout when loading high-res icons" into ub-launcher3-burnaby

9 years agoMerge "Initially set the widget container view to GONE visibility" into ub-launcher3...
Hyunyoung Song [Sat, 16 May 2015 00:16:25 +0000 (00:16 +0000)]
Merge "Initially set the widget container view to GONE visibility" into ub-launcher3-burnaby

9 years agoPreventing relayout when loading high-res icons
Sunny Goyal [Sat, 16 May 2015 00:00:24 +0000 (17:00 -0700)]
Preventing relayout when loading high-res icons

Bug: 21133230
Change-Id: I1ec4dbfd28c42fa1c0e28b3fa746c0bc5dfaba7c

9 years agoInitially set the widget container view to GONE visibility
Hyunyoung Song [Sat, 16 May 2015 00:04:18 +0000 (17:04 -0700)]
Initially set the widget container view to GONE visibility

- Bitmap loading should not happen when Launcher3 is being loaded.

b/21207643

Change-Id: I1b6a5f970d157d139e0e5021182048f752b67415

9 years agoReducing calls to onCreateViewHolder due to animating children.
Winson Chung [Fri, 15 May 2015 22:15:11 +0000 (15:15 -0700)]
Reducing calls to onCreateViewHolder due to animating children.

Bug 21133230

Change-Id: Ib5be0766d1ea56976195e33526d7595a16672eef

9 years agoMerge "Transition from back to showing widget tray if shortcut/Widget configure activ...
Hyunyoung Song [Fri, 15 May 2015 23:36:45 +0000 (23:36 +0000)]
Merge "Transition from back to showing widget tray if shortcut/Widget configure activity was cancelled." into ub-launcher3-burnaby

9 years agoTransition from back to showing widget tray if shortcut/Widget configure activity
Hyunyoung Song [Fri, 15 May 2015 23:29:45 +0000 (16:29 -0700)]
Transition from back to showing widget tray if shortcut/Widget configure activity
was cancelled.

Recent refactoring of the State inside Launcher introduced a check
of which state can show widget tray (only workspace) that was too agressive.

b/21201908

Change-Id: Iaccb44d23485aa101d7720b29335645a74f4dcdc

9 years agoAdding drop shadow effect in allapps
Sunny Goyal [Fri, 15 May 2015 02:24:40 +0000 (19:24 -0700)]
Adding drop shadow effect in allapps

Change-Id: Ic7a9b6e23d925d27a8dcbd418d2609e43917ac45

9 years agoMerge "Optimizing shadow generation by reusing bitmap." into ub-launcher3-burnaby
Sunny Goyal [Fri, 15 May 2015 22:37:58 +0000 (22:37 +0000)]
Merge "Optimizing shadow generation by reusing bitmap." into ub-launcher3-burnaby

9 years agoRemoving some dead code and extra view creation.
Winson Chung [Fri, 15 May 2015 21:12:04 +0000 (14:12 -0700)]
Removing some dead code and extra view creation.

b/21133230

9 years agoOptimizing shadow generation by reusing bitmap.
Sunny Goyal [Fri, 15 May 2015 02:55:10 +0000 (19:55 -0700)]
Optimizing shadow generation by reusing bitmap.

> Not creating unnecessary bitmaps
> Final bitmap is generated as ALPHA_8 instead of ARGB_8888
> The shadow drawing is done directly in the view

Change-Id: I504fa2ea3abdc1a3c3fb9ad57d6e28880d2584a1

9 years agoDon't try and trim null strings.
Winson Chung [Fri, 15 May 2015 19:04:03 +0000 (12:04 -0700)]
Don't try and trim null strings.

Bug: 21161481

9 years agoPreventing homscreen getting filled with secondary user apps, when launcher
Sunny Goyal [Wed, 6 May 2015 19:23:34 +0000 (12:23 -0700)]
Preventing homscreen getting filled with secondary user apps, when launcher
starts for the first time

> Sorting the apps in the work folder by install time

Change-Id: Ia475b4ff3197d90e6dffe070c12c0aa16be9e292

9 years agoMerge "Fixing issue with folder inflation" into ub-launcher3-burnaby
Sunny Goyal [Fri, 15 May 2015 18:51:35 +0000 (18:51 +0000)]
Merge "Fixing issue with folder inflation" into ub-launcher3-burnaby

9 years agoFixing issue with folder inflation
Sunny Goyal [Fri, 15 May 2015 03:44:01 +0000 (20:44 -0700)]
Fixing issue with folder inflation

> Folder was getting placed at the top left, instead of a custom position

Change-Id: Ief279fad1583085c61aaa403e9cbe687da895ae0

9 years agoMerge "Ensure prediction bar is visible when intercepting touch events. " into ub...
Winson Chung [Fri, 15 May 2015 17:01:22 +0000 (17:01 +0000)]
Merge "Ensure prediction bar is visible when intercepting touch events. " into ub-launcher3-burnaby

9 years agoMerge "Fixing crash when drawing prediction bar divider." into ub-launcher3-burnaby
Winson Chung [Fri, 15 May 2015 13:07:36 +0000 (13:07 +0000)]
Merge "Fixing crash when drawing prediction bar divider." into ub-launcher3-burnaby

9 years agoEnsure prediction bar is visible when intercepting touch events.
Winson Chung [Fri, 15 May 2015 13:02:44 +0000 (06:02 -0700)]
Ensure prediction bar is visible when intercepting touch events.

Bug 21180943

9 years agoMerge "Adding padding to the folder content" into ub-launcher3-burnaby
Sunny Goyal [Fri, 15 May 2015 02:21:59 +0000 (02:21 +0000)]
Merge "Adding padding to the folder content" into ub-launcher3-burnaby

9 years agoChanging the text sizes in the widget tray based on feedback from UX
Hyunyoung Song [Fri, 15 May 2015 01:02:15 +0000 (18:02 -0700)]
Changing the text sizes in the widget tray based on feedback from UX

Change-Id: Ide984049a326a6629269e90be3468a53a9dc60e3

9 years agoMerge "Place the work profile badge in the correct bottom right (left for RTL) locati...
Hyunyoung Song [Fri, 15 May 2015 00:09:49 +0000 (00:09 +0000)]
Merge "Place the work profile badge in the correct bottom right (left for RTL) location" into ub-launcher3-burnaby

9 years agoPlace the work profile badge in the correct bottom right (left for RTL)
Hyunyoung Song [Fri, 15 May 2015 00:08:45 +0000 (17:08 -0700)]
Place the work profile badge in the correct bottom right (left for RTL)
location

Also:
- clean up of some code
- remove requestLayout() method call that is not needed.

b/20338602

Change-Id: I65e0e1ac40da2e3fa85af4d3aca54bed3f200a99

9 years agoFixing crash when drawing prediction bar divider.
Winson Chung [Thu, 14 May 2015 22:38:22 +0000 (15:38 -0700)]
Fixing crash when drawing prediction bar divider.

9 years agoMerge "Fixing fast scroller invalidation on pre-L devices." into ub-launcher3-burnaby
Winson Chung [Thu, 14 May 2015 22:55:41 +0000 (22:55 +0000)]
Merge "Fixing fast scroller invalidation on pre-L devices." into ub-launcher3-burnaby

9 years agoDon't account for prediction bar height when there are no predictions.
Winson Chung [Thu, 14 May 2015 19:49:22 +0000 (12:49 -0700)]
Don't account for prediction bar height when there are no predictions.

Change-Id: Icd4d52908de8d2de9d144e8ea469adbbcfe7cad3