/packages/apps/Launcher3/src/com/android/launcher3/util/ |
FlingAnimation.java | 10 import com.android.launcher3.DragLayer; 24 protected final DragLayer mDragLayer; 36 public FlingAnimation(DragObject d, PointF vel, Rect iconRect, DragLayer dragLayer) { 42 mDragLayer = dragLayer; 44 dragLayer.getViewRectRelativeToSelf(d.dragView, mFrom);
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
WidgetHostViewLoader.java | 14 import com.android.launcher3.DragLayer; 62 // The widget was inflated and added to the DragLayer -- remove it. 117 DragLayer.LayoutParams lp = new DragLayer.LayoutParams(unScaledSize[0],
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DeleteDropTarget.java | 205 DragLayer dragLayer = mLauncher.getDragLayer(); 207 dragLayer.getViewRectRelativeToSelf(d.dragView, from); 221 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f, 224 DragLayer.ANIMATION_END_DISAPPEAR, null); 266 private AnimatorUpdateListener createFlingToTrashAnimatorListener(final DragLayer dragLayer, 271 dragLayer.getViewRectRelativeToSelf(d.dragView, from); 295 final DragView dragView = (DragView) dragLayer.getAnimatedView(); 323 private DragLayer mDragLayer [all...] |
DragView.java | 46 private DragLayer mDragLayer = null; 245 * @param touchX the x coordinate the user touched in DragLayer coordinates 246 * @param touchY the y coordinate the user touched in DragLayer coordinates 252 DragLayer.LayoutParams lp = new DragLayer.LayoutParams(0, 0); 281 * @param touchX the x coordinate the user touched in DragLayer coordinates 282 * @param touchY the y coordinate the user touched in DragLayer coordinates
|
Folder.java | 408 if (!(getParent() instanceof DragLayer)) return; 418 if (!(getParent() instanceof DragLayer)) return; 469 if (!(getParent() instanceof DragLayer)) return; 795 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); 800 DragLayer parent = (DragLayer) mLauncher.findViewById(R.id.drag_layer); 859 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); 861 lp = new DragLayer.LayoutParams(0, 0) [all...] |
AppWidgetResizeFrame.java | 21 private DragLayer mDragLayer; 77 LauncherAppWidgetHostView widgetView, CellLayout cellLayout, DragLayer dragLayer) { 84 mDragLayer = dragLayer; 85 mWorkspace = (Workspace) dragLayer.findViewById(R.id.workspace); 203 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); 401 final DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); 416 // DragLayer. We allow the actual handles to be clipped, but we shift the touch region [all...] |
ButtonDropTarget.java | 125 DragLayer dragLayer = mLauncher.getDragLayer(); 129 dragLayer.getViewRectRelativeToSelf(this, to);
|
FolderIcon.java | 368 DragLayer dragLayer = mLauncher.getDragLayer(); 370 dragLayer.getViewRectRelativeToSelf(animateView, from); 381 scaleRelativeToDragLayer = dragLayer.getDescendantRectRelativeToSelf(this, to); 399 dragLayer.animateView(animateView, from, to, finalAlpha, 402 postAnimationRunnable, DragLayer.ANIMATION_END_DISAPPEAR, null);
|
DragLayer.java | 50 public class DragLayer extends FrameLayout implements ViewGroup.OnHierarchyChangeListener { 79 * Used to create a new DragLayer from XML. 84 public DragLayer(Context context, AttributeSet attrs) { 291 * Determine the rect of the descendant in this DragLayer's coordinates 295 * @return The factor by which this descendant is scaled relative to this DragLayer. 313 * Given a coordinate relative to the descendant, find the coordinate in this DragLayer's 318 * @return The factor by which this descendant is scaled relative to this DragLayer. Caution 547 * @param view The view to be animated. This view is drawn directly into DragLayer, and so 548 * doesn't need to be a child of DragLayer.
|
Launcher.java | 222 private DragLayer mDragLayer; 595 public DragLayer getDragLayer() { [all...] |
Workspace.java | 465 DragLayer dragLayer = mLauncher.getDragLayer(); 466 int count = dragLayer.getChildCount(); 468 View child = dragLayer.getChildAt(i); [all...] |
DragController.java | 144 * Used to create a new DragLayer from XML. 201 * @param dragLayerX The x position in the DragLayer of the left-top of the bitmap. 202 * @param dragLayerY The y position in the DragLayer of the left-top of the bitmap. 533 final DragLayer dragLayer = mLauncher.getDragLayer(); 534 final boolean isRtl = (dragLayer.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL); 542 dragLayer.onEnterScrollArea(forwardDirection); 551 dragLayer.onEnterScrollArea(backwardsDirection); 701 // Convert the hit rect to DragLayer coordinates
|
AppsCustomizePagedView.java | 624 DragLayer.LayoutParams lp = new DragLayer.LayoutParams(unScaledSize[0], 671 // The widget was inflated and added to the DragLayer -- remove it. [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAppWidgetHostView.java | 29 import com.android.launcher3.DragLayer.TouchCompleteListener; 42 private DragLayer mDragLayer;
|
DeleteDropTarget.java | 116 final DragLayer dragLayer = mLauncher.getDragLayer(); 120 dragLayer); 156 dragLayer.animateView(d.dragView, fling, duration, tInterpolator, onAnimationEndRunnable, 157 DragLayer.ANIMATION_END_DISAPPEAR, null);
|
AppWidgetResizeFrame.java | 27 private final DragLayer mDragLayer; 67 LauncherAppWidgetHostView widgetView, CellLayout cellLayout, DragLayer dragLayer) { 76 mDragLayer = dragLayer; 200 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); 397 final DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); 411 // DragLayer. We allow the actual handles to be clipped, but we shift the touch regions 414 // In this case we shift the touch region down to start at the top of the DragLayer [all...] |
ButtonDropTarget.java | 222 final DragLayer dragLayer = mLauncher.getDragLayer(); 224 dragLayer.getViewRectRelativeToSelf(d.dragView, from); 241 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f, 244 DragLayer.ANIMATION_END_DISAPPEAR, null); 263 DragLayer dragLayer = mLauncher.getDragLayer(); 267 dragLayer.getViewRectRelativeToSelf(this, to);
|
DragView.java | 53 private DragLayer mDragLayer = null; 308 * @param touchX the x coordinate the user touched in DragLayer coordinates 309 * @param touchY the y coordinate the user touched in DragLayer coordinates 315 DragLayer.LayoutParams lp = new DragLayer.LayoutParams(0, 0); 344 * @param touchX the x coordinate the user touched in DragLayer coordinates 345 * @param touchY the y coordinate the user touched in DragLayer coordinates
|
Folder.java | 379 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); 381 lp = new DragLayer.LayoutParams(0, 0); 424 if (!(getParent() instanceof DragLayer)) return; 439 if (!(getParent() instanceof DragLayer)) return; 625 if (!(getParent() instanceof DragLayer)) return; [all...] |
DragLayer.java | 50 public class DragLayer extends InsettableFrameLayout { 101 * Used to create a new DragLayer from XML. 106 public DragLayer(Context context, AttributeSet attrs) { 379 * Determine the rect of the descendant in this DragLayer's coordinates 383 * @return The factor by which this descendant is scaled relative to this DragLayer. 407 * Given a coordinate relative to the descendant, find the coordinate in this DragLayer's 414 * @return The factor by which this descendant is scaled relative to this DragLayer. Caution 670 * @param view The view to be animated. This view is drawn directly into DragLayer, and so 671 * doesn't need to be a child of DragLayer. [all...] |
FolderIcon.java | 430 DragLayer dragLayer = mLauncher.getDragLayer(); 432 dragLayer.getViewRectRelativeToSelf(animateView, from); 443 scaleRelativeToDragLayer = dragLayer.getDescendantRectRelativeToSelf(this, to); 461 dragLayer.animateView(animateView, from, to, finalAlpha, 464 postAnimationRunnable, DragLayer.ANIMATION_END_DISAPPEAR, null);
|
Launcher.java | 249 @Thunk DragLayer mDragLayer; [all...] |
Workspace.java | 482 DragLayer dragLayer = mLauncher.getDragLayer(); 483 int count = dragLayer.getChildCount(); 485 View child = dragLayer.getChildAt(i); [all...] |
DragController.java | 147 * Used to create a new DragLayer from XML. 203 * @param dragLayerX The x position in the DragLayer of the left-top of the bitmap. 204 * @param dragLayerY The y position in the DragLayer of the left-top of the bitmap. 551 final DragLayer dragLayer = mLauncher.getDragLayer(); 559 dragLayer.onEnterScrollArea(forwardDirection); 568 dragLayer.onEnterScrollArea(backwardsDirection);
|
WorkspaceStateTransitionAnimation.java | 551 final DragLayer dragLayer = mLauncher.getDragLayer(); 552 final float startAlpha = dragLayer.getBackgroundAlpha(); 564 dragLayer.setBackgroundAlpha( 572 dragLayer.setBackgroundAlpha(finalAlpha);
|