Commit Graph

84 Commits

Author SHA1 Message Date
Sunny Goyal c07da8a29c am fb445cd9: Merge "Various lint error fixes." into ub-launcher3-burnaby
* commit 'fb445cd97d828fa2d9fe3190b25524e39038cd0b':
  Various lint error fixes.
2015-05-14 21:49:17 +00:00
Sunny Goyal 7066003b20 Various lint error fixes.
> 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
2015-05-14 12:28:07 -07:00
Sunny Goyal bb4a19dd36 am bbc140b5: Merge "Revert "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop" Actual fix" into ub-launcher3-burnaby
* commit 'bbc140b545ffd6c230269af3b0b5cad98838fc3a':
  Revert "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop" Actual fix
2015-04-15 23:59:02 +00:00
Sunny Goyal bbc140b545 Merge "Revert "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop" Actual fix" into ub-launcher3-burnaby 2015-04-15 23:53:43 +00:00
Sunny Goyal 584eee2035 am b3c5fac5: Merge "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop" into ub-launcher3-burnaby
* commit 'b3c5fac5dc16189f1d9ebe7ff8504612d4869e6f':
  Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop
2015-04-15 23:47:49 +00:00
Sunny Goyal 89a6ec2af2 Revert "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop"
Actual fix

This reverts commit b4b01efa43.

Change-Id: I65cc75e0f1a95f69be607bb5b11d7f4627ff25c1
2015-04-15 23:40:57 +00:00
Sunny Goyal b3c5fac5dc Merge "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop" into ub-launcher3-burnaby 2015-04-15 23:39:51 +00:00
Sunny Goyal b4b01efa43 Revert "Disable setWallpaper button until the wallpaper is loaded"
Will submit again after the drop

This reverts commit 65776c4359.

Change-Id: I5f85d0c70f3f5faf85d9ba16e82d4714b694a193
2015-04-15 23:38:17 +00:00
Sunny Goyal 98a89d8693 am 8fbb7715: Merge "Disable setWallpaper button until the wallpaper is loaded" into ub-launcher3-burnaby
* commit '8fbb771537c7244b0b203eb8495dde38c00b575c':
  Disable setWallpaper button until the wallpaper is loaded
2015-04-15 22:30:56 +00:00
Sunny Goyal 8fbb771537 Merge "Disable setWallpaper button until the wallpaper is loaded" into ub-launcher3-burnaby 2015-04-15 22:26:32 +00:00
Sunny Goyal 65776c4359 Disable setWallpaper button until the wallpaper is loaded
Bug: 20187333
Change-Id: Id7a42616560e15eddedad5846ef927a3be52ed1c
2015-04-15 14:17:46 -07:00
Neil Fuller deb3dd3ef8 am ba41458f: Remove usage of FloatMath
* commit 'ba41458f5c696194d547ac8f24e9f8e58cfa64fc':
  Remove usage of FloatMath
2015-04-15 09:27:46 +00:00
Neil Fuller ba41458f5c Remove usage of FloatMath
Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: I2effc3f498fb13e66de9a905b9a40ac5688a5850
2015-04-15 09:10:18 +01:00
Sunny Goyal b67f7e6ca7 am 73621503: Merge "Removing Pools.java as it is present in support lib" into ub-launcher3-burnaby
* commit '73621503de4edb5fe4d17f5bf453261e68b88a7f':
  Removing Pools.java as it is present in support lib
2015-04-08 18:21:54 +00:00
Sunny Goyal 7f06ae5c8b Removing Pools.java as it is present in support lib
Change-Id: I0f1346223aa289889dbefedd47bff093e9c2c05d
2015-04-08 11:08:27 -07:00
Sunny Goyal a27bf5da53 am 10451a96: Merge "Adding BaseActivity which can be overriden for custom behavior" into ub-launcher3-burnaby
* commit '10451a967f65c577010d359e1226fd0b5897dbe6':
  Adding BaseActivity which can be overriden for custom behavior
2015-03-23 19:22:24 +00:00
Sunny Goyal 1d0b093a6e Adding BaseActivity which can be overriden for custom behavior
Change-Id: I6707aa99f5d33dceede226a6367e24482f5157f6
2015-03-21 11:11:03 -07:00
Sunny Goyal 00a44cbb2e am 5319b2bb: Merge "Removing all dependencies of launcher code on wallpaper-picker" into ub-launcher3-burnaby
* commit '5319b2bb3ba25fa658f58c18130c91d9efb1f677':
  Removing all dependencies of launcher code on wallpaper-picker
2015-03-21 16:20:24 +00:00
Sunny Goyal 6a1e95a3df Removing all dependencies of launcher code on wallpaper-picker
> WallpaperPicker can still depend on launcher code, but not the
other way round.

Change-Id: I93a07f985c3955c638a68a5fad9c09b184a879b9
2015-03-20 18:16:58 -07:00
Adam Cohen ff344f2421 am 091440a9: Reducing method count by eliminating synthetic accessors
* commit '091440a9cb9d4f42406631004aa484cbb79214ca':
  Reducing method count by eliminating synthetic accessors
2015-03-20 18:20:37 +00:00
Adam Cohen 091440a9cb Reducing method count by eliminating synthetic accessors
Elimates 304 methods based on dex analysis

The java compiler generates sythetic accessor methods for all private
fields, methods and contructors accessed from inner classes. By marking them
package-private and @Thunk instead, sythentic accessor methods are no
longer needeed. These annotated elements should be treated as private.

Change-Id: Id0dc2c92733474250d8ff12fa793d3a8adeb1f26
2015-03-20 11:15:54 -07:00
Sunny Goyal fef8a46438 am 8f2a9e4d: Merge "Cleaning up some resources in WallpaperPickerActivity" into ub-launcher3-burnaby
* commit '8f2a9e4dbfc6a475f70e791123bebb56a5a94e29':
  Cleaning up some resources in WallpaperPickerActivity
2015-03-02 19:43:10 +00:00
Geoff Mendal a52f61e57c Import translations. DO NOT MERGE
Change-Id: I4c434879510a9434cbcb0eaa823899a676f4dab4
Auto-generated-cl: translation import
2015-02-26 13:27:56 -08:00
Sunny Goyal 9c83a0da6d Cleaning up some resources in WallpaperPickerActivity
Change-Id: I4923403c0c094d0ae0b00e3a08a13099c3addb10
2015-02-26 19:33:38 +00:00
Sunny Goyal 9f9d0a59c4 Picking a bitmap to reuse where least pixels are wasted
Change-Id: I4217bc68a5caa2d1526e4ebb101dbaf0348066d3
2015-02-25 11:53:26 -08:00
Sunny Goyal 65b929d6f2 Reducing memory usage of wallpaper picker
> Loading preview bitmap only once, instead of loading it twice at BitmapRegionTileSource and BitmapSource
> Maintaing a weak-set of reusable bitmaps and reusing them for decoding bitmaps
> Loading images on a HandlerThread (instead of AsyncTask) and removing any non-started task before submitting a new task
> Loading inbuild images (from resources) on HandlerThread instead of UIThread
> Freeing up unbound GL textures before binding a new texture.

Bug: 18382606
Change-Id: Ic4ca630dd113ded65d2853eb0d291c9e5823637e
(cherry picked from commit 283c2261bd)
2015-02-24 23:18:25 +00:00
Sunny Goyal f3e4f548fd Merge "Moving some files and methods around" into ub-launcher3-master 2015-02-20 01:54:31 +00:00
Sunny Goyal 9026271410 Merge "Fixing logic to determine if wallpaper change." into ub-launcher3-master 2015-02-20 01:50:47 +00:00
Sunny Goyal 35746d6029 Merge "Removing unused BlockingGLTextureView" into ub-launcher3-master 2015-02-12 22:26:48 +00:00
Sunny Goyal 06a4d3f1af Moving some files and methods around
> Removing android.util package
> Moving static methods and classes out of WallpaperCropActivity
> Removing some unused utility methods

Change-Id: I252a0655ddce195189b6b3f0bf92970e5808c9d7
2015-02-12 12:25:56 -08:00
Sunny Goyal c7eef37512 Removing unused BlockingGLTextureView
Change-Id: Iac5aec1193e53dd554f61d07201bac06178914f5
2015-02-12 10:13:09 -08:00
Sunny Goyal fddef4634c Fixing logic to determine if wallpaper change.
> Current logic to determine if livewallpaper changed returns true all the time
> Use returnCode passed by the calling activity.

Change-Id: Ida800a90451b1f7d368234e1a7e10938dcf2f6f7
2015-02-12 10:01:15 -08:00
Sunny Goyal 6f553b975f Fixing last image thumb, being loaded twice
Change-Id: I241e472a3f0869b82066163514fb2c29c0f18a8f
2015-02-12 09:58:04 -08:00
Sunny Goyal 5736ed319d Merge "Removing usage of reflection." into ub-launcher3-master 2015-01-21 01:13:27 +00:00
Sunny Goyal d009101232 Removing usage of reflection.
> Updated launcher.java with the new APIs
> Removed unused method in BitmapUtils

Change-Id: I24804d2cd7d9fc45040532e8324672f5ea6fc110
2015-01-20 15:56:23 -08:00
Sunny Goyal c46bfef5df Removing support library dependency
> Removed FolderAutoScrollHelper as folders are currently not scrollable

Change-Id: I261f43a665b742697e3224e1e9852ccc526badcd
2015-01-20 11:49:12 -08:00
Geoff Mendal 2571c1acc2 Import translations. DO NOT MERGE
Change-Id: Id2721f2c721bfcaf5f880e6675f66a02a8bca1f3
Auto-generated-cl: translation import
2015-01-16 16:06:23 -08:00
Cameron Neale 2775cb34b3 Changes made to accomodate GSA in Google3 w/ Robolectric
dragViewOffset removed from WallpaperPicker as it was causing
a duplicate resource conflict with launcher3 and was not used
within the WallpaperPicker project.

Empty <application> tag added to WallpaperPicker manifest as required by
Robolectric

Removed <add-resource> tag from L3 manifest, unrecognized by Robolectric

Change-Id: I3744fc50731f82c3e6fdc01d9819e9a0302dc503
2014-10-31 14:06:07 -07:00
Cameron Neale 9a8573250b Removing duplicated and/or unused resources from WallpaperPicker that conflict with Launcher 3 resources. The resource duplicated between the two is now only held within Launcher3. These changes are necessary in order for GSA to build in Google3.
Change-Id: I70f5a250db52303c876e6abedd9c6d32d1d4761e
2014-10-20 14:26:17 -07:00
Helena Josol 28db280b7a Add more Launcher files to delete on Clear Launcher Data
Bug: 12753154
Change-Id: I00679bdc6eff70a1398122aaa955c08eabd556b1
2014-10-16 17:35:50 +01:00
Sunny Goyal de326d08d8 Merge "Using DeviceDefault theme for Launcher and WallpaperPicker" into ub-now-queens 2014-10-08 17:31:10 +00:00
Sunny Goyal e03b81294f Using DeviceDefault theme for Launcher and WallpaperPicker
Change-Id: I31bfeedd99d50683fba910f233b25bb3f364ce1f
2014-10-08 09:55:59 -07:00
Sunny Goyal 549f9b02a8 Updating the wallpaperpicker thumb selection feedback
> Using shape drawable instead of 9-patch image
> For L and above, using ripple click feedback with a tick
when selected. The vector path for tick is from go/icons ('Done')

Bug: 17897837

Change-Id: Ic9c9e455eb8bc39322b1474dd55432961b9a6498
2014-10-08 09:32:54 -07:00
Helena Josol b2331f6601 Merge "Create a central list of files the Launcher writes to the app directory" into ub-now-queens 2014-10-06 16:25:56 +00:00
Helena Josol 4fbbb3e3e0 Create a central list of files the Launcher writes to the app directory
Replace hardcoded Launcher filenames with the defined constants.

Bug: 12753154
Change-Id: I072f202d9388a703b9e6851bde64ea7fafe4b10a
2014-10-06 17:08:10 +01:00
Adam Cohen e2f2594784 am 4b8d11fc: Add missing xxhdpi asset
* commit '4b8d11fcb396760eca75cf2b055a7acd05c594ec':
  Add missing xxhdpi asset
2014-10-03 20:58:06 +00:00
Adam Cohen 4b8d11fcb3 Add missing xxhdpi asset
Bug: 17813013
Change-Id: If1e3448fb109e3f7f0c1ae6562a795fecf3bdf42
2014-10-03 13:47:11 -07:00
Baligh Uddin 090f9a6756 Import translations. DO NOT MERGE
Change-Id: I619612c919567fdaec3d7d0f5b9a33c94439c759
Auto-generated-cl: translation import
2014-09-25 11:44:09 -07:00
Adam Cohen 4ae96ce92d Add ability for Partner customization apk to override certain DeviceProfile params
-> Workspace row / col counts
-> All apps row / col counts
-> Workspace icon size

issue 17208277

Change-Id: I25cfafede4da783083593b9bfeff4e5ba7751d36
2014-09-04 15:12:55 +00:00
Sunny Goyal 0af0d8422b Saving the system wallpaper thumbnail prefixed by the SDK_INT
so that it is recreated after a system update.

issue: 15670065

Change-Id: I237ef1d99676d5a0ac6ff7b4a80a7a72905ef1ed
2014-08-13 12:16:59 -07:00