summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AppWidgetResizeFrame.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring DeviceProfileAdam Cohen2015-05-211-2/+2
| | | | | | | | | | | | | | | | | | | | -> Pulling out the parts of device profile which can (and need to be) initialized and accessed without access to an Activity context, ie. the invariant bits. -> The invariant bits are stored in InvariantDeviceProfile which is initialized statically from LauncherAppState. -> The DeviceProfile contains the Activity context-dependent bits, and we will create one of these for each Activity instance, and this instance is accessed through the Launcher activity. -> It's possible that we can continue to refactor this such that all appropriate dimensions can be computed without an Activity context (by only specifying orientation). This would be an extension of this CL and allow us to know exactly how launcher will look in both orientations from any context. Sets the stage for some improvements around b/19514688 Change-Id: Ia7daccf14d8ca2b9cb340b8780b684769e9f1892
* Updating widget resize frame assets.Sunny Goyal2015-05-191-62/+53
| | | | | | | | > Using a shadow as background and a frame as foreground. > The handle has baked in shadow which gets wrapped by the frame shadow Change-Id: Ib0e305ea735304236b3319e4fde22fb442f5dc0f
* Add drop animation / Toast to widgettrayHyunyoung Song2015-04-231-1/+1
| | | | | | | | | | | - show instruction toast on clicking the widget - Add animation when widget drops on the workspace. Added WidgetHostViewLoader to handle short press and assign widget host view to enable animation b/19897708 Change-Id: Iec36d72cb21bf09343d0beeb31a09bf8b0cb5e0d
* Supporting custom widgets provided by launcherAdam Cohen2014-12-051-8/+16
| | | | | | | -> This change provides integration for widgets provided by the launcher package which can run arbitrary code. Change-Id: I6052da5c4afed7ee72e3b44d045b9c46f2d84c42
* Clean up importsMichael Jurka2013-12-131-2/+0
|
* Fixing widget resize handles in RTLAdam Cohen2013-09-261-2/+2
| | | | Change-Id: I1c6ccb019cf87570c7d206809b321e901f0d3340
* Clean up unused codeMichael Jurka2013-08-281-2/+0
| | | Change-Id: Ie1e927aa0b5304f62cfffaab449abb3133870f80
* Fix widget resizing (Which stopped working at some point)Adam Cohen2013-07-091-7/+7
| | | | | | | | -> Also, deferring empty screen removal until after the drop animation in order to reduce buggy transitions -> Also fixing workspace layout on tablet Change-Id: I1ae9fdaf592262f959424f321efa6df4298f85cc
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-0/+471
Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b