Commit Graph

3728 Commits

Author SHA1 Message Date
Sunny Goyal 4bbf419bf9 Removing some duplicate methods
Change-Id: I8a1295ab74890984e8d8508aaa18fd79ac2a032d
2014-11-11 12:24:13 -08:00
Sunny Goyal 8dfe2da698 Adding some spacing between overview panel items
Bug: 18293488
Change-Id: I8731c4d2ad34571a4a3a21b03a5fbae0ba66332f
2014-11-07 12:55:48 -08:00
Sunny Goyal b1b201c9af Merge "Using a proxy call for isAttachedToWindow for pre 19 devices" into ub-now-queens 2014-11-05 23:23:59 +00:00
Sunny Goyal fafca5299e Using a proxy call for isAttachedToWindow for pre 19 devices
Bug: 17423114
Change-Id: I6f0cc306b7fcc8087b4e4fc92bb8796d51a989d6
2014-11-05 15:20:20 -08:00
Sunny Goyal 2e740944ed Merge "Clearing some android list errors/warnings." into ub-now-queens 2014-11-05 23:13:08 +00:00
Sunny Goyal 026f622cc7 Merge "Removing InstallWidgetReceiver related obsolete code." into ub-now-queens 2014-11-05 18:58:16 +00:00
Sunny Goyal 03a2cf1183 Removing InstallWidgetReceiver related obsolete code.
Change-Id: I61700b363f8af6434e750bcb5323e0ad4e5bf011
2014-11-05 10:34:43 -08:00
Sunny Goyal 45634bf8fb Merge "Moving methods which update internal sets on a separate thread" into ub-now-queens 2014-11-03 20:11:05 +00:00
Sunny Goyal b9f261fd3a Clearing some android list errors/warnings.
Change-Id: I2f1f991e61f9e41644ee9943f5a1a15971cca6c1
2014-11-03 11:39:27 -08:00
Adam Cohen c3e12c733e Overlay shouldn't show up above Intro screen
bug: 18173340
Change-Id: Icf738a55398023ab6bad5cced05b25e053dec0a2
2014-10-31 16:34:42 -07:00
Adam Cohen 3f9c971e76 Adding a couple memory optimizations to Launcher
-> Always dispose of widget page views when leaving the activity.
   These pages hold onto many bitmaps.
-> Clear database cache when leaving the activity.

Bug: 17967108
Change-Id: I10ebaaed14e7cd86f09a9afcabd73043705f21b8
2014-10-31 12:15:09 -07:00
Sunny Goyal d90e938db0 Moving methods which update internal sets on a separate thread
Bug: 18152117
Change-Id: I5fccd203b5fe65e79dcc5aead6cb1cb6c3b622fe
2014-10-30 10:32:20 -07:00
Sunny Goyal 5fd733dbae Failing restore, if we have an item outside screen bounds
Bug: 17552590
Change-Id: I2d25847fd05d9579bc29ccbfa62e34809d4855d1
2014-10-29 10:52:54 -07:00
Sunny Goyal 001058054a Merge "Updating backup restore logic" into ub-now-queens 2014-10-29 17:19:24 +00:00
Adam Cohen bc927f9c24 Make sure DragLayer layout params are of the correct type
bug 18141419

Change-Id: I50695a62cf9e1f25c054ac2c7197cd056d54cfae
2014-10-28 16:16:46 -07:00
Sunny Goyal 33d4438976 Updating backup restore logic
> Adding DeviceProfile information in the backup
> Removing SharedPreference backup
> Adding helper methods to abort backup in the middle
> Comparing keys against the backup journal during restore
to avoid restoring corrupt/lost entries
> Old backups are still compatible, but lost keys verification
will be ignored in that case.

Bug: 17937935
Bug: 17951775
Bug: 17260941
Change-Id: Iad48646cfdd69abaff5c163b2055f3b8a9b39b19
2014-10-28 09:27:10 -07:00
Sunny Goyal 9d219685c5 Loading internal default layout if partner layout fails to load
Bug: 18033885
Change-Id: I8399d0107cc3570c0e03d833601abf2cd194b3d3
2014-10-27 16:28:44 -07:00
Adam Cohen 8c4ca9277d Fix edge case where LauncherOverlay scroll woudln't be reset
-> If the Workspace has a single page and the user goes from overscrolling
   in one direction, and then the other, the LauncherOverlay scroll wouldn't
   be set to 0 until the scrolling settled

Change-Id: I29ee9abdfa023ae3599d1590cdaebf457e2220fa
2014-10-24 17:42:33 -07:00
Adam Cohen be25822f76 Add InsettableFrameLayout layout params to easily ignore insets
Change-Id: I117fc34627e24ea5f909c3c87e9c2dbca46babb6
2014-10-24 16:46:19 -07:00
Adam Cohen 0fb5ce20d7 Tweaking close AllApps / Widgets on KK and below
Bug: 17956862

Change-Id: I83b8973b7e98c1c3660221ac65dcb9ca8b4c84fd
2014-10-24 14:15:35 -07:00
Adam Cohen ac36ed6d5a Merge "Was seeing some duplicated icons in the migration flow" into ub-now-queens 2014-10-24 19:52:49 +00:00
Adam Cohen a33f11e20a Was seeing some duplicated icons in the migration flow
-> The only delta between the two icons was slightly different flags
-> No need to consider flags for the purposes of duplication

Change-Id: I161f6ad6023d829e5ebbb15f1a9fbc9306795d80
2014-10-24 12:44:20 -07:00
Adam Cohen 32e34b8405 Merge "Allow LauncherOverlay to access and manage insets" into ub-now-queens 2014-10-24 19:05:15 +00:00
Adam Cohen a6d0492e5f Allow LauncherOverlay to access and manage insets
Change-Id: Ib9faf37eb22ad2a0b18c076978ec9f2fd8864c0c
2014-10-24 11:47:30 -07:00
Sunny Goyal d8cec0945e Disabling restore for below L devices
Change-Id: I262f52e88421637e0d50c048f6d53c6b5754da4e
2014-10-23 20:04:59 -07:00
Sunny Goyal ef728d4292 Refactoring LauncherBackupHelper.java
> Moving a bunch of variables to Global level to make it easier
to maintain state.

Change-Id: I9ded313bd4f673f45c61556b8c66607dc78a5ae9
2014-10-23 10:46:14 -07:00
Sunny Goyal 24e0fc1221 Merge "Deleting workspace items from db which have an invalid placement" into ub-now-queens 2014-10-23 16:53:44 +00:00
Sunny Goyal 09c7fc7144 Merge "Removing AccessibleTabView and some other dead code." into ub-now-queens 2014-10-23 16:52:30 +00:00
Adam Cohen 24e18aea81 Merge "First pass of the Launcher Overlay interface / impl" into ub-now-queens 2014-10-23 00:41:58 +00:00
Adam Cohen c2d6e897db First pass of the Launcher Overlay interface / impl
-> Added simple reference launcher extension
-> Make launcher able to handle a null qsb

Change-Id: Ib1575243cac800a335e95bbf00cdc394bb4741c3
2014-10-22 17:40:39 -07:00
Sunny Goyal 1231c0743c Merge "Updating ItemInfo objects in the worker thread" into ub-now-queens 2014-10-21 18:30:20 +00:00
Adam Cohen e75e7ab4fd Merge "Not opening all apps again when AppInfo or Uninstall is selected" into ub-now-queens 2014-10-21 18:11:34 +00:00
Sunny Goyal 1aaf6f20a7 Removing AccessibleTabView and some other dead code.
Change-Id: Ia122a6277f924e6077dbf15a4dc40b5042aa987d
2014-10-21 10:05:23 -07:00
Sunny Goyal 2fb6609c31 Merge "Showing widgets in a disabled state, when running in safe mode" into ub-now-queens 2014-10-20 20:41:47 +00:00
Sunny Goyal c69b92185a Merge "Using LinearLayout for overview panel" into ub-now-queens 2014-10-20 20:35:32 +00:00
Sunny Goyal 3a5a9d18da Refactoring layout parsing code
Change-Id: Iee5b2280cb1e841bcfe91fdcf523de6fa7f7f3b8
2014-10-17 14:34:49 -07:00
Adam Cohen 91d79e820a Merge "Adding ability to list folder items in separate file" into ub-now-queens 2014-10-17 16:30:00 +00:00
Sunny Goyal 4514aa24c8 Merge "Moving the focus indicator instantly to the target position, instead of begining the next animation from the middle." into ub-now-queens 2014-10-17 01:51:31 +00:00
Adam Cohen cee8c66f9a Adding ability to list folder items in separate file
-> remove all apps default layouts

Bug 17569015

Change-Id: I39b899b61d5b1cff2d7801d281dacfc804c403c5
2014-10-17 01:33:55 +00:00
Sunny Goyal e0987c5c40 Using LinearLayout for overview panel
> Using equal weight to ensure that all items are of same width
> The total width of the panel is set in DeviceProfile#layout

Bug: 17456856
Change-Id: Ic98f5c4f7befd4d32d1b52dfe8c9f5b6c58b020a
2014-10-16 15:39:25 -07:00
Sunny Goyal 736f5af04c Fixing some IconCache methods not thread safe
Bug: 17981568
Change-Id: I0d49604c2e38bc9017cba527d87e24e8b086f1da
2014-10-16 14:08:47 -07:00
Sunny Goyal fc0fe6b9be Deleting workspace items from db which have an invalid placement
Change-Id: I1d616e8cd533acd6ecd334d85e6468163f31f6a4
2014-10-16 12:29:57 -07:00
Sunny Goyal 8498eb40ee Not opening all apps again when AppInfo or Uninstall is selected
Bug: 17460202
Change-Id: Id67a9637324abceb5b446fff5999db2a0910401b
2014-10-16 12:09:28 -07:00
Sunny Goyal 9b4b0812fe Showing widgets in a disabled state, when running in safe mode
Bug: 15172107

Change-Id: I7209836ca4ffacde7b7b232e230e9b9f1a0e54bb
2014-10-16 11:20:41 -07:00
Helena Josol d37a1f5abe Merge "Add more Launcher files to delete on Clear Launcher Data" into ub-now-queens 2014-10-16 16:51:43 +00:00
Helena Josol 28db280b7a Add more Launcher files to delete on Clear Launcher Data
Bug: 12753154
Change-Id: I00679bdc6eff70a1398122aaa955c08eabd556b1
2014-10-16 17:35:50 +01:00
Adam Cohen 34899b9c1a Merge "Use LauncherCallbacks model instead of method overrides" into ub-now-queens 2014-10-15 19:47:48 +00:00
Sunny Goyal 1e76f8882e Merge "Adding NPE check in InstallShortcutReceiver" into ub-now-queens 2014-10-15 19:40:31 +00:00
Adam Cohen 9211d42f13 Use LauncherCallbacks model instead of method overrides
-> When extending the Launcher Activity, instead of overriding
   public and protected methods, create a proper interface
-> This helps define the interface when extending Launcher
   more formally and more clearly

Change-Id: Ib38e8a376b2242d4078bf6856bb145f5b5f0da80
2014-10-15 11:49:50 -07:00
Sunny Goyal 2350bc9785 Adding NPE check in InstallShortcutReceiver
> Removing some unused methods

Bug: 17971165
Change-Id: I1bc5c764fd65b44c950a58371b60d2b53c221995
2014-10-14 16:43:45 -07:00