| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The drawer (AppsCustomizePagedView) disable the use of centers
horizontally && vertical every page. There is no problem with that on
device with fixed grid, and on devices with isLargeScreen on horizontal
orientation aligning the cellpagedview the top looks good. But when
orientation is vertical, the cellpagedview is aligned to the left.
In this case, this change forces the cellpagedview to center horizontally,
which give to the cellpagedview the same good look than horizontal orientation.
[before] https://sharecloud.ruesga.com/public.php?service=files&t=5fee1bd3e68fd28eafcaff13357956db
[after] https://sharecloud.ruesga.com/public.php?service=files&t=0beb9a41d6ad86fef089fb9f643ff51c
Change-Id: Ib5c123ce4e978500fc30cc039a62c590d75b09f7
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
| |
Actually, the preference is not been removed.
Change-Id: Icdb94526f120501c6e5faa22bd912b0bd0f00f4f
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
| |
Change-Id: If5b8b133bd4ed51270e1d8c05b1f976e0db18aaf
JIRA: CYAN-901
Issue: https://jira.cyanogenmod.org/browse/CYAN-901
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patchset 4: Discard item scale and use paddings to adjust the workspace
Patchset 5: mHideDockIconLabels = false on vertical hotseat
Patchset 6: Fixed FolderIcon typo
Fixed inline style
Remove Workspace injection on Launcher class
Use isLargeScreen to show text in vertical hotseat
Change-Id: I055817d30e95ea7f5beaa7e7bdb242c6e887d2fd
JIRA: CYAN-523
Issue: https://jira.cyanogenmod.org/browse/CYAN-523
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
| |
mSharedPreferences uses "com.cyanogenmod.trebuchet.prefs", while the Preferences activity uses
"com.cyanogenmod.trebuchet_preferences". Use PreferenceProvider to sync lock/unlock homescreen.
Change-Id: Ib9312a9f8cffe3f009b8cd8d9b9789d459c1bd96
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
|
|
| |
This ensures that the wallpaper dimensions are adjusted when a screen size change occurs,
for example when the expanded desktop feature is activated on devices without hard keys.
Change-Id: I4be96034a609afb2dd18e346b04ffacfed4e7043
JIRA: CYAN-790
Issue: https://jira.cyanogenmod.org/browse/CYAN-790
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow lock shortcuts and folders positions in the workspace, hotseat and apps and widgets drawer.
When is enabled the system avoids to move any shortcut or folder, change its names and
access to widgets.
Patchset 2: Fixed typo
Change-Id: I832da526cf1eb32752218656a7c2dafc53010236
JIRA: CYAN-686
Issue: https://jira.cyanogenmod.org/browse/CYAN-686
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
| |
* I don't know anyone who doesn't want this.
Change-Id: I2b5091a79d9ec32841d5f9b93a7c6c11357b9d04
|
|
|
|
| |
Change-Id: I95a85fafa34a7a58c98b9aed5547434f9c4610c7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change fixes some of the bugs of HotSeat on landscape mode:
* Fixed distance algorithm for XY spatial (not only for X axis)
* Fixed cellX and cellY database handling when items are added in landscape mode
* Fixed cellX and cellY transtions when add new items
* Restore the current hotseat page on rotation
Patchset 2: Fixed create new folder in vertical hotseat
Patchset 3: Fixed broken mTransposeLayoutWithOrientation != true (large screen devices)
Fixed delete existing folder in vertical hotseat
Patchset 4: Fixed destroy animation when a folder is destroyed in vertical hotseat
Rebased
Change-Id: I8b0faa5b6fde42d80e0d98226fca07eead04223c
JIRA: CYAN-315
Issue: https://jira.cyanogenmod.org/browse/CYAN-315
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|\ |
|
| |
| |
| |
| |
| |
| | |
patch 3: cleaner imports
Change-Id: Ib7150bf248feb343042b1b8cc20775bae1d27279
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix vertical aligment of wallpaper when Wallpaper Quick Render setting is activated.
See http://review.cyanogenmod.org/35227
Change-Id: I3b2b7b59ebce995724bcc2fe3f2aa079c7abafee
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
fixed vertical drawer support
changed pivotY to half the screen height, so
it looks better now
Change-Id: I152ec456e80de7342d9f06985aa060c40407f856
|
| |
| |
| |
| |
| |
| |
| |
| | |
removed German translations again,
fixed whitespace errors,
fixed upper-/lowercase mistakes
Change-Id: Ia502eede0e8140f49bc61141252ad0c862e0720b
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use the same ui_homescreen_default_screen's algorithm to fix overflow default values
Change-Id: I2f529dc902fd736c2e36ff92cdf001bd23518236
JIRA: CYAN-757
Issue: https://jira.cyanogenmod.org/browse/CYAN-757
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Replace AnalogClockWidget by cLock Widget
* Add "no telephony" workspaces files. New favorites:
- Phone -> Email
- Contacts -> Calendar
- Mms -> Contacts
- Browser -> Browser
* Add sw600dp and sw700dp update workspaces files
Patchset 2-4: CleanUp
Change-Id: If21559c59995326b93689f89291446a9962274cb
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Actually, the wallpaper is not center vertically (both, with wallpaperhack and
without wallpaperhack). This patch modifies:
* Replaces the WallpaperOffsetInterpolator class by the Launcher2 implementation.
* Fixes mWallpaperHack. onDraw now centers the y vertically.
* Disable mWallpaperHack when there is only one homescreen (otherwise a black screen is displayed).
Change-Id: Ia5e0763c9a31609db8f7826f619ed808041e97e7
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change fixes a NPE for the overflow menu. Steps:
1.- A device with no physical menu
2.- Install another launcher (xe Launcher2) (overflow menu is only displayed when Trebuchet runs
outside CM or when multiple launchers exists)
3.- Access AllAppDrawer and tap the overflow menu
4.- Tap again the overflow menu or rotate the screen and tap the overflow menu.
5.- NPE
The overflow menu is not recreated in onCreateOptionsMenu when isWorkspaceLocked(). The change
checks if the user is on the AllAppDrawer and forces the recreation of the menu.
Change-Id: Id68dd1f7b0c09a2f62b5f6d4fbef6f217bf98e82
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tablets with a 4x3 screen such as the HP Touchpad do not
work well with automatic grid size setting. This problem is described in
CyanogenMod Issue 5798: Trebuchet Tablet. This fixes that issue.
This creates a flag in config that can be overlayed at
build time to allow user settings to adjust grid size.
The maximum settable row and column counts are also overlayable.
This is a port of: http://review.cyanogenmod.org/#/c/21067/
which was merged into jellybean.
The default behavior is unchanged.
Rebased.
Change-Id: I3d7cf5e121a423a0033310eee88e498bc080af3c
|
|
|
|
| |
Change-Id: I4b7ff094ab24b7a5399f6d340412aa1b37679064
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This reverts commit ce6b2513bcfb257cfdeb604060708b3833ccb65e
Change-Id: Id1b264c9f4417a2c3f22f3821f446fb9211f4616
|
| |
| |
| |
| |
| |
| | |
This reverts commit 919296825af7c9028eac0f9c0be6d6c9fbda2184
Change-Id: Iba8cdc0f6d1023b12b7873314df13154f2cf265d
|
| |
| |
| |
| | |
Change-Id: Id9235c6946a402841cbd8512b118daf8b1be3c49
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When uninstalling an app from a shortcut, there are 2 incorrect cases:
1.- If the user proceeds with the uninstall process, all the shortcuts references are removed
from the workspace, except the one used to start that process, because the shortcut is
removed from the workspace, but not from the favorites database. A reboot of the device
will restore the shortcut into the workspace again.
2.- If the user cancels the uninstall process, the shortcut used is not restored, because
it was removed in the drag&drop process.
This change restore the shortcut prior to start the uninstall process. For restoring the
shortcuts the patchset verifies 3 conditions:
1.- If the shortcut was in the desktop, the shortcut is restored in the same position.
2.- If the shortcut was contained by a folder with one or two shortcuts, then the folder
is removed in the darg&drop, so the folder is recreated in the same location, and all its
shortcuts are restored
3.- If the shortcut was contained by a folder with more than 2 shortcuts, the shortcut is
restored in the same folder.
If the user proceeds with the uninstall process then as the shortcut is present in the
workspace, the shortcut will be removed.
Change-Id: I95e2684d01cabd0d5a04f17c896c72cad2b14d38
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|/
|
|
| |
Change-Id: I9b224f66bc25c721db1cd2dd53b397d72c21986e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) mUsePagingTouchSlop set to false.
Applist scroll now scrolls with the same
thresholds used by homescreen scrolling.
2) Early start of scroll as soon as we
detect that it's okay to scroll.
Eliminates waiting for next vsync
and starts scrolling in the current cycle.
instead of the next.
Above changes help in reducing first touch to
first displacement latencies in scroll usecases.
Improves scroll responsiveness.
Change-Id: Ib45a361b9b6275e64d0a5b5603aa15fdd386a5f8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On rotate screen, at all apps drawer in Trebuchet, the overflow menu icon overlays the market
icon. This changes contains:
1.- Modify the app_customize_pane layout to avoid that overflow button and market button overlap
each other.
2.- Move updateOverflowMenuButton() from runNewAppsAnimation to bindAllApplications. The overflow
button need to be updated every time the all app drawer change.
3.- Fix preferencesVisible assignment. If we are in CM and launcher is Trebuchet and device
has not permanent button, the overflow menu should be displayed.
4.- Fix onCreateOptionsMenu. On AllAppsVisible the menu should be recreated always
5.- Buttons padding (market and overflow) are reduced to avoid a bad visual effect when
both buttons are one beside the other.
Before: https://www.dropbox.com/s/i9vgp6sh35nsnjt/before_phone_portrait.png
After: https://www.dropbox.com/s/es5j35ny1jf9ey8/after_phone_portrait.png
https://www.dropbox.com/s/6sztai1hq0w9ngr/after_phone_landscape.png
Patchset 2: Remove unnecessary invalidateOptionsMenu() call
Change-Id: I7ec08ff00ed4705846c0b46639965899b16a143d
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
| |
The workspaces are now inflated before the LauncherView, so defer
wallpaper initialization until later.
Change-Id: I8b939ec217e73b4a7c2b14434479982e24315c74
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/packages/apps/Launcher2 into treb
Android 4.2.2 release 1
Conflicts:
res/layout-land/launcher.xml
res/layout-port/launcher.xml
res/layout-sw720dp/launcher.xml
src/com/cyanogenmod/trebuchet/AppsCustomizePagedView.java
src/com/cyanogenmod/trebuchet/AppsCustomizeTabHost.java
src/com/cyanogenmod/trebuchet/CellLayout.java
src/com/cyanogenmod/trebuchet/Launcher.java
src/com/cyanogenmod/trebuchet/PagedView.java
Change-Id: I415138430337bcd21070b815a80de9c0cdd52239
|
| |
| |
| |
| |
| |
| | |
- Also fixing issue where the workspace cling was showing on top of AllApps when you entered it for the first time.
Change-Id: I7d59ad153de192bc1d69537af1b4af632465138b
|
| |
| |
| |
| | |
Change-Id: I71d2b01518f3f736f6787ff6a503271b9ea7b04b
|
| |\ |
|
| | |
| | |
| | | |
Bug: 7139562
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
-> This new approach is actually correct in emulating cascaded pushing of
items left, right, up and down.
-> Takes care of a couple crashes and some instances where reordering
was not doing the right thing.
Change-Id: I016120e62f5d6fa1a2a6289c3badcb6ec230b2a3
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Switching how we set a property to tell launcher
to force rotation to be enabled, or to dump state.
Bug: 7538629
Change-Id: I8cb55f1a28ba59fe5d410562c66bc86eb9efabfe
|
| | |
| | |
| | | |
Bug: 7441452
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Gradient and black backgrounds were stopping at the Status Bar.
When returning from a full screen app to the launcher the wallpaper
was completely visible when it should have been obscured by these
backgrounds. Making the app full screen while keeping the views
within the system insets fixes this.
Bug 7410717 fixed.
Change-Id: If3f7e4808961ee6c80fe2d0a328e6ca39fa5eb7a
|
| |\ \ |
|
| | |/ |
|
| |/
| |
| |
| | |
Bug: 7400295
Change-Id: I2c7625ee1ce09ded57d884c229f155ebcf39be07
|
| |
| |
| |
| | |
Change-Id: Ic8f0e1b5a5800c6da13feda2255b79b3ece852e6
|
| |
| |
| |
| | |
Change-Id: Ia8a1e61de79e3fa6dbadad826b0bc2844368c86b
|
|\ \
| | |
| | |
| | |
| | |
| | | |
cm-10.1
Change-Id: I2bf5cee3b69c71cbfd021b8fbc6f59eb881cdbeb
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changes to some activities (some removals due to missing apps
or layout changes, for instance) result in icon updates for
items without a title. Attempting to stringify the item object
in order to log the update and assuming a title was present
was resulting in a NPE
Change-Id: I414bbb7feaf41d13a82c630a5652a3833b12a2fc
|
| |
| |
| |
| | |
Change-Id: Idbd70100be2a47539fc399073d1f4f049c81c03b
|