History log of /packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2126691ce23b4c62e6d17cb9643faf4c2b3886da 19-Dec-2016 Jon Miranda <jonmiranda@google.com> Fix widget reorder animations in multi-window mode.

The original animation assumed that the views are not
translated and not scaled. In multi-window mode this
assumption is no longer valid, because app widgets are
scaled and translated to fit center within their cells.

Bug: 32176631
Change-Id: Id60c793730d982277c9d91860e9fb0e6a0df7d38
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
e96798e885e3ac97b6de0a1c598eb09cf62349af 07-Dec-2016 Jon Miranda <jonmiranda@google.com> Smooth animation when dropping a widget in multi-window mode.

Factored in app widget scaling in methods related to estimating
widget size and positions.
ie. Dropping a widget that needs to be resized to fit in the
workspace.

Bug: 32176631
Change-Id: I106fe12041565a090047f146a07d4bc80a074b4a
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
776ca257cefcf2a94e06bf89df6267c945708afe 12-Dec-2016 Sunny Goyal <sunnygoyal@google.com> Merge "Defining various modes for CellLayout: Workspace, Hotseat & Folder" into ub-launcher3-master
7ae64ffbe11a629e54ced0c5c99cd47228b28821 22-Nov-2016 Jon Miranda <jonmiranda@google.com> Scale widgets in multi-window mode.

To keep this CL small and focused, I'm going to create
a separate CL that handles the scaling for the widget in
drag and drop mode.

Bug: 32176631
Change-Id: Id6557d070edb664aa1f4851de7abf494cf8a0677
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
c13403c612748bfdf06436510600230c4c4b55ec 19-Nov-2016 Sunny Goyal <sunnygoyal@google.com> Defining various modes for CellLayout: Workspace, Hotseat & Folder

> Moving the definition of modes to xml
> Defining attributes in xml

Change-Id: I7a569fdbeb833d569eeeef2f2cbc8214e608ad11
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
aa8a871e337fe42e9339b96833eaf37bf2b64b2f 20-Nov-2016 Sunny Goyal <sunnygoyal@google.com> Removing widgetGap and heightGap from cellLayout

This values are always set to 0

Change-Id: Ic317efdc65baa22e915f4766c60c67c116bb94a8
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
93e1f04fa915fc22ecccc7e40794472914f3d446 11-Nov-2016 Jon Miranda <jonmiranda@google.com> Hide workspace text in multi-window mode.

* Vertically centers workspace icons.
* New iconDisplay value so shortcut text is not overriden.

Bug: 32176631

Change-Id: I86753bab5b24aafc417e0f77d8c471fc4c0dc7f0
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
35fe7be54e4c9b47598130f5234ea96c4dc16229 26-Oct-2016 Sunny Goyal <sunnygoyal@google.com> Removing some deprecated code around page layers

1) setChildrenDrawnWithCacheEnabled: deprecated
2) Removing custom logic based on isHardwareAccelerated. This check was not being
used consistantly everywhere

Bug: 29761236
Change-Id: Ic4a9c764f154497e376e37de2351fe04d1b48500
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
2fd020860533e18c64a93d14d11cb2d34bc9cbaf 07-Oct-2016 Tony <twickham@google.com> Use Launcher.getLauncher(Context) instead of type-casting.

Bug: 32010039
Change-Id: Icb80d3e547a706740b84df2cb80f99e4a7f81c43
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
1f06427266c0cb5de4561fc7c620ff542f625300 19-Jul-2016 Winson <winsonc@google.com> Initial changes to tweak layout.

- 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
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
7c786f75d131addf849551a8cbc084c7c4ed0730 01-Jun-2016 Sunny Goyal <sunnygoyal@google.com> Allowing the first screen to expand to the screen edge

This allows the QSB to extend all the way to the edge
Change-Id: I43c6e21e44fef7fffe6fb12b7afb95549b68679f
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
11c45f114165330ea9c895ca6fdf83fdaa2e5fad 04-Dec-2015 Tony Wickham <twickham@google.com> Merge "Add appropriate (tiny) offset to widget drops so they land correctly." into ub-launcher3-burnaby-polish
am: 8db5d7ca60

* commit '8db5d7ca60e79f007bfce7952c15c74d0ee44bc0':
Add appropriate (tiny) offset to widget drops so they land correctly.
a501d49a6a8b684bc83aa6b536f43247d75bacdf 04-Nov-2015 Tony Wickham <twickham@google.com> Add appropriate (tiny) offset to widget drops so they land correctly.

Also removed some unused parameters I found on the way.

Bug: 25191623
Change-Id: Ib9a30db106467c114cc8b54a5b13ed3e88162d56
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
26b01425436277447fe24d01ad50d9e64f82109e 10-Nov-2015 Tony Wickham <twickham@google.com> Don't add offset to CellLayout's fullscreen children.

Bug: 25411084
Change-Id: Ifbcd0a53cf04a7fc29386f4f09aaf7f972e7354a
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
42e28092b336bf89bee94c61e2cd327e1d8ec882 17-Aug-2015 Sunny Goyal <sunnygoyal@google.com> Removing some eclipse warnings

Change-Id: I160feaee81b262be02446885fae643c0be71b7af
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
2e6da1539bc7286336b3c24d96ab76434939ce4d 06-May-2015 Adam Cohen <adamcohen@google.com> Refactoring DeviceProfile

-> 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
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
7066003b2032a49ae5e59dab9b706259bdeb7e6e 14-May-2015 Sunny Goyal <sunnygoyal@google.com> 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
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
f7a29e83f06909b378dba39c83a522375682710a 25-Apr-2015 Sunny Goyal <sunnygoyal@google.com> Removing some unused method params from CellLayout

> Replacing various distance calculations with Math.hypot
> Moving findVacantCell to Utilities

Change-Id: I0cb194b603e52b3bb2b29a095bb4da2bb408ab13
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
fc3c1edf7bbc3f7cb23e79520731d13ccc2da046 10-Apr-2015 Sunny Goyal <sunnygoyal@google.com> Fixing folder focus logic

> Folder items no longer remain in a linear order when a folder
gets rearranged, and se we need to use createSparseMatrix instead
of createFullArray. Also because of this we need to use getChildAt(x, y)
instead of getChildAt(index)
> Removing traces of AppsCustomizePage (all apps) from FocusHelper

Change-Id: I9007f6b95cb823e27ef4a43ce725fda8ef1b7cf8
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
5940042d39b576553c2499bcf3d0641281e6ad52 06-Mar-2014 Adam Cohen <adamcohen@google.com> Supporting custom widgets provided by launcher

-> This change provides integration for widgets provided by
the launcher package which can run arbitrary code.

Change-Id: I6052da5c4afed7ee72e3b44d045b9c46f2d84c42
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
3a6e7f330e680ef718ca7c0921d842efb4d8bbae 10-Oct-2013 Winson Chung <winsonc@google.com> Initial changes for new clings. (Bug 11142616)

Change-Id: Id66ebceb99449941921d9e617dfe0cc05a2e3b65
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
69737c3e49ff3edc42899609fdbc96e356f8638e 09-Oct-2013 Winson Chung <winsonc@google.com> Ensuring that we offset cell items by their destination cell padding. (Bug 10881814)

Change-Id: Idc16ae64b1a0e7f79b8a3ff5da6854fbab7867d2
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
2824b0750e978e5a63f804a42e9eedba53e8d21d 04-Oct-2013 Vladimir Marko <vmarko@google.com> Don't measure GONE views.

Don't measure GONE views in ShortcutAndWidgetContainer and
PagedView. They will not be processed in onLayout anyway.
This is pre-requisite for avoiding costly onMeasure in GEL.

Bug: 10734110
Change-Id: I4c1bef41d9185af5eda42b43371546c60f341f87
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
cdef04403695872db8be6342b8dacd437ee02d52 20-Sep-2013 Winson Chung <winsonc@google.com> Fixing some grid spacing issues. (Bug 10754537, 10754538)

- Ensuring app names don't run into each other in folders and on the workspace
- Ensuring that app names are aligned with folder names

Change-Id: Ie8d546eacd52005778d81c46011c1c84bc24118c
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
26acafbe67565a9cc6aeb7d6c43a1c6d1cb9b73c 05-Sep-2013 Michael Jurka <mikejurka@google.com> Fix crash when setting wallpaper

Also clean up some unused code

Change-Id: Ibef8d3d594cc859a993640fd6ee578e9eeb633d1
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
5f8afe6280eae34620067696173e71943e1a30a3 13-Aug-2013 Winson Chung <winsonc@google.com> Initial Changes for Dynamic Grid

Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
ec40b2b90c649be3b513af2ba174db56b54b64f6 24-Jul-2013 Adam Cohen <adamcohen@google.com> Giving custom content full screen

Change-Id: Icd104fff8a1a315b795a60b812048a6218bf0e5a
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java
325dc23624160689e59fbac708cf6f222b20d025 06-Jun-2013 Daniel Sandler <dsandler@android.com> Launcher2 is now Launcher3.

Changes include
- moving from com.android.launcher{,2} to
com.android.launcher3
- removing wallpapers
- new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
/packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java