/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
ArrowPopup.java | 47 import com.android.launcher3.dragndrop.DragLayer; 98 mArrow.setLayoutParams(new DragLayer.LayoutParams(arrowWidth, arrowHeight)); 167 DragLayer.LayoutParams arrowLp = (DragLayer.LayoutParams) mArrow.getLayoutParams(); 201 * Provide the location of the target object relative to the dragLayer. 225 DragLayer dragLayer = mLauncher.getDragLayer(); 226 Rect insets = dragLayer.getInsets(); 233 < dragLayer.getRight() - insets.right; 234 boolean canBeRightAligned = rightAlignedX > dragLayer.getLeft() + insets.left [all...] |
PopupContainerWithArrow.java | 58 import com.android.launcher3.dragndrop.DragLayer; 152 DragLayer dl = mLauncher.getDragLayer();
|
/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...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
AppWidgetResizeFrame.java | 20 import com.android.launcher3.dragndrop.DragLayer; 47 private DragLayer mDragLayer; 120 DragLayer dl = launcher.getDragLayer(); 124 ((DragLayer.LayoutParams) frame.getLayoutParams()).customPosition = true; 132 DragLayer dragLayer) { 138 mDragLayer = dragLayer; 210 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); 381 * relative to the {@link DragLayer} [all...] |
ButtonDropTarget.java | 45 import com.android.launcher3.dragndrop.DragLayer; 267 final DragLayer dragLayer = mLauncher.getDragLayer(); 269 dragLayer.getViewRectRelativeToSelf(d.dragView, from); 281 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f, 284 DragLayer.ANIMATION_END_DISAPPEAR, null); 311 DragLayer dragLayer = mLauncher.getDragLayer(); 315 dragLayer.getViewRectRelativeToSelf(this, to);
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
WorkspaceTouchListener.java | 38 import com.android.launcher3.dragndrop.DragLayer; 81 DragLayer dl = mLauncher.getDragLayer();
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
FlingAnimation.java | 16 import com.android.launcher3.dragndrop.DragLayer; 31 protected final DragLayer mDragLayer; 106 onAnimationEndRunnable, DragLayer.ANIMATION_END_DISAPPEAR, null);
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
WidgetHostViewLoader.java | 18 import com.android.launcher3.dragndrop.DragLayer; 71 // The widget was inflated and added to the DragLayer -- remove it. 135 DragLayer.LayoutParams lp = new DragLayer.LayoutParams(unScaledSize[0],
|
LauncherAppWidgetHostView.java | 49 import com.android.launcher3.dragndrop.DragLayer; 113 DragLayer dragLayer = Launcher.getLauncher(getContext()).getDragLayer(); 114 dragLayer.requestDisallowInterceptTouchEvent(false); 182 DragLayer dragLayer = Launcher.getLauncher(getContext()).getDragLayer(); 185 dragLayer.requestDisallowInterceptTouchEvent(true); 190 dragLayer.setTouchCompleteListener(this);
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
Folder.java | 73 import com.android.launcher3.dragndrop.DragLayer; 412 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); 414 lp = new DragLayer.LayoutParams(0, 0); 488 DragLayer dragLayer = mLauncher.getDragLayer(); 489 // Just verify that the folder hasn't already been added to the DragLayer. 492 dragLayer.addView(this); 636 DragLayer parent = (DragLayer) getParent() [all...] |
FolderAnimationManager.java | 47 import com.android.launcher3.dragndrop.DragLayer; 113 final DragLayer.LayoutParams lp = (DragLayer.LayoutParams) mFolder.getLayoutParams();
|
FolderIcon.java | 64 import com.android.launcher3.dragndrop.DragLayer; 290 DragLayer dragLayer = mLauncher.getDragLayer(); 292 dragLayer.getViewRectRelativeToSelf(animateView, from); 303 scaleRelativeToDragLayer = dragLayer.getDescendantRectRelativeToSelf(this, to); 350 dragLayer.animateView(animateView, from, to, finalAlpha, 353 null, DragLayer.ANIMATION_END_DISAPPEAR, null);
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
WorkspaceAccessibilityHelper.java | 33 import com.android.launcher3.dragndrop.DragLayer; 144 DragLayer dragLayer = Launcher.getLauncher(mView.getContext()).getDragLayer(); 146 float scale = dragLayer.getDescendantCoordRelativeToSelf(mView, mTempCords);
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
DragView.java | 98 private final DragLayer mDragLayer; 553 * @param touchX the x coordinate the user touched in DragLayer coordinates 554 * @param touchY the y coordinate the user touched in DragLayer coordinates 560 DragLayer.LayoutParams lp = new DragLayer.LayoutParams(0, 0); 584 * @param touchX the x coordinate the user touched in DragLayer coordinates 585 * @param touchY the y coordinate the user touched in DragLayer coordinates 602 DragLayer.ANIMATION_END_DISAPPEAR, onCompleteRunnable, duration);
|
DragLayer.java | 62 public class DragLayer extends BaseDragLayer<Launcher> { 92 * Used to create a new DragLayer from XML. 97 public DragLayer(Context context, AttributeSet attrs) { 339 * @param view The view to be animated. This view is drawn directly into DragLayer, and so 340 * doesn't need to be a child of DragLayer.
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
ActivityControlHelper.java | 53 import com.android.launcher3.dragndrop.DragLayer; 353 return activity.getDragLayer().getAlphaProperty(DragLayer.ALPHA_INDEX_SWIPE_UP);
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
LauncherAppTransitionManagerImpl.java | 30 import static com.android.launcher3.dragndrop.DragLayer.ALPHA_INDEX_TRANSITIONS; 67 import com.android.launcher3.dragndrop.DragLayer; 117 private final DragLayer mDragLayer; [all...] |