Commit Graph
9208 Commits
Author SHA1 Message Date
Sunny Goyal b2d46ceaaa Configuration of workspace through app restrictions
> Checking for a grid specific layout before loading the default layout

Change-Id: I1e8d4176341e61d0876b0a9bea9ad8010e3a0f6a
2015-03-27 13:00:44 -07:00
Winson Chung 28f4188bac Merge "Removing more code with API 21 dependencies." into ub-launcher3-burnaby 2015-03-25 01:06:44 +00:00
Winson Chung 3d9490ab95 Removing more code with API 21 dependencies.
Change-Id: I16c914334ce0694b84626269ae4bb5e83082c739
2015-03-24 18:02:01 -07:00
Winson Chung a6b00b3223 Merge "Ensure that we are not using the new View constructor." into ub-launcher3-burnaby 2015-03-24 23:34:27 +00:00
Winson Chung d0930655e5 Ensure that we are not using the new View constructor.
Change-Id: Iac2dba6d42cd60d6260aee9afc590564d25919a5
2015-03-24 16:31:45 -07:00
Winson Chung e7084159de Merge "Check the code point instead of the character when determining digit sections." into ub-launcher3-burnaby 2015-03-24 22:54:07 +00:00
Winson Chung 3879194799 Check the code point instead of the character when determining digit sections.
Change-Id: Ie21fda92ca5097cc9deb7c59001b61dc44603d4b
2015-03-24 15:23:51 -07:00
Sunny Goyal ca93ec66d0 Merge "Removing unused strings with no default translations" into ub-launcher3-burnaby 2015-03-24 22:19:19 +00:00
Sunny Goyal 68052094f5 Removing unused strings with no default translations
> Removes build system gives warning when Launcher3 is build

Change-Id: I40e5df7538d244b3ec3f2b722bf2606e622011f2
2015-03-24 14:38:33 -07:00
Winson Chung dcb3fa6939 Merge "Making the scrollbar scrubbable." into ub-launcher3-burnaby 2015-03-24 17:33:30 +00:00
Winson Chung f819dc2bc7 Making the scrollbar scrubbable.
- This change in behavior will remove the ability to scrub anywhere in the gutter to
  start fast-scrolling, but requires the user to touch near the scroll bar to start
  fast-scrolling.
- Also fixes issue with wonky scrollbar due to the fake section breaks

Change-Id: I34b08ac46ea93f7f4cad7ccde1048a388ee6a55d
2015-03-24 10:30:05 -07:00
Sunny Goyal 10451a967f Merge "Adding BaseActivity which can be overriden for custom behavior" into ub-launcher3-burnaby 2015-03-23 19:17:11 +00:00
Sunny Goyal 1d0b093a6e Adding BaseActivity which can be overriden for custom behavior
Change-Id: I6707aa99f5d33dceede226a6367e24482f5157f6
2015-03-21 11:11:03 -07:00
Adam Cohen 2670980ab7 Remove dublicate BubbleTextView styleable
Change-Id: Ib1db985515194dfeebe2dfa934b29023ae0a3075
2015-03-21 09:18:56 -07:00
Sunny Goyal 5319b2bb3b Merge "Removing all dependencies of launcher code on wallpaper-picker" into ub-launcher3-burnaby 2015-03-21 01:19:35 +00:00
Sunny Goyal 244fa8c9a2 Merge "Rewrite: Widget preview loader logic" into ub-launcher3-burnaby 2015-03-21 01:19:26 +00:00
Sunny Goyal 6a1e95a3df Removing all dependencies of launcher code on wallpaper-picker
> WallpaperPicker can still depend on launcher code, but not the
other way round.

Change-Id: I93a07f985c3955c638a68a5fad9c09b184a879b9
2015-03-20 18:16:58 -07:00
Sunny Goyal e85d714522 Fixing getItemCount in FolderPagedView
> When a folder is created, it initially has no item, and then
two shortcut info are added to it. Initial logic assumed that the
folder it created with on item already present

Bug: 19868273
Change-Id: I8850b71d2bace835f94e3cd791c173d40752d2e6
2015-03-20 18:12:53 -07:00
Sunny Goyal 5b0e669169 Rewrite: Widget preview loader logic
> Widget previews are saved in data dir instead of cache dir
> Expiring widget previews similar to IconCache
> Removed support for setting thread priorities

Bug: 19865031
Change-Id: Ib6033c2b1ff8ae61bba8762ca994ccd8217d3c75
2015-03-20 17:31:11 -07:00
Sunny Goyal 71c3baf5eb Merge "Removing unnecessary intent-filter construction" into ub-launcher3-burnaby 2015-03-20 19:29:12 +00:00
Adam Cohen 091440a9cb Reducing method count by eliminating synthetic accessors
Elimates 304 methods based on dex analysis

The java compiler generates sythetic accessor methods for all private
fields, methods and contructors accessed from inner classes. By marking them
package-private and @Thunk instead, sythentic accessor methods are no
longer needeed. These annotated elements should be treated as private.

Change-Id: Id0dc2c92733474250d8ff12fa793d3a8adeb1f26
2015-03-20 11:15:54 -07:00
Sunny Goyal f846b9054c Merge "Removing unused logging" into ub-launcher3-burnaby 2015-03-20 01:36:07 +00:00
Robin Lee ec3fe183eb am 2dd9f018: (-s ours) Don\'t clobber widgets with the same component - DO NOT MERGE
* commit '2dd9f018ff32a1f34023826b64422622f6610daf':
  Don't clobber widgets with the same component - DO NOT MERGE
2015-03-19 21:33:31 +00:00
Robin Lee 26ace12135 Don't clobber widgets with the same component.
By not storing them in a HashMap keyed against ComponentName (which is
almost guaranteed to conflict with other widgets when managed profiles
are in play).

Bug: 19444068
Change-Id: I6ffce78e8aaf265196239670404cbdaff9fa09be
2015-03-19 21:23:13 +00:00
Robin Lee 2dd9f018ff Don't clobber widgets with the same component - DO NOT MERGE
By not storing them in a HashMap keyed against ComponentName (which is
almost guaranteed to conflict with other widgets when managed profiles
are in play).

Bug: 19444068
Change-Id: I6ffce78e8aaf265196239670404cbdaff9fa09be
2015-03-19 21:16:34 +00:00
Sunny Goyal 0f93d5e718 Merge "Cleaning up widget preview loader" into ub-launcher3-burnaby 2015-03-19 21:05:17 +00:00
Sunny Goyal 27595796b3 Removing unnecessary intent-filter construction
Change-Id: I1f831ef48ed69381ad260f7d541f39a049c498a5
2015-03-19 13:19:21 -07:00
Sunny Goyal 15b480f234 Removing unused logging
> We store some local logs which are never propagated to the
server and cause unnecessary file-io during app launch

Change-Id: I2b41c3af182de2a87f38ad88f3bae9d250574c26
2015-03-19 10:21:53 -07:00
Adam Cohen 57dadda844 Merge "Make sure we set the QSB bar on the SearchDropTargetBar" into ub-launcher3-burnaby 2015-03-19 05:33:16 +00:00
Adam Cohen b0df1b0e1a Make sure we set the QSB bar on the SearchDropTargetBar
Change-Id: If106bae15b3d628d6385711bcb8059acd17d6147
2015-03-18 22:22:03 -07:00
Sunny Goyal 4cad7538c9 Cleaning up widget preview loader
> Removing unnecessary canvas cache
> Removing unnecessary new bitmap creation

Change-Id: Ic9f45c5a204ea4d32dbf93c21a6a7fd6baea4b51
2015-03-18 22:20:20 -07:00
Sunny Goyal 6b6ffbe907 Merge "Invalidating sorted list after the item has been added" into ub-launcher3-burnaby 2015-03-18 18:13:11 +00:00
Sunny Goyal 2e688a8cc2 Invalidating sorted list after the item has been added
Bug: 19815825
Change-Id: If10d19d41a2400b5a7350e40fa6116494dc9c5a6
2015-03-18 10:23:39 -07:00
Sunny Goyal 8758ea050a Using MainThreadExecuter instead of View.post
Change-Id: Ie7ba88bd3bb412d998ecb51095cbaa74b3b39c10
2015-03-18 10:09:10 -07:00
Sunny Goyal 34b6527cef Lazy loading high res icons
> Loading low-res icons for icons which are not visible on
the homescreen.

Change-Id: I8ac7bf09f6030ed554cb60a4cd402f3f36ffe12b
2015-03-17 15:05:23 -07:00
Sunny Goyal 5d85c44fd8 Adding sort switch in FolderPagedView
> Adding options column in DB to store generation purpose flags
> Storing isSorted flag in FolderInfo
> Adding a switch for A-Z sorting (only visible if pageCount > 1)
> When in sorted mode, spring-load snaps to the target location for 1.5 seconds

Change-Id: I8c7c778d2cc3ccbd35a2890a1a705e1c1a7e9a66
2015-03-17 14:49:38 -07:00
Hyunyoung Song ce53e6dd12 Merge "key event focus logic should support large tablets" into ub-launcher3-burnaby 2015-03-17 18:36:06 +00:00
Hyunyoung Song 18bfaafd3d key event focus logic should support large tablets
TL;DR;; On smaller tablets, landscape = vertical hotseat bar, and
portrait = horizontal hotseat bar. However, in larger tablets, hotseat bar is
always horizontal. This is now correctly handled using DeviceProfile.isVerticalBar
method.

b/19732584

Change-Id: I1035c89b4685be12dbc863f8a1465047a5fec6a6
2015-03-17 11:32:21 -07:00
Hyunyoung Song 40bff39b47 Merge "Add dummy string to Launcher3Tests resources to fix build error." into ub-launcher3-burnaby 2015-03-17 00:35:26 +00:00
Hyunyoung Song 61e3a972e7 Add dummy string to Launcher3Tests resources to fix build error.
TL;DR;; since ag/656186 which moved the all-makefiles-under call to the bottom
of the launcher's Android.mk file, resources for test package
will not build without a dummy file. This change is necessary for the
test team to continuously run the android tests.

b/19566571

Change-Id: I4ff422ac019df4447348d953c5dd606d2a0dcc58
2015-03-16 17:23:58 -07:00
Sunny Goyal 27959c3039 am ef30a2a8: (-s ours) [DO NOT MERGE] Fixing build error in launcher_protoutil_lib
* commit 'ef30a2a8312b83985a8ad3eb8feebbb944cbae01':
  [DO NOT MERGE] Fixing build error in launcher_protoutil_lib
2015-03-17 00:20:10 +00:00
Winson Chung 979853943c Merge "Tweaking the apps list fast scroller." into ub-launcher3-burnaby 2015-03-16 23:48:34 +00:00
Adam Cohen 2bbbd746d2 Don't translate these strings until they're final
Change-Id: I145aecfb83380101404494b72e68962b1ebfbd53
2015-03-16 16:10:23 -07:00
Winson Chung aa2ab254ea Tweaking the apps list fast scroller.
- Making the view span the full width so that you can grab the scroller on the edge of the screen.
- Offsetting the fast-scoll popup so that you can see it as you scrub.

Change-Id: If1b1934bbeac0660d829cfc29c9e588df927c5e5
2015-03-16 15:20:39 -07:00
Sunny Goyal b4cd42a1df Extracting out CacheKey to a separate class
Change-Id: Ifdd7cc79668b34298e3f788ee684080cecb86c3e
2015-03-16 14:54:50 -07:00
Sunny Goyal ef30a2a831 [DO NOT MERGE] Fixing build error in launcher_protoutil_lib
> Since test build rules were included before the launcher_protoutil_lib
rule, all the following paths got prefixed with "tests/" giving file
not found error

Change-Id: I13f96fc2f14336b0ff40f086176cc4afbc254791
(cherry picked from commit d68725cd20)
2015-03-16 17:57:33 +00:00
Winson Chung c13b994c04 Merge "Minor changes to apps view." into ub-launcher3-burnaby 2015-03-13 18:50:18 +00:00
Winson Chung 888b3a10bf Minor changes to apps view.
- Ensuring that apps with numbers and in other locals have a section header.
- Adding an empty state when there are no apps with the current filter
- Removing unnecessary call to check AppInfos

Change-Id: I9dc541c680475b98745fa257ad7e4af06e3966c9
2015-03-13 11:48:45 -07:00
Sunny Goyal d68725cd20 Fixing build error in launcher_protoutil_lib
> Since test build rules were included before the launcher_protoutil_lib
rule, all the following paths got prefixed with "tests/" giving file
not found error

Change-Id: I13f96fc2f14336b0ff40f086176cc4afbc254791
2015-03-13 10:28:42 -07:00
Sunny Goyal 3739158bd7 Merge "Scrolling folder during drag-drop" into ub-launcher3-burnaby 2015-03-13 16:29:53 +00:00