Commit Graph

12805 Commits

Author SHA1 Message Date
Sunny Goyal ed5d960ec1 Removing some bitmap drawables.
Loading the edge drawables only when legacy DND is enabled

Change-Id: I1c66d03146fb7fa7d61a4abf8c2e5a4289a117b9
2016-10-18 15:55:55 +01:00
Sunny Goyal d2959b9ee7 Missing call in write to parcel
am: a833b6d720

Change-Id: Ifc9dc38a0ddc6787f78fddadd2c2307d2e413c4f
2016-10-18 08:27:00 +00:00
Sunny Goyal a833b6d720 Missing call in write to parcel
Bug: 17924700
Change-Id: Ie48757fc53674979b8e92f96b5281f965e2ef3b4
2016-10-18 08:51:22 +01:00
Sunny Goyal b0bb486769 Removing the logic around closeSystemDialog on ACTION_CLOSE_SYSTEM_DIALOGS Launcher does not use any panels which need closing & system sends an onActivityResult(RESULT_CANCELLED), we do not need special handling for waitingForResult
am: f4b457709f

Change-Id: I2880167fbf37ff62ec4af88e233ab0b555453dae
2016-10-17 23:42:28 +00:00
Sunny Goyal f4b457709f Removing the logic around closeSystemDialog on ACTION_CLOSE_SYSTEM_DIALOGS
Launcher does not use any panels which need closing & system sends an
onActivityResult(RESULT_CANCELLED), we do  not need special handling for
waitingForResult

Bug: 32127718
Change-Id: Iff5161444bc909442f6acbe52cb3fb5a2d9ae4da
2016-10-18 00:17:54 +01:00
Bill Yi d51ffaec80 Import translations. DO NOT MERGE
am: 3cca5a0cae  -s ours

Change-Id: Iafd1f484aa07db9cdde2e934a8bfb3dc24e61725
2016-10-14 09:22:54 +00:00
Bill Yi 02662a1209 Import translations. DO NOT MERGE
Change-Id: I086069707cac0763e3d3704db8ba414c514b83d3
Auto-generated-cl: translation import
2016-10-13 16:57:53 -07:00
Bill Yi 3cca5a0cae Import translations. DO NOT MERGE
Change-Id: I93bb668512491ac8c026e8a75b8a50b0252965d4
Auto-generated-cl: translation import
2016-10-13 16:56:31 -07:00
Sunny Goyal b57ff9bd2f Merge "Fixing crash in folder" into ub-launcher3-master 2016-10-13 19:32:19 +00:00
Sunny Goyal f9136dac42 Fixing crash in folder
Getting the parent, before the folder is removed from DragLayer

Bug: 32141195
Change-Id: I0bd3163a1425c994280cd61197845afab3c2c185
2016-10-13 09:49:52 -07:00
Sunny Goyal 2a65020da1 Removing the section break UI support
This was an exploration for an alternative UI in all apps, where we
show section headers before every section. This was never released.

Change-Id: I2d36f1d078cc9a6f3ba6f0ec9655412182c9b016
2016-10-13 09:39:36 -07:00
Tony Wickham 7630369904 Merge "Add feature flag to disable light status bar" into ub-launcher3-calgary-polish
am: 1d29c6f7d2

Change-Id: Ic526e6ed254d7af5832afa4ce3dc47747031fec3
2016-10-13 00:53:15 +00:00
Tony Wickham 7061c9788f Add feature flag to disable light status bar
am: 0fed55bf03

Change-Id: Ia42af86a0e052bb05f0ed2ce6e8372b4408fed13
2016-10-13 00:53:13 +00:00
Tony Wickham 1d29c6f7d2 Merge "Add feature flag to disable light status bar" into ub-launcher3-calgary-polish 2016-10-13 00:41:57 +00:00
Tony Wickham 0fed55bf03 Add feature flag to disable light status bar
Bug: 32085545
Change-Id: I4860145b00893c20f7e37817e9659ccd90409966
2016-10-12 16:14:36 -07:00
Tony Wickham 33f0a768ef Merge "Use Launcher.getLauncher(Context) instead of type-casting." into ub-launcher3-calgary-polish
am: cf6195268d

Change-Id: I6b2d73ab0f3053d088f7d579330592dae637db9d
2016-10-12 21:48:32 +00:00
Tony Wickham 6982de2485 resolve merge conflicts of 2fd0208 to ub-launcher3-master
Change-Id: I20ad6eaace81786be080e28d6eb551908add6d90
2016-10-12 14:38:43 -07:00
Tony Wickham cf6195268d Merge "Use Launcher.getLauncher(Context) instead of type-casting." into ub-launcher3-calgary-polish 2016-10-12 21:22:05 +00:00
Sunny Goyal 3f0a53fa44 Making the width of the fast scroller popup as wrap_content
Adding minWidth and width=wrap_content, so that the popup can
grow for wider characters.

Change-Id: I6e0c4087df51e37f696c47f20f146f32d41e8bc8
2016-10-11 15:51:29 -07:00
Sunny Goyal f8fa9e4124 Merge "Simplifying fast scroller logic" into ub-launcher3-master 2016-10-11 22:09:48 +00:00
Sunny Goyal 9c76a9cece Announcing the final action when the drag-drop completes
am: 3f8864069b

Change-Id: Iba49c7ba1d1c2d1f4c279970bbcc3ff96af5ccc0
2016-10-11 20:12:59 +00:00
Sunny Goyal 3f8864069b Announcing the final action when the drag-drop completes
Bug:31926812
Change-Id: Id0566cc7dc15732981320807a02fb9cae8a885e6
2016-10-11 10:55:14 -07:00
TreeHugger Robot fd8eaee27f Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-10-11 07:22:03 +00:00
Sunny Goyal 1749f53ae0 Merge "Moving come helper methods to corresponding classes" into ub-launcher3-master 2016-10-10 21:19:00 +00:00
Sunny Goyal 064745ab2f Merge "Using common method for updating icons in cache" into ub-launcher3-master 2016-10-10 21:18:45 +00:00
Sunny Goyal 41e1e54fdf Merge "Updating the folder cell dimensions to be closer to a square" into ub-launcher3-calgary-polish
am: 327f7b7125

Change-Id: I5d1dfd626223cdd27de2f58ca84426d2c7de630b
2016-10-10 21:17:28 +00:00
Sunny Goyal 802f3255a7 Updating the folder cell dimensions to be closer to a square
am: 68f240eb54

Change-Id: I68047a8eba8b3a0c8117fedbc45b6100dd04b023
2016-10-10 21:17:28 +00:00
Sunny Goyal 5d9fb0e92f Simplifying fast scroller logic
> Using a separate view for drawing the popup. This allows us to use elevation
  property instead of drawing the shadow as bitmap.
> During the thumb animation, invalidating the full track width, instead of
  invalidating the track and thumb separately.
> The thumb path is calculated at 0,0 and drawn using canvas.translate().
   This avoids recalculating the path on every scroll.

Change-Id: I48741e5b4432df0d939016db284d7aaf52cc2aa6
2016-10-10 14:17:16 -07:00
Sunny Goyal 631ffbda64 Merge "Refactoring floating view opening/closing logic" into ub-launcher3-master 2016-10-10 21:00:10 +00:00
Sunny Goyal 51e15402fa Merge "Refactoring AppWidgetResizeFrame" into ub-launcher3-master 2016-10-10 20:59:34 +00:00
Sunny Goyal 8e0e1d7609 Moving come helper methods to corresponding classes
> Moving isPackageEnabled to InstallShortcutReceiver
> Moving the deep shortcut map to the data model
> Removing appInfo.flags. Instead fetching the flags when needed

Change-Id: I654dd8acefa7b7d183b0419afbe112bef001d536
2016-10-10 20:58:56 +00:00
Bill Yi b4e6379990 Import translations. DO NOT MERGE
Change-Id: I0f12c5e0414f45e751b726160759de71287b9686
Auto-generated-cl: translation import
2016-10-10 13:48:58 -07:00
Sunny Goyal 327f7b7125 Merge "Updating the folder cell dimensions to be closer to a square" into ub-launcher3-calgary-polish 2016-10-10 20:37:51 +00:00
Sunny Goyal 740ac7f00e Refactoring floating view opening/closing logic
> Creating a base view for floating panels with some common methods
> Moving the getOpen method to individual classes
> Moving the folder icon animation logic to folder icon
> Moving all the logic related for opening folder to Folder class

Change-Id: I898dfb6870b857cb921d2729b89618bc43ff2e88
2016-10-10 13:36:03 -07:00
Jonathan Miranda cc88b5bc94 Merge "Added logging for pinching in/out b/w workspace and overview." into ub-launcher3-master 2016-10-10 18:35:45 +00:00
Hyunyoung Song d84a3f9401 Merge "Refactors in UserEventDispatcher" into ub-launcher3-master 2016-10-10 17:03:14 +00:00
Sunny Goyal 08ca40f976 Refactoring AppWidgetResizeFrame
> Defining the layout in xml
> Simplifying the touch handling calculations

Change-Id: Iccfd82161d1e678d77ad6ff63f76e04ad905f9d8
2016-10-07 15:16:29 -07:00
Hyunyoung Song 5fe414f9a4 Merge "Set correct accessibility delegate for the overview mode. b/32004538" into ub-launcher3-calgary-polish
am: 215a2ea0e1

Change-Id: I1e8cb796f98624484a00a5d8051f04a52a8af4b8
2016-10-07 21:51:45 +00:00
Hyunyoung Song 62162d33be Set correct accessibility delegate for the overview mode. b/32004538
am: eb205af09f

Change-Id: I065a438600dbdd42faf0216ba657ac3ac7935947
2016-10-07 21:51:44 +00:00
Hyunyoung Song 215a2ea0e1 Merge "Set correct accessibility delegate for the overview mode. b/32004538" into ub-launcher3-calgary-polish 2016-10-07 21:48:19 +00:00
Hyunyoung Song eb205af09f Set correct accessibility delegate for the overview mode.
b/32004538

Change-Id: Ie68fe418b777784d747b004600ef1c98e96a4791
2016-10-07 14:19:30 -07:00
Sunny Goyal 68f240eb54 Updating the folder cell dimensions to be closer to a square
Bug: 31813976
Change-Id: I05d7520daee28a310ff122deaf265951e454d21e
2016-10-07 13:36:56 -07:00
Tony 2fd0208605 Use Launcher.getLauncher(Context) instead of type-casting.
Bug: 32010039
Change-Id: Icb80d3e547a706740b84df2cb80f99e4a7f81c43
2016-10-07 12:50:01 -07:00
Sunny Goyal fc744144ef Using common method for updating icons in cache
Change-Id: Ide1979d02387ffcb8839174ab9fdfa9e5b6e1d47
2016-10-07 11:46:31 -07:00
Sunny Goyal 94f0c04e1d Merge "Using add/replace instead of update when updating an entry." into ub-launcher3-calgary-polish
am: 81300a9f75

Change-Id: I0e34f2a0b17b702e1e29bbb5f3c73e09811ed1a6
2016-10-07 18:18:54 +00:00
Sunny Goyal 97574ede5a Using add/replace instead of update when updating an entry.
am: caa52918f1

Change-Id: I728322245f07e0bc87e8a0726a22932f57248500
2016-10-07 18:13:30 +00:00
Sunny Goyal 81300a9f75 Merge "Using add/replace instead of update when updating an entry." into ub-launcher3-calgary-polish 2016-10-07 18:04:16 +00:00
Sunny Goyal caa52918f1 Using add/replace instead of update when updating an entry.
Update operation was not including version and updateTime columns
leading to a update operation getting called wheneven launcher loads.

Bug: 32004297
Change-Id: I5f1793633ce3bb72d5641a82502b3ba8b9cdff7d
2016-10-07 10:00:56 -07:00
Hyunyoung Song 9135a52eba Bye bye swipe down search b/31935141
am: 1ee2db14e0

Change-Id: I067cca8161d23f2df7ed03acd569a02a2b0de2b4
2016-10-07 01:48:35 +00:00
Hyunyoung Song df7ef68bbf Refactors in UserEventDispatcher
- LaunchSource -> LogContainer

Change-Id: I71bfee992fb1ba7ae80e824d419f7bf8d3020999
2016-10-06 17:52:22 -07:00