| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Now instead of crashing, it says "Couldn't load image."
Bug: 25326319
Change-Id: I6918b7b34e0a9b40036b1405fc449c10c2e1d40a
|
|\
| |
| |
| | |
Change-Id: I55a0cd751cbcce8fcc8efa23a0a88a01ec08522b
|
| |
| |
| |
| |
| |
| |
| | |
This ensures they are centered as they were without any offset.
Bug: 25347076
Change-Id: Id773cd89463d47b350e60878c00e1112e0244414
|
|\ \
| | |
| | |
| | | |
us unused methods" into ub-launcher3-master
|
| | |
| | |
| | |
| | |
| | |
| | | |
Removing some us unused methods
Change-Id: Ife790e5ca6848fa13dc3fab1bba1e6220bf83743
|
|\ \ \
| |/ /
|/| /
| |/ |
Change-Id: I324b1a9cd3c6dce1d5d3b14d3ef95f798e5bc243
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This already happens everywhere except for the case where an external
app such as Photos started the wallpaper picker. So not only is this
more consistent, it also prevents crashes and other potential issues
caused by clicking "Set Wallpaper" too many times.
Bug: 25026717
Change-Id: I63c6a0ce68656e6e68094e88074a836d8c1034f9
|
|\|
| |
| |
| |
| |
| |
| | |
ub-launcher3-burnaby-polish
* commit 'cb20e0bc8eed5fb97ef49eda2c1a1ff514aa9e38':
Inform users when "Set wallpaper" fails.
|
| |
| |
| |
| |
| | |
Bug: 23716897
Change-Id: I06cd63d9ee869235c6a4c3140e574bf4c710454e
|
|\|
| |
| |
| | |
Change-Id: Ifd9128c72f6e11855b1bb9272c6f193d688ba021
|
| |\
| | |
| | |
| | | |
ub-launcher3-burnaby-polish
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 23599411
Change-Id: I6c5f75554fd59b7caa3a61f1b11b4a2a6aa21e7c
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
bitmap bounds.
* commit 'ff9133f1125865f4e14a92d4b5e661f1ac92524d':
Adjust cropped bitmap bounds to correctly fit in original bitmap bounds.
|
| |/
| |
| |
| |
| |
| | |
Bug: 22631531
Change-Id: Ia0c1bccf4b8af3a8b335b865974c5d08f9836689
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cherry picking the following changes from ub-launcher3-master:
Change-Id: I41c5bbbfdabfeb4e20d77e9b5804842a03211edf
Change-Id: I69afa3f8cc59c77e9c4c25e29e8db8c4beb87462
Change-Id: I82b7ba506d51ee4b3812af5fbdf95d3303b37aef
Change-Id: Id7c2b5483c5535d59be2f8a459ce7788e3c8318a
Bug: 23568800
Change-Id: I343169b9fdc5ceaab3d4b39044627d78b7267868
|
| |
| |
| |
| |
| | |
Change-Id: Ie142f5c6b418ac775cc167787f8e372d5354b91a
(cherry picked from commit 1ea392f0bc30134a800be224d8fbcf1af63bb80b)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, if you selected a photo to set as the wallpaper multiple times, it
kept adding temporary wallpaper tiles that were all identical. Now it reuses the
same tile, updating the thumbnail and wallpaper if the Uri happens to point to a
new image (such as if a photo is renamed).
Change-Id: Ib05c9db4e1fd17226b503174f25add3368158b11
(cherry picked from commit f970ee5cdc0185fa5003ded178ef680813d8a259)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If a wallpaper preview is going to look exactly the same as the actual wallpaper
on the homescreen page that is being returned to, fading looks much nicer than
the default activity exit animation.
Bug: 23568800
Change-Id: Id7c2b5483c5535d59be2f8a459ce7788e3c8318a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To get the crop, the wallpaper is first scaled down as much as possible (i.e.
until either the width or height matches that of the device screen), then a
center crop is performed (the excess width or height is chopped off). The
preview's parallax was previously incorrect if the width was the victim of this
cropping, because in that case the parallax started and ended at a different
point than in the actual wallpaper. This is fixed by adjusting the parallax of
the preview to match the final crop.
The end result is that all wallpaper previews match the actual wallpaper upon
setting, except for the default wallpaper because it follows a different flow.
Bug: 23568800
Change-Id: I82b7ba506d51ee4b3812af5fbdf95d3303b37aef
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is less prone to error, because calling setParallaxOffset() multiple times
will always lead to the same result. Plus, this works regardless of whether
moveToLeft() was called first.
While the parallax offset ensures that previews of built-in wallpapers match
the actual wallpaper you get upon saving, it does not work in all cases.
Specifically, it does not work for a couple (1 or 2 on the devices I've tested)
of the larger built-in wallpapers. However, this seems to be due to a mismatch
between the size of the preview wallpaper and the actual wallpaper (the latter
is larger). This sounds like a separate bug.
Bug: 23568800
Change-Id: I69afa3f8cc59c77e9c4c25e29e8db8c4beb87462
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When "Wallpapers" is selected from the overlay, the current wallpaper parallax
offset is sent to the WallpaperPickerActivity as an Intent extra. The CropView
then uses that offset when previewing new wallpapers to ensure the preview looks
exactly the same as the actual wallpaper will when set.
Note that this fix doesn't seem to work for DefaultWallpaperInfo - that will
come in a future CL.
Bug: 23568800
Change-Id: I41c5bbbfdabfeb4e20d77e9b5804842a03211edf
|
|\ \
| | |
| | |
| | | |
ub-launcher3-master
|
| | |
| | |
| | |
| | |
| | | |
Bug: 23353784
Change-Id: Ia64cfd6b8065fb3d589e32af12e0e0bf5242a43a
|
|/ /
| |
| |
| | |
Change-Id: I98654000e82fd7e96152785ceafe857724fc417f
|
| |
| |
| |
| |
| |
| | |
it can be overriden by dependent projects
Change-Id: I565d85d9126e41cec3dd2cdb8f2c75283bce4b13
|
| |
| |
| |
| |
| |
| |
| |
| | |
> Moving different tiles to individual classes
> Moving some utility methods to corresponding tile classes
> No functionality change
Change-Id: I493cf309f4e3d817a9300be004c475d208f8dadb
|
| |
| |
| |
| | |
Change-Id: Ie142f5c6b418ac775cc167787f8e372d5354b91a
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, if you selected a photo to set as the wallpaper multiple times, it
kept adding temporary wallpaper tiles that were all identical. Now it reuses the
same tile, updating the thumbnail and wallpaper if the Uri happens to point to a
new image (such as if a photo is renamed).
Change-Id: Ib05c9db4e1fd17226b503174f25add3368158b11
|
|\ \
| | |
| | |
| | | |
into ub-launcher3-master
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This will enable an easier migration to the new M APIs for identifying
button presses from stylus / other tools.
Bug: 20430722
Change-Id: I41cfa6eff8d76bb83cf1bdaf6623ec1092ed554c
|
|/ /
| |
| |
| | |
Change-Id: If802245632c30d4f383013203fb2e0349ebc14fe
|
| |
| |
| |
| | |
Change-Id: Icd421dd16c82275f0ac1a6881d1d86b9c1eaf1e8
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
> Only setting desired size on wallpaper change for pre kitkat
> Removing wallpaper change receiver from manifest
> Removing multi-process wallpaper shared prefs for kitkat+
Bug: 23353784
Change-Id: Iba72d32871ee50b75807e2284a73a691bcddc472
|
| |
| |
| |
| |
| |
| |
| |
| | |
> Using system implementation of ExifInterface to read orientation
> For inputstream, creating a temporary file with just the header
since the system API only supports file input
Change-Id: I19c94ff28e9d9bac14cd9b717de0ff165ba95595
|
|\|
| |
| |
| | |
Change-Id: Ia3e845a2e336c846cceefdc2d1e8c6786753f1b1
|
| |
| |
| |
| |
| |
| |
| |
| | |
> Renaming Lmp to Lollipop
> Lollipop_MR1 instead of directly using 22
> Using M APIs directly instead of reflection
Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
|
|/
|
|
| |
Change-Id: I160feaee81b262be02446885fae643c0be71b7af
|
|
|
|
|
| |
Bug: 22293299
Change-Id: I64d5268cc263bbb6595a0b28bdd5ec73d540da41
|
|
|
|
|
|
|
| |
applied
Bug: 22293299
Change-Id: I6b9bf2b777d33ca23f291c7872ce1f338d41e516
|
|
|
|
| |
Change-Id: I3b0104dea04009819db0375c381b8ff445b76baa
|
|
|
|
|
| |
Bug: 22124692
Change-Id: Ifd41727a2ce4af660818b4f0cd6b95110ffdeec4
|
|
|
|
|
|
| |
issue 22019397
Change-Id: I7d556494569afaeac0ecdd641a089b78663b5563
|
|
|
|
|
|
|
|
|
| |
If reading the rotation setting without the multi-process flag, the
WallpaperPickerActivity usually picks up a cached value. Specifying the
multi-process flag during the read fixes this and the wallpaper picker
always has the correct rotation setting.
Change-Id: Ic3639f8cd694674e92c8940b753c6bc30486076d
|
|\
| |
| |
| | |
press" into ub-launcher3-burnaby
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 20187333
Change-Id: I1b738a06499d20facbc4bccb1e6247086a45b686
|
|
|
|
|
| |
Bug: 20138883
Change-Id: I8de70eb971f31c2a4c07a7903e097a1586402282
|
|
|
|
|
|
|
|
| |
> 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
|
|\
| |
| |
| | |
loaded" Will submit again after the drop" Actual fix" into ub-launcher3-burnaby
|