summaryrefslogtreecommitdiffstats
path: root/res/values
Commit message (Collapse)AuthorAgeFilesLines
* Moving prediction icons back into recycler view.Winson Chung2015-07-061-3/+3
| | | | | | | | - Fixes two accessibility issues with the prediction bar being separate from the rest of the list of icons related to scrolling and switch access. Bug: 21725276 Change-Id: Ibc48e5028cace9a77000e6646b951f021910465d
* Using RGB_565 for low-res iconsSunny Goyal2015-07-011-2/+1
| | | | | | | | | > Using a non-transparent image with flat background for low-res icons > Changing the scale factor from 8 to 5 > The overall size change is 1/50 instead of 1/64 Bug: 22204941 Change-Id: I6cda4b4b3450c23a7bb8218ebd2de2b09af9c414
* Enabling translation for preference stringSunny Goyal2015-06-251-3/+1
| | | | | | | > Removing description string Bug: 22065032 Change-Id: I8acb51b113066924f028b4dd891b508027e7cb6a
* Working around overscroll issues in AllApps.Winson Chung2015-06-231-0/+7
| | | | | | | | | - For the time being, we are going to do custom drawing to ensure that we get the touch events in the right order, while still allowing the recycler view to draw the overscroll effect on top of the prediction bar. Bug: 21335369 Change-Id: I6bf64e5c1e9aa634a953223a5decf74942e4fb57
* Refactoring fast scroller.Winson Chung2015-06-232-12/+18
| | | | | | | | | | | | | - Fixing issue with fast scroller not fitting name width. - Refactoring fast scrolling/scroll bar code out of base recycler view - Adding animations to fast scroller to match design - Smooth scrolling when jumping between app rows - Fixing issue with fast scroller jumping when you first pick it up - Fixing issue with wrong background paddings being used Bug: 21874346 Bug: 22031923 Change-Id: I9f011b1f375751f437604b900e95a2942d3f4601
* Using material style overscroll effect for workspace and foldersSunny Goyal2015-06-191-0/+3
| | | | | Bug: 21335369 Change-Id: I53cc6edfa87334b9326f1dedd90c3e2222beade5
* Refactored section names to only draw when there is space.Winson Chung2015-06-161-2/+2
| | | | | | | | | - This CL removes all space for section names in both phones and tablets. And when there are no section names, the layout will automatically fully merge the sections. Bug: 20222023 Change-Id: Ic7c751d86f095e5cbd690bfd4f94bb5b00ff8ae4
* Merge "Refactoring all apps search to support external search bar." into ↵Winson Chung2015-06-151-4/+5
|\ | | | | | | ub-launcher3-burnaby
| * Refactoring all apps search to support external search bar.Winson Chung2015-06-151-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adding support for an external search bar that can be used to search a container view. This adds a new interface AllAppsSearchController which manages the external search bar. Each controller will have its own search implementation which means that we no longer need a common AppSearchManager interface. - Removing elevation controller as we no longer have a builtin search bar in all apps - Refactoring container view insets so that they behave the same in all containers. - Refactoring apps view to ensure that we only update the number of columns with the available width - Cleaning up LauncherCallbacks interface Bug: 20127840 Bug: 21494973 Change-Id: I710b8e18196961d77d8a29f0c345531d480936fe
* | Merge "Work profile badge alignment b/21336417" into ub-launcher3-burnabyHyunyoung Song2015-06-151-1/+1
|\ \
| * | Work profile badge alignmentHyunyoung Song2015-06-151-1/+1
| |/ | | | | | | | | | | b/21336417 Change-Id: Icd54320fa0d0976cac0ae66d180cc2c99ddd0c1c
* / Using content provider to update launcher settingsSunny Goyal2015-06-121-3/+0
|/ | | | | | | | > Removing cross process preference file > Removed broadcast listener management for settings changes > Defining content provider method to get/set laucnehr preferences Change-Id: Ida36eac0ab17c1d48fedc9404817a53a89b36c4f
* Merge "Ensuring that we use the screen width more optimally in AllApps." ↵Winson Chung2015-06-051-2/+3
|\ | | | | | | into ub-launcher3-burnaby
| * Ensuring that we use the screen width more optimally in AllApps.Winson Chung2015-06-051-2/+3
| | | | | | | | | | | | | | | | | | | | | | - Fixing issue with prediction bar height being calculated incorrectly - Fixing issue where the prediction bar divider was not drawn exactly between the bar and the first row of apps - Removing padding to allow scrollbars to reach full height Bug: 20222023 Bug: 21335377 Change-Id: I2c0614a36e2294d0d6184a6bff4847876ffe971e
* | Use a broadcast receiver instead of a settings observer.Rahul Chaturvedi2015-06-041-0/+3
|/ | | | | | | | Settings observer doesn't work if a setting is modified in another process, hence we instead register a receiver which listens for a signal from the settings process that the rotation preference has changed. Change-Id: I570e3c67bb64a32347e84ca00a8ac31d9010eac3
* Merge "Adding back icon size dimen" into ub-launcher3-burnabySunny Goyal2015-06-041-0/+2
|\
| * Adding back icon size dimenSunny Goyal2015-06-041-0/+2
| | | | | | | | | | Bug: 21638256 Change-Id: I522a8e59e63e4a49a087e4fb3aac102595ea6818
* | Merge "Consistent scrolling experience for All apps and widget tray" into ↵Hyunyoung Song2015-06-041-1/+0
|\ \ | |/ |/| | | ub-launcher3-burnaby
| * Consistent scrolling experience for All apps and widget trayHyunyoung Song2015-06-041-1/+0
| | | | | | | | | | | | b/21375339 Change-Id: I8362b3ca94b7c4e75932d42cd09a989e0e3919c0
* | Fixing different bitmap sizes in different orientationsSunny Goyal2015-06-031-2/+0
| | | | | | | | | | | | | | | | | | > Using a single bitmap icon size > Picking up appropriate density for satisfy the required icon size > Fixing some icon size assumptions during icon animations Bug: 19514688 Change-Id: Ia7a1d0d2c03a9d39ccc241fa4ae3eb8a0f374585
* | Folder UI fixesSunny Goyal2015-06-011-1/+0
| | | | | | | | | | | | | | | | | | | | > 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
* | Merge "Add the Allow Rotation setting to Launcher3." into ub-launcher3-burnabyRahul Chaturvedi2015-06-011-0/+6
|\ \ | |/ |/|
| * Add the Allow Rotation setting to Launcher3.Rahul Chaturvedi2015-06-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fixing page background not displayed when dragging from all appsSunny Goyal2015-05-271-0/+1
|/ | | | | | | | | > 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
* Moving all apps code into sub package.Winson Chung2015-05-225-81/+49
| | | | | | | - Renaming resources, dimens, etc to be more consistent - Removing old AppsCustomize resources and other unused code Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a
* Animating workspace active background changeSunny Goyal2015-05-211-1/+0
| | | | | | > Removing workspace_overscroll_drawable_padding which is always 0 Change-Id: I89900738371458a6eb7cbfee215d98b267d6a0b0
* Using color filter when animating the drop target instead to TransitionDrawableSunny Goyal2015-05-211-3/+3
| | | | | | | > 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
* Merge "Fixing accessibility string" into ub-launcher3-burnabySunny Goyal2015-05-201-1/+1
|\
| * Fixing accessibility stringSunny Goyal2015-05-191-1/+1
| | | | | | | | | | Bug: 19776741 Change-Id: Ie020911bd17aa102eddfc69d6b3db5c19db9c6ac
* | Merge "Updating widget resize frame assets." into ub-launcher3-burnabySunny Goyal2015-05-201-0/+3
|\ \ | |/ |/|
| * Updating widget resize frame assets.Sunny Goyal2015-05-191-0/+3
| | | | | | | | | | | | | | | | > 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
* | Merge "Enabling translation for accessibility strings" into ub-launcher3-burnabySunny Goyal2015-05-191-27/+27
|\ \
| * | Enabling translation for accessibility stringsSunny Goyal2015-05-191-27/+27
| |/ | | | | | | | | | | | | | | > All the action strings are set to char limit 30 so that they play nice with accessibility UI. Bug: 19776741 Change-Id: I74612cc34a3a458541106319b3f8c36d54cc1138
* | Merge "Widget cell improvement" into ub-launcher3-burnabySunny Goyal2015-05-191-5/+0
|\ \
| * | Widget cell improvementSunny Goyal2015-05-191-5/+0
| |/ | | | | | | | | | | | | | | | | > 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
* / Updating the widget error viewSunny Goyal2015-05-191-2/+0
|/ | | | Change-Id: I3ed6336bd9f5a795204a87feedc83663355abcf2
* Optimizing shadow generation by reusing bitmap.Sunny Goyal2015-05-151-0/+7
| | | | | | | | > 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
* Merge "Place the work profile badge in the correct bottom right (left for ↵Hyunyoung Song2015-05-151-0/+1
|\ | | | | | | RTL) location" into ub-launcher3-burnaby
| * Place the work profile badge in the correct bottom right (left for RTL)Hyunyoung Song2015-05-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | location Also: - clean up of some code - remove requestLayout() method call that is not needed. b/20338602 Change-Id: I65e0e1ac40da2e3fa85af4d3aca54bed3f200a99
* | Extending the shadow effect for search bar to lower devicesSunny Goyal2015-05-141-0/+4
| | | | | | | | | | | | > Applying the background to the whole container instead of recycleview Change-Id: Ifc90d05e0e96c41ba9aaf96b906211b101c2e197
* | Various lint error fixes.Sunny Goyal2015-05-141-2/+2
| | | | | | | | | | | | | | | | > Fixing some RTL errors by specifying both marginStart and marginLeft > Moving all layout direction checks to Utilities > Explicitely adding @TargetApi before every method Change-Id: Ibe9c52b93b5a6adeadb27ace2b312770fd732ea0
* | Reodering some drawablesSunny Goyal2015-05-142-2/+7
| | | | | | | | | | | | | | | | | | | | | | > quantum_panel_shape is xml rectangle with no margin > quantum_panel_bitmap is 9-patch drawable with inbuild shadow and margin > quantum_panel uses xml-shape for lollipop and 9-patch image for lower devices. It includes margin. For shadow, use elevation on lollipop > All drawables have _dark variant > Using #f5f5f5 for panel background, instead of #ffffff Change-Id: Ia7c6cea6d514ee3774fcf5fef6139650bdd53208
* | Removing some more unused resourcesSunny Goyal2015-05-144-37/+0
|/ | | | Change-Id: Ia09045d2aa88eb1ec17ac4f201aeaf77c6870678
* Pulling out predictions into another row view.Winson Chung2015-05-132-7/+4
| | | Change-Id: Iba0d74457a1314cf0c00a88f9b07df049334e542
* Minor visual tweaks.Winson Chung2015-05-131-5/+4
| | | | | | | | | | - Drawing full divider under predicted apps - Enabling dynamic search bar elevation - Increasing fast scroller pop-up size - Insetting the padding to prevent the scroll bar from overlapping with app titles Bug: 20299865 Change-Id: I48ffde43c2158c23b54cd43fede722da41ccc111
* Fixing several layout issues.Hyunyoung Song2015-05-121-1/+0
| | | | | | | | | | | | | | - N7/N9 indented area should not block scroll view - separator at the end of the widget cell should not show up on the last item. Not covered in this CL: - Guarantee that last item is showing only 20~40%. Right now, the hand picked constant works for N5,6,7,9 b/20338324 b/20763871 Change-Id: I274ab95c6c3e2fc8be8ceafb2e8172c0174a41a5
* Using BubbleTextView for widget section headersSunny Goyal2015-05-122-3/+4
| | | | | | > Loading highres icons on the worker thread. Change-Id: I5b68a86820aa4c132c156339e497354cf57f0fca
* Merge "Various icon size changes" into ub-launcher3-burnabySunny Goyal2015-05-111-2/+4
|\
| * Various icon size changesSunny Goyal2015-05-111-2/+4
| | | | | | | | | | | | | | 1) Setting different icon and text size for workspace and all apps 2) Setting padding during BubbleTextView inflation Change-Id: I59da6986b0d98e8e2aa6065743bb799a6bf06a37
* | Merge "Ensure that clipping widget size is 20~40% of its width on every ↵Hyunyoung Song2015-05-111-3/+3
|\ \ | | | | | | | | | devices" into ub-launcher3-burnaby