summaryrefslogtreecommitdiffstats
path: root/res/layout
Commit message (Collapse)AuthorAgeFilesLines
...
* Making the width of the fast scroller popup as wrap_contentSunny Goyal2016-10-112-20/+4
| | | | | | | Adding minWidth and width=wrap_content, so that the popup can grow for wider characters. Change-Id: I6e0c4087df51e37f696c47f20f146f32d41e8bc8
* Merge "Simplifying fast scroller logic" into ub-launcher3-masterSunny Goyal2016-10-112-0/+32
|\
| * Simplifying fast scroller logicSunny Goyal2016-10-102-0/+32
| | | | | | | | | | | | | | | | | | | | | | > 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
* | Updating the folder cell dimensions to be closer to a squareSunny Goyal2016-10-102-10/+10
|\ \ | |/ |/| | | | | | | am: 68f240eb54 Change-Id: I68047a8eba8b3a0c8117fedbc45b6100dd04b023
| * Updating the folder cell dimensions to be closer to a squareSunny Goyal2016-10-072-10/+10
| | | | | | | | | | Bug: 31813976 Change-Id: I05d7520daee28a310ff122deaf265951e454d21e
* | Refactoring AppWidgetResizeFrameSunny Goyal2016-10-071-0/+57
| | | | | | | | | | | | | | > Defining the layout in xml > Simplifying the touch handling calculations Change-Id: Iccfd82161d1e678d77ad6ff63f76e04ad905f9d8
* | Restore AllAppsContainerView UI to match spec.Jon Miranda2016-09-261-3/+3
|/ | | | | | Did some refactoring with Sunny's help. Change-Id: Ie4c90c316f1e381829836e11c83eaaedfed4d621
* Uses a TransformingTouchDelegate to extend touch target for widgets list.Jon Miranda2016-09-191-2/+2
|\ | | | | | | | | | | am: 0ef81fdc22 Change-Id: I33962020ff1cf75e46254c24687a53fd5b2088fa
| * Uses a TransformingTouchDelegate to extend touch target for widgets list.Jon Miranda2016-09-191-2/+2
| | | | | | | | | | | | | | | | The widget row contents were being clipped, which made it seem like the horizontal scroll was broken. Bug: 30023607 Change-Id: I00b0c334bbb0faf166d4cd168392cc494ed732e0
| * Change all apps caret target bounding boxHyunyoung Song2016-09-071-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/30400751 1) This also fixes the issue of apps drawer sliding up when page is swiped horizontally immediately above the hotseat area. 2) Disclaimer: this should be cp'ed to calgary. Hence, I tried to keep the diff small. Ideally, CaretDrawable animation handling should move to AllAppsHandleImageView via refactoring in follow up CL. Change-Id: I4d808ee2eeca53b40c0b4e4e0e364fef056e26c3 (cherry picked from commit 016eaeea99e163f0b5385cf660297e6c21ff21e5)
| * Merge "Make padding consistent between shortcuts and the app icon." into ↵Tony Wickham2016-08-081-0/+3
| |\ | | | | | | | | | ub-launcher3-calgary
* | | Updating the paddings in folder cellSunny Goyal2016-09-162-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | > Updating overall padding for the cell and adding drawable padding > Ensuring that the folder cell is always rendered properly based on available vertical space Bug: 30605958 Change-Id: I8ceb9fea5a25052b0d7461f52edca0e6a33fa085
* | | Merge "Add outline to shortcuts when focused." into ub-launcher3-calgary-polishTony Wickham2016-09-081-1/+2
|\ \ \
| * | | Add outline to shortcuts when focused.Tony Wickham2016-09-071-1/+2
| | | | | | | | | | | | | | | | | | | | Bug: 30563273 Change-Id: Ia54c112dcf91c225588b7388001eb93ee5c03171
* | | | Change all apps caret target bounding boxHyunyoung Song2016-09-071-0/+27
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/30400751 1) This also fixes the issue of apps drawer sliding up when page is swiped horizontally immediately above the hotseat area. 2) Disclaimer: this should be cp'ed to calgary. Hence, I tried to keep the diff small. Ideally, CaretDrawable animation handling should move to AllAppsHandleImageView via refactoring in follow up CL. Change-Id: I4d808ee2eeca53b40c0b4e4e0e364fef056e26c3
* | | Make padding consistent between shortcuts and the app icon.Tony Wickham2016-08-081-0/+3
|\ \ \ | |/ / |/| / | |/ | | | | am: 988e2b7a4d Change-Id: Ib1a194b7b383b991bb0fd4da7c28a52821fbae8c
| * Make padding consistent between shortcuts and the app icon.Tony Wickham2016-08-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | This change makes the padding consistent regardless of where the app is (e.g. folder vs workspace vs all apps) by ignoring the app's padding and adding our own to the shortcuts container. Also note that this padding is relative to the icon, excluding the text beneath it. So we also hide the text when the container opens downwards, and re-show it when the container closes. Bug: 30604007 Change-Id: I6e51c4983a8b5d495833f86e483ebaa229ed2099
* | Change NavBar to transparent blackHyunyoung Song2016-08-051-2/+1
|/ | | | | | b/30615471 Change-Id: I7885e8a7fd63ee10c9b0107087046730e8acfde9
* Launcher shortcuts animations update.Sunny Goyal2016-07-272-2/+13
| | | | | | | | | | | > The shortcut container closes with an animation > When opening/closing the animation only the icon scales and not the title and drag handle > When dragging the icon, it starts from the original icon position and moves under the user finger. The container grows to follow the drag view. Bug: 28980830 Change-Id: Ic0353c30b682d1f018cbf4d62e8a6e8e7d7d4664
* Updating the search hint to contain the icon as a span object.Sunny Goyal2016-07-221-13/+1
| | | | | | | | | This makes the icon part of the hint text, and removes any need for custom focus event handling. Also the icon will now appear at the start of the text based on the direction of the text and not the direction of the layout Change-Id: I06c5cf99492d75b1005c69ec7c521cde0fdab010
* Merge "Add drag handle to shortcuts." into ub-launcher3-calgaryTony Wickham2016-07-211-1/+1
|\
| * Add drag handle to shortcuts.Tony Wickham2016-07-201-1/+1
| | | | | | | | | | | | | | | | Also use short text if long text is ellipsized. Bug: 30212144 Bug: 28980830 Change-Id: I213766bca0561d284d1da883ca37b0a42d886129
* | Merge "Centered all apps search text" into ub-launcher3-calgaryHyunyoung Song2016-07-211-1/+1
|\ \ | |/ |/|
| * Centered all apps search textPeter Schiller2016-07-191-1/+1
| | | | | | | | Change-Id: I21aaec56cd2202cea284880a28d9513435877368
* | Merge "Initial changes to tweak layout." into ub-launcher3-calgaryWinson Chung2016-07-203-11/+4
|\ \
| * | Initial changes to tweak layout.Winson2016-07-203-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adding DeviceProfile callback for when the launcher layout changes due to insets. This is necessary since there are now different layouts depending on which side the navigation bar is on - Consolidating hotseat and other layout into the device profile launcher layout logic - Making the all apps icons match the workspace icon height - Tweaking caret drawable to draw to the bounds specified to simplify layout in each orientation - Fixing minor issue with page indicator shifting in landscape - Centering overview buttons to the workspace page Bug: 30021487 Change-Id: I1866bce00b2948f3edd06168c0f88d81207e3f13
* | | Merge "Fixing accessibility description for apps search box" into ↵Sunny Goyal2016-07-201-0/+1
|\ \ \ | |/ / |/| | | | | ub-launcher3-calgary
| * | Fixing accessibility description for apps search boxSunny Goyal2016-07-151-0/+1
| |/ | | | | | | Change-Id: I9c6c85eeec5e54dd29867c58ead7ce43acdc7cb1
* | Merge "Centered typing in search field" into ub-launcher3-calgaryPeter Schiller2016-07-201-1/+1
|\ \
| * | Centered typing in search fieldPeter Schiller2016-07-191-1/+1
| |/ | | | | | | Change-Id: Iae46722195d0d06ff88da52df4fa48ca7b157512
* / Update shortcut animations.Tony Wickham2016-07-191-2/+10
|/ | | | | | | | | | | - Open animation: shortcuts reveal using modified circular reveal (so that it reveals in the pill shape instead of a circle); slight translation away from the original icon; scale icon and text. - Hover animation: scale the shortcut pill and translate others away. Bug: 28980830 Bug: 30127368 Change-Id: I8ed05c7a082f2c2a3f6c663da7259f6cd33e394f
* Merge "Preventing unnecessary layouts on search focus change" into ↵Peter Schiller2016-07-141-11/+14
|\ | | | | | | ub-launcher3-calgary
| * Preventing unnecessary layouts on search focus changeSunny Goyal2016-07-141-11/+14
| | | | | | | | | | | | | | Instead of expanding the edittext, using a separate textview which is shown/hidden as the hint text Change-Id: Ib4cedeaed9291f972be2ee407c06f4944c983e27
* | Adding a view to indicate space blocked by QSB when QSB is hiddenSunny Goyal2016-07-141-0/+20
| | | | | | | | Change-Id: Ifc6b1f2a7312e7919582887ea67bfe900668b70f
* | Merge "Remove hotseat flicker and all apps GPU overdraw" into ↵Hyunyoung Song2016-07-141-2/+0
|\ \ | | | | | | | | | ub-launcher3-calgary
| * | Remove hotseat flicker and all apps GPU overdrawHyunyoung Song2016-07-131-2/+0
| |/ | | | | | | | | | | | | | | | | > Short story: elevation + transparency caused both flicker and overdraw b/29641308 b/29648104 Change-Id: I621ccd888fa4c7e9292336dac1371246115cd3bb
* / Moving the QSB out of the cell layout to the Drag layerSunny Goyal2016-07-131-1/+1
|/ | | | | | | | This allows better edge matching for the QSB. The QSB position is kept synchronized with the page scroll and all-apps transition. But its not visible in spring loaded and overview mode Change-Id: I4e6723607ea966ee672273a9ca67c792fd6b5661
* Cleaning up scrollbar logic to properly calculate stable extents.Winson2016-07-122-18/+16
| | | | | | | | | - Removing old logic which assumed that views were the same size, especially now we can have variable dividers, etc. - Simplifying old scroll position logic. - Removing unnecessary prediction icon layout (same as normal icon) Bug: 30023608 Change-Id: I39e1126fa586a76a9bdd3ff38cd6e360ac3021e6
* Consolidate all the dividers to provide same look and feelPeter Schiller2016-07-084-16/+13
| | | | | Bug: 30017936 Change-Id: I072cb116dba1df555a63f3f67b730f7f9c3a235a
* Set the all apps nav bar to black.Hyunyoung Song2016-07-061-0/+9
| | | | | | b/29998559 Change-Id: Iba66b390f78fdf25b7eaf912012aabaf7df56476
* Merge "Delete all* references to launcher clings." into ub-launcher3-calgaryAndrew Sapperstein2016-07-012-97/+0
|\
| * Delete all* references to launcher clings.Andrew Sapperstein2016-07-012-97/+0
| | | | | | | | | | | | | | | | | | | | | | | | Launcher clings are dead. Delete all the code and resources associated with them. * Did not delete the actual code the marks the cling as dismissed since it's used in db upgrade and backup/restore paths. Figured we probably want to keep that. Change-Id: I28841b4a430187b62b239afeb64bee81a798e259 Fixes: 29461092
* | Merge "Use colorSecondary for darker bg color." into ub-launcher3-calgaryAndrew Sapperstein2016-07-012-2/+2
|\ \
| * | Use colorSecondary for darker bg color.Andrew Sapperstein2016-06-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used for widget headers and a few other places. In order to support pre-API 25, an app-local version of colorSecondary is created and used throughout the app. A new WidgetContainerTheme sets colorSecondary to a canned value. On API 25+, colorSecondary is set to the platform value. Change-Id: Ie0dd66333052b7346eea5d82d1c88417c6a2cd00 Fixes: 28625102
* | | Updating all apps to match specPeter Schiller2016-06-301-22/+31
| |/ |/| | | | | Change-Id: Ie351fdea2e3b05ca911e6533f0c5d00c17e0847c
* | Long-press on an app to reveal its shortcuts.Tony Wickham2016-06-292-0/+45
|/ | | | | | | | | | | | | | | - Add ShortcutsContainerListener to icons on workspace, folders, and all apps. This handles long-press and forwards following touches to the DeepShortcutsContainer that is created. - Drag over shortcut before lifting finger to launch it. - Shortcuts are rendered in pill-shaped DeepShortcutViews, which are inside DeepShortcutContainer on DragLayer. - The shortcut container orients above or below the icon, and left or right-aligns with it. Biases for above + left-align. - Long press a DeepShortcutPill to drag and pin it to the workspace. Bug: 28980830 Change-Id: I08658d13ae51fe53064644e8d8f7b42f150fdd7d
* Update Launcher to use theme colors.Andrew Sapperstein2016-06-204-4/+5
| | | | | | | | | | | | | | | | | | | Instead of using hard-coded variants of colors, use the theme color that corresponds (colorAccent, colorPrimary, etc). Updated: - "Search for more apps" text - App info drop target hover color - PageIndicatorDots - All apps & widget scroll bar & scroll popup colors - All apps section text color - widget picker background color TODO: - widget picker header color BUG: 28625102 Change-Id: I74b543ff71b8caef8cd950c8183ac84c759cb4d5
* Merge "Replacing overview panel icons with vector drawables" into ↵Sunny Goyal2016-06-132-16/+16
|\ | | | | | | ub-launcher3-calgary
| * Replacing overview panel icons with vector drawablesSunny Goyal2016-06-032-16/+16
| | | | | | | | Change-Id: I3ca6662a75ba8b07e817a7a5681ede79d305c41a
* | Merge "Updating the app search buton text" into ub-launcher3-calgarySunny Goyal2016-06-081-0/+1
|\ \