| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
am: 68f240eb54
Change-Id: I68047a8eba8b3a0c8117fedbc45b6100dd04b023
|
| |
| |
| |
| |
| | |
Bug: 31813976
Change-Id: I05d7520daee28a310ff122deaf265951e454d21e
|
|/
|
|
|
|
| |
Did some refactoring with Sunny's help.
Change-Id: Ie4c90c316f1e381829836e11c83eaaedfed4d621
|
|
|
|
|
|
|
|
|
| |
> 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
b/30021487
Change-Id: I179825eba09f3c4c57175e8f6da49708dae1931c
|
|
|
|
|
|
|
|
|
|
| |
- When we had the search bar, the workspace padding always
accounted for the search bar (and therefor drop target bar) height
when the folder opened. Now that there is no padding on the top, we
should offset the bar whenever possible to ensure that the drop target
bar is visible.
Bug: 30110595
Change-Id: Ia9a8581981c777f2507b6bd880994a3dcfd52c39
|
|
|
|
|
|
|
|
|
| |
- Fixing regression in hottest folder background getting clipped
- Ensuring that the padding is correctly applied in vertical bar layout
to match workspace
Bug: 30021487
Change-Id: I09bce21829867f4bd4e50646e565959421e4984c
|
|
|
|
|
|
|
|
|
| |
- Ensure that the caret is the right height
- Ensure that the workspace page spacing matches the workspace padding,
but just offscreen
Bug: 30021487
Change-Id: Iaf4b33db0f6456b74986638fb6b6af78fc6e1859
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 29613069
Change-Id: Ifdf9bcce7ecdedc510f3be8a4dc10eb8da7c4bf1
|
|
|
|
|
|
|
|
|
| |
b/28917826
> PageIndicator is also added in landscape
> Touch delegate allows the active touch area to be 36dp
Change-Id: If00f45fc88a13cd5a6759d771313439eb58561e3
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Renaming it to simply DropTargetBar
> Moving AppInfo to the top bar as well
> The workspace pages will extend to the top edge (minus some padding).
Since the QSB is no longer displayed on top of every page, there is
no reason to reserve the space.
> In spring-loaded mode, the workspace cell layout will scale enough
to make room for the drop target bar at the top
Change-Id: I2baf607310335dd576c9d9fcbb75ab708f47ac03
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- The current PageIndicator has been renamed to PageIndicatorDots
and PageIndicatorMarker has been renamed to PageIndicatorDot.
- PageIndicatorDots and PageIndicatorLine implement PageIndicator.
- PageIndicatorLine uses scroll progress and number of pages to
draw a line of the correct size and position.
- All of these page indicator files are now in a pageindicators package.
Bug: 27227498
Change-Id: I9230d2e0600ce583989bd31d0b0e252b148d15c2
|
|
|
|
| |
Change-Id: Idabe5d8ee41f31d30dcbe03aa626f7b39f713c14
|
|
|
|
| |
Change-Id: I16a0d8fb7c5023045d0a6b9e8089e0ab6a476d6d
|
|
|
|
|
|
|
| |
instead of chaning the layouts in DeviceProfile
Bug: 27721989
Change-Id: I9a22c21e643f4fd0058c9be5e9d705aaf7649204
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-> Refactored the preview background rendering to be much more self-contained.
This cleans up a lot of code in the CellLayout, and keeps the logic in the
right place.
-> We switch to software rendering for performance and compatibility reasons.
-> Removed all assets.
-> FolderIcon accept animation includes animation of the clipped region.
-> 1:1 hand-off of drawing of the FolderIcon background between the FolderIcon
and the CellLayout. Unfortunately, CellLayout rendering is still required
to work around clipping issues (due to use of software layer). We also
need this to support folder creation feedback.
Change-Id: Ib8f7fa6359dfedff8145f38dd50ba03849ca0d51
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
might not be available during onCreate" into ub-launcher3-burnaby-polish
am: 5df98da8fd
* commit '5df98da8fd2c1997bd6c09a4772f018730345090':
Setting content bounds in onMeasure as it uses measuredWidth, which might not be available during onCreate
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
not be available during onCreate
Also fixing the calculation of allApps column could, which was counting an
additional icon gap
Bug: 27173894
Change-Id: I8be8cccc76d7e7d945cf9383567a3026228b6c86
|
| |
| |
| |
| |
| |
| |
| | |
-> Created com.android.launcher3.folder package to house most folder-related files
(aside from the FolderInfo) which is more related to the model than the UI.
Change-Id: I767063e1e4c775c01a799a3bede30cd94ac48ade
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- No page indicators in spring-loaded mode
- Don’t move workspace up as high
- Scale workspace at 90% instead of 80% on phones
- Increase speed of workspace -> spring-loaded -> workspace
- Widgets were being scaled down twice when dragging from widget picker
- Don't scale up icons when dragging (scaling other stuff down is enough)
- Make scrim less dark and panels more transparent
- Thin white border around page instead of highlight when hovering
Change-Id: I963e91c20d4c0340480d165e0f3b8064783c0cb2
|
|\|
| |
| |
| | |
Change-Id: I66230c15e5eaeef316d4e2f14b85c6ff1b6e977d
|
| |
| |
| |
| |
| |
| | |
Also fixed a broken test.
Change-Id: I1c270e69617528ea30f0e26a2101673e9b9fa63c
|
|\|
| |
| |
| | |
Change-Id: Ie0e233e22284b8ddd2dbb86204e042651b6dfae2
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Chaning the font scale affects the static device profile and may
affect various background threads and static constants. Killing
the process ensures that these states get invalidated properly.
Bug: 26131935
Change-Id: Idc262ee5d158019e7a2505f8fb9a6413c06bfdeb
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
ub-launcher3-burnaby-polish
am: 49750ce75e
* commit '49750ce75e7413ad3c4fe4be31a2e1d73312794b':
Fixing All apps not respecting scaled icon size
|
| |
| |
| |
| | |
Change-Id: I3d05c713939fd69d04f5896cdc5db91480b0d4d1
|
|\|
| |
| |
| |
| |
| |
| | |
am: 6159c242bc
* commit '6159c242bc610f13e4c7550ae8b15f25603f4b23':
Revert "Revert "Reverting folder cell width on portrait phones.""
|
| |
| |
| |
| |
| |
| | |
This reverts commit 1974e98f5ec4713e50ba64ec32a7607c92ddce9b.
Change-Id: I7c5d86de187989c085f676933ce3f1cbd57ed8a7
|
|\|
| |
| |
| |
| |
| |
| | |
am: 1974e98f5e
* commit '1974e98f5ec4713e50ba64ec32a7607c92ddce9b':
Revert "Reverting folder cell width on portrait phones."
|
| |
| |
| |
| |
| |
| | |
This reverts commit b25e684a766362422f5693f7a2189910c1275584.
Change-Id: Ie86adc4b35c73ab7ef78d73225b437adc4751172
|
|\|
| |
| |
| |
| |
| |
| | |
am: b25e684a76
* commit 'b25e684a766362422f5693f7a2189910c1275584':
Reverting folder cell width on portrait phones.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The extra folder cell space added in ag/790800 looks bad on phones in
portrait mode, so reverting it here. However, we keep the extra space
on tablets or phones in landscape mode, since it provides more room
for long app names (bug 22462641).
Bug: 25662215
Change-Id: I2a37b884458ee557c9b8cff0c3edef16bfc50efb
|
| |
| |
| |
| |
| |
| |
| | |
I'm not sure if it is strictly necessary, but it is probably good to
be more explicit regardless.
Change-Id: Ib7647dbcb5449e22ef87da8d49b4e7804ba5c17f
|
|\|
| |
| |
| | |
Change-Id: Ibeb2499ac278e4094a2922501cfffad2489e58ed
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Seperate search bar height from its top and bottom paddings
- Report this height plus 8dps top and bottom for the widget options
- Use a separate bottom padding to adjust spacing between QSB and
the workspace
- Add tests to verify the height of the search bar in both normal and
tall modes (ran on Nexus 6, 7, and 10)
Change-Id: Ia7557785d1b38194eee869d0460456e8f33447d5
|
|\|
| |
| |
| | |
Change-Id: Ie3cf72ef11b43e2c681d6d614c668062c7e7b74c
|
| |
| |
| |
| |
| |
| |
| |
| | |
This ensures that the QSB widget options are set correctly the first
time they are used.
Bug: 24704753
Change-Id: I2bb13ff012b6f13ca076deed61f0b08a7037e2fa
|
|\|
| |
| |
| |
| | |
* commit 'a295048a69d35b5adc3f021c3d40c32700cc9629':
Increase folder cell width slightly.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The increased breathing room makes it more likely that long app names
will fit in the folder cells without being cut off.
Bug: 22462641
Change-Id: I110ede040f9e8fdddbf0c4e7a395ac71435559f3
|
|\|
| |
| |
| | |
Change-Id: I6bfc3d3b731a414060d86d4f1dfc5480c279edc9
|
| |\
| | |
| | |
| | | |
ub-launcher3-burnaby
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The search bar can now be be normal or tall. When it is set to tall,
the hotseat and page indicators move down so that the workspace isn't
compressed quite as much.
Change-Id: Id92a946eab3a93524999f92efd847a501a95f002
|
|\| |
| | |
| | |
| | | |
Change-Id: Ib04f80eeebf551fc026925830fc4739d1c620513
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
> Less than 14% of the screen is used for left/right workspace padding.
(To be clear, this means 7% for the left and 7% for the right.)
> Hotseat icons are the same size as workspace icons.
> Far left and right hotseat edges line up with workspace edges.
> All Apps button is scaled down 8dp.
Bug: 24003478
Change-Id: Idb057ab0f6ba29e7fd93feac7573ca2e07c7e839
|
|\|
| |
| |
| |
| | |
* commit 'd47807d7a97d4ab555b2f9be882591c08955d699':
Add widget size options for QSB.
|
| |
| |
| |
| |
| | |
Bug: 24704753
Change-Id: I3e16c1f67a67b08b3843f7f38312447bdfa6a91e
|
| |
| |
| |
| |
| |
| |
| | |
This mode has the remove icon on the left side, so flinging to the
left makes more sense. But flinging up still works in either case.
Change-Id: I7ab40776b67659026f03f81efd43fae3375b5ba0
|