summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fixing issue with hotseat being on the wrong side of the screen in ↵Winson Chung2015-06-031-3/+5
|\ | | | | | | RTL." into ub-launcher3-burnaby
| * Fixing issue with hotseat being on the wrong side of the screen in RTL.Winson Chung2015-06-031-3/+5
| | | | | | | | | | | | Bug: 21499466 Change-Id: I566cd89dfb855f89f4e68bf56e48bf99204b11ab
* | Merge "Stylus support: handling drag n drop for widgets" into ↵Mady Mellor2015-06-031-3/+11
|\ \ | | | | | | | | | ub-launcher3-burnaby
| * | Stylus support: handling drag n drop for widgetsMady Mellor2015-06-021-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | This alters the widget host view code to consider stylus button presses allowing the user to pick up widgets with a stylus button press, and drop them by releasing the button. Bug: 20430722 Change-Id: I359f72bd80016f4b313aab1325cc92d7c6fd2a8c
* | | Merge "Stylus support: creating and setting listeners for stylus button ↵Mady Mellor2015-06-035-1/+134
|\ \ \ | |_|/ |/| | | | | press" into ub-launcher3-burnaby
| * | Stylus support: creating and setting listeners for stylus button pressMady Mellor2015-06-025-1/+134
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This updates almost(*) all locations that use a long press listener to also set a custom touch listener that recognizes the stylus button press action. The stylus button press action is: when a stylus touches a view while the primary stylus button is pressed which may occur on a DOWN or MOVE event. *The location this is *not* enabled for is: Longpress to enter "overview" mode -- this isn't really a selection or drag n drop action; it is also easy to accidentally do this while using the stylus gesture to drag n drop items which is not an ideal interaction. Also not set for the "cling" that demonstrates this. Bug: 20430722 Change-Id: I9343f143261a7b4fada9afca28b8a11a60dbecca
* | Merge "Adding context for app launches." into ub-launcher3-burnabyWinson Chung2015-06-0210-26/+147
|\ \
| * | Adding context for app launches.Winson Chung2015-06-0210-26/+147
| | | | | | | | | | | | | | | Bug: 21492784 Change-Id: I1b28ac8f44498e1d9770e770b074f19c721c3f10
* | | Remove use of API level 19 classes.Winson Chung2015-06-021-2/+2
|/ / | | | | Bug: 21583308
* | Removing some synthetic method creationSunny Goyal2015-06-0220-59/+62
| | | | | | | | | | | | > Make package-private and @Thunk all private methods and constructors accessed from inner classes. Change-Id: Ie5913860a0c33e48e9bf68f9b5b1699f64c2f174
* | Build fix: Removing FastOutSlowIn interpolatorSunny Goyal2015-06-011-3/+5
| | | | | | | | Change-Id: Ia84445285d013fe8da3c895f5264f329f2403890
* | Folder UI fixesSunny Goyal2015-06-012-9/+32
| | | | | | | | | | | | | | | | | | | | > Fixing top padding (b/21304523) > Alinging the label and page indicators to the icons > Fixing folder label alingment in RTL (b/21445821) > Updating footer animation (b/21336853) Bug: 21304523, 21445821, 21336853 Change-Id: I2cf3a48c76653b19437b31252d6ee559ce798094
* | Adding an asynchronous search interface for apps searchSunny Goyal2015-06-017-90/+357
| | | | | | | | Change-Id: Ib09df0a3d587dc60ed888ddbd0edf058e4a1cc3e
* | Fixing crash on tablets from merging scheme changes.Winson Chung2015-06-011-4/+4
| |
* | Merge "Add the Allow Rotation setting to Launcher3." into ub-launcher3-burnabyRahul Chaturvedi2015-06-014-10/+123
|\ \
| * | Add the Allow Rotation setting to Launcher3.Rahul Chaturvedi2015-06-014-10/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL adds a Settings activity along with the code needed to provide a "Allow Rotation" setting to all phones and tablets. This setting is set to false for phones and true for tablets. On changing the setting from unlocked to locked, the launcher (and the Settings activity) will get locked to the orientation the user was in when he disabled "Allow Rotation". This is consistent with how the natural rotation feature of Android works. Change-Id: I8a1c59d1fa0bb9262530cad96e0a9bdbab0d9344
* | | Avoid merging app sections across scripts.Winson Chung2015-06-011-10/+30
| |/ |/| | | | | | | Bug: 20222023 Change-Id: I171d75a33694fc2cb347a32cff209f64fe3bf7c3
* | Merge "Revert "Avoid merging sections across scripts."" into ↵Winson Chung2015-06-011-21/+6
|\ \ | | | | | | | | | ub-launcher3-burnaby
| * | Revert "Avoid merging sections across scripts."Winson Chung2015-06-011-21/+6
| | | | | | | | | | | | | | | | | | This reverts commit 595395d84f0507a1c5c163ad4722fa4345376079. Change-Id: I44913141f6cb3af29b4509d6b7c317247d1f24c9
* | | Merge "Avoid merging sections across scripts." into ub-launcher3-burnabyWinson Chung2015-06-011-6/+21
|\| |
| * | Avoid merging sections across scripts.Winson Chung2015-06-011-6/+21
| | | | | | | | | | | | | | | Bug: 20222023 Change-Id: I6f6577112845fec14ae2e9c6e88ff3569bd2f1af
* | | Null check in accessibility delegateSunny Goyal2015-06-011-1/+5
| | | | | | | | | | | | | | | bug: 21338696 Change-Id: I00d67e53e03e33b26a8eadb669b60fec47553f26
* | | Merge "Start adding unit tests for the invariant device profile / Refactor" ↵Hyunyoung Song2015-05-291-129/+119
|\ \ \ | | | | | | | | | | | | into ub-launcher3-burnaby
| * | | Start adding unit tests for the invariant device profile / RefactorHyunyoung Song2015-05-281-129/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - removed redundant code to sort the device profiles - removed DeviceProfileQuery class - Added a helper method inside the test to easily generate interpolation graph looks like: https://docs.google.com/a/google.com/spreadsheets/d/1a1fdemrOqIDixiql77h0anWzUD3GlYfGsbP2FfIhyPM/edit?usp=sharing Change-Id: Ia4c54a8d59a049c418c08d1b766f07ac6e1d0944
* | | | Merge "Fixing screen jumps when performing DnD in rtl mode" into ↵Sunny Goyal2015-05-291-0/+1
|\ \ \ \ | |_|/ / |/| | | | | | | ub-launcher3-burnaby
| * | | Fixing screen jumps when performing DnD in rtl modeSunny Goyal2015-05-291-0/+1
| | | | | | | | | | | | | | | | | | | | Bug: 21445825 Change-Id: Ie43d24ce9c8c08dc2c4b3e24692d497760d8cd2d
* | | | Move fast scrolling logic to BaseRecyclerViewHyunyoung Song2015-05-295-307/+395
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This change has no effect on actual functionality but to make it easier for widget tray to inherit the goodness of the 1) fast scroller functionality 2) unify the scroll look and feel with the all apps view b/21375339 Change-Id: Ib859b1c3352c0b69f16549ded8f20eb82cf58ba8
* | | | Merge "Ensuring that each CacheEntry has a default title and content ↵Winson Chung2015-05-281-3/+9
|\ \ \ \ | | | | | | | | | | | | | | | description." into ub-launcher3-burnaby
| * | | | Ensuring that each CacheEntry has a default title and content description.Winson Chung2015-05-281-5/+9
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | - Also defer adding entry to cache until we know that it has correctly loaded Bug: 21446070 Change-Id: Ia7aae65ecdc5d9d7741f75d3fb6e7b85daeafeff
* | | | Merge "Setting scroll X, Y and related attributes for TYPE_VIEW_SCROLLED ↵Vadim Tryshev2015-05-281-1/+6
|\ \ \ \ | | | | | | | | | | | | | | | event." into ub-launcher3-burnaby
| * | | | Setting scroll X, Y and related attributes for TYPE_VIEW_SCROLLED event.Vadim Tryshev2015-05-281-1/+6
| | | | | | | | | | | | | | | | | | | | Change-Id: Idec0e333a0d3c3a0c232d3e2240f18174e0ea88c
* | | | | Merge "Fixing non-scrolling of workspace view after opening/closing AllApps ↵Vadim Tryshev2015-05-282-9/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | vew. The reason for non-scrolling was excluding the pages view from the accessibility hierarchy by marking it as non-important. So, I just removed the code manipulating [non]importance of the PagedView." into ub-launcher3-burnaby
| * | | | | Fixing non-scrolling of workspace view after opening/closing AllApps vew.Vadim Tryshev2015-05-282-9/+12
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The reason for non-scrolling was excluding the pages view from the accessibility hierarchy by marking it as non-important. So, I just removed the code manipulating [non]importance of the PagedView. However, this would make the PagesView accessibility-focusable, which is undesirable. It becomes focusable because it supports long clicks in "normal" mode. Since it doesn't support accessibility long clicks (i.e. Overview mode is fetched NOT via accessibility long-click), I just disabled accessibility long-clickability, which made PageView non-focusable, and it started to behave correctly. Bug: 21281859 Change-Id: I7ab01e5f39cb37c456c961199c27458c9bda1c3d
* | | / / Fixing page background not displayed when dragging from all appsSunny Goyal2015-05-276-76/+52
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Adding empty page synchronously, instead of waiting for a frame > Changing launcher state from widgets screen in the same frame, similar to all apps > Removing DragEnforcer, and moving that logic in side the workspace, disabled by a flag > Using first page to get page bounds in drag layer, as last page may not have been measured Change-Id: I172ba4e5ce44648ac55402d49994542c6e10f101
* | | | Merge "Removing file IO used for checking configuration change" into ↵Sunny Goyal2015-05-283-119/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | ub-launcher3-burnaby
| * | | Removing file IO used for checking configuration changeSunny Goyal2015-05-263-119/+1
| | |/ | |/| | | | | | | | | | | | | | | | > This check was used for flushing the cache, but since the cache is backed by a DB, this has no effect as same icons are loaded again Change-Id: Ib7d8a8598c5d225d922e095c899dc11ad06f2b7a
* | | Merge "Make sure all transition components run on the same thread" into ↵Adam Cohen2015-05-275-17/+127
|\ \ \ | | | | | | | | | | | | ub-launcher3-burnaby
| * | | Make sure all transition components run on the same threadAdam Cohen2015-05-275-17/+127
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | -> The framework circular reveal transition runs on the render thread which can cause problems when mixed in an AnimatorSet with transitions that don't run on the render thread -> See issue 17556455 issue 21445293 Change-Id: Ie19c184c55060651e817d426ec83049b06af56ba
* | | Fixing build breakageSunny Goyal2015-05-271-1/+1
| | | | | | | | | | | | Change-Id: I2d8ac9a92d2da3d6b0f52ff8a6e3683b05663aec
* | | Removing SmoothPagedView as all its methods are disabledSunny Goyal2015-05-274-225/+16
|/ / | | | | | | Change-Id: I83c99bb3d3546693200d64e2233957b4c679e7e6
* | Merge "Introduce LauncherSearchCallback to handle search overlay status." ↵Jun Mukai2015-05-273-0/+53
|\ \ | | | | | | | | | into ub-launcher3-burnaby
| * | Introduce LauncherSearchCallback to handle search overlay status.Jun Mukai2015-05-123-0/+53
| | | | | | | | | | | | | | | Bug: 20011047 Change-Id: I93cab4e0614b9658b4b657dd98dca68d42580e63
* | | Fixing workspace scrim not being drawnSunny Goyal2015-05-261-2/+2
| |/ |/| | | | | Change-Id: Iabafe159a577909396d1602a7eda9c508e95cb71
* | Merge "Fix widget tray crash on screen rotation introduced by ag/694693" ↵Hyunyoung Song2015-05-222-13/+29
|\ \ | | | | | | | | | into ub-launcher3-burnaby
| * | Fix widget tray crash on screen rotation introduced byHyunyoung Song2015-05-222-13/+29
| | | | | | | | | | | | | | | | | | | | | | | | ag/694693 b/21402209 Change-Id: Idae97fca971d90f5fbba658411491147cb023c8d
* | | Moving all apps code into sub package.Winson Chung2015-05-2215-137/+203
| | | | | | | | | | | | | | | | | | | | | - Renaming resources, dimens, etc to be more consistent - Removing old AppsCustomize resources and other unused code Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a
* | | Creating landscape and portrait device profiles at app initializationSunny Goyal2015-05-2214-368/+172
| | | | | | | | | | | | Change-Id: Ide9d007adc36b348e19b05cdf49e87f8b02db60e
* | | Animating workspace active background changeSunny Goyal2015-05-212-47/+30
| | | | | | | | | | | | | | | | | | > Removing workspace_overscroll_drawable_padding which is always 0 Change-Id: I89900738371458a6eb7cbfee215d98b267d6a0b0
* | | Refactoring DeviceProfileAdam Cohen2015-05-2138-709/+646
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> 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
* | | Merge "Tweaking method name." into ub-launcher3-burnabyWinson Chung2015-05-212-3/+3
|\ \ \