Searched defs:dragView (Results 1 - 15 of 15) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
H A DDropTarget.java49 public DragView dragView = null; field in class:DropTarget.DragObject
124 * @param dragView The DragView that's being dragged around on screen.
154 * @param dragView The DragView that's being dragged around on screen.
H A DDragController.java234 final DragView dragView = mDragObject.dragView = new DragView(mLauncher, b, registrationX,
238 dragView.setDragVisualizeOffset(new Point(dragOffset));
241 dragView.setDragRegion(new Rect(dragRegion));
245 dragView.show(mMotionDownX, mMotionDownY);
247 return dragView;
349 if (mDragObject.dragView != null) {
352 mDragObject.dragView.remove();
354 mDragObject.dragView = null;
371 void onDeferredEndDrag(DragView dragView) { argument
[all...]
H A DDragLayer.java527 public void animateViewIntoPosition(DragView dragView, final View child) { argument
528 animateViewIntoPosition(dragView, child, null, null);
531 public void animateViewIntoPosition(DragView dragView, final int[] pos, float alpha, argument
535 getViewRectRelativeToSelf(dragView, r);
539 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY,
543 public void animateViewIntoPosition(DragView dragView, final View child, argument
545 animateViewIntoPosition(dragView, child, -1, onFinishAnimationRunnable, anchorView);
548 public void animateViewIntoPosition(DragView dragView, final View child, int duration, argument
555 getViewRectRelativeToSelf(dragView, r);
575 toScale = scale / dragView
[all...]
H A DFolder.java738 final DragView dragView = d.dragView;
740 final float[] r = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, dragView, null);
774 // This is used to compute the visual center of the dragView. The idea is that
778 DragView dragView, float[] recycle) {
788 // top, as the dragRect is in that case taken to be the entire dragView.
794 res[0] = left + dragView.getDragRegion().width() / 2;
795 res[1] = top + dragView.getDragRegion().height() / 2;
1276 if (d.dragView.hasDrawn()) {
1283 mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, currentDragVie
777 getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, DragView dragView, float[] recycle) argument
[all...]
H A DCellLayout.java1698 int[] direction, View dragView, ItemConfiguration currentState) {
1748 if (!cluster.views.contains(v) && v != dragView) {
1793 int[] direction, View dragView, ItemConfiguration currentState) {
2032 int spanX, int spanY, int[] direction, View dragView, boolean decX,
2048 success = rearrangementExists(result[0], result[1], spanX, spanY, direction, dragView,
2056 direction, dragView, false, solution);
2059 direction, dragView, true, solution);
2087 private void copySolutionToTempState(ItemConfiguration solution, View dragView) { argument
2097 if (child == dragView) continue;
2112 private void animateItemsToSolution(ItemConfiguration solution, View dragView, boolea argument
1697 pushViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument
1792 addViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument
2031 findReorderSolution(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, int[] direction, View dragView, boolean decX, ItemConfiguration solution) argument
2141 beginOrAdjustReorderPreviewAnimations(ItemConfiguration solution, View dragView, int delay, int mode) argument
2328 findConfigurationNoShuffle(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, View dragView, ItemConfiguration solution) argument
2359 getDirectionVectorForDrop(int dragViewCenterX, int dragViewCenterY, int spanX, int spanY, View dragView, int[] resultDirection) argument
2398 getViewsIntersectingRegion(int cellX, int cellY, int spanX, int spanY, View dragView, Rect boundingRect, ArrayList<View> intersectingViews) argument
2421 isNearestDropLocationOccupied(int pixelX, int pixelY, int spanX, int spanY, View dragView, int[] result) argument
2447 createAreaForResize(int cellX, int cellY, int spanX, int spanY, View dragView, int[] direction, boolean commit) argument
2478 performReorder(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, View dragView, int[] result, int resultSpan[], int mode) argument
[all...]
H A DPagedView.java2610 public FlingAlongVectorAnimatorUpdateListener(View dragView, PointF vel, Rect from, argument
2612 mDragView = dragView;
2639 private Runnable createPostDeleteAnimationRunnable(final View dragView) { argument
2643 int dragViewIndex = indexOfChild(dragView);
2718 removeView(dragView);
2719 onRemoveView(dragView, true);
2754 final View dragView = mDragView;
2755 from.left = (int) dragView.getTranslationX();
2756 from.top = (int) dragView.getTranslationY();
2757 AnimatorUpdateListener updateCb = new FlingAlongVectorAnimatorUpdateListener(dragView, ve
[all...]
H A DLauncher.java5095 public void startDrag(View dragView, ItemInfo dragInfo, DragSource source) { argument
5096 dragView.setTag(dragInfo);
5097 mWorkspace.onExternalDragStartedWithItem(dragView);
5098 mWorkspace.beginExternalDragShared(dragView, source);
H A DWorkspace.java2800 d.dragView, mDragViewVisualCenter);
2926 int[] targetCell, float distance, boolean external, DragView dragView,
2964 // If the dragView is null, we can't animate
2965 boolean animate = dragView != null;
2967 fi.performCreateAnimation(destInfo, v, sourceInfo, dragView, folderLocation, scale,
3002 mDragViewVisualCenter = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, d.dragView,
3048 dropTargetLayout, mTargetCell, distance, false, d.dragView, null)) {
3167 if (d.dragView.hasDrawn()) {
3172 animateWidgetDrop(info, parent, d.dragView,
3176 mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, cel
2925 createUserFolderIfNecessary(View newView, long container, CellLayout target, int[] targetCell, float distance, boolean external, DragView dragView, Runnable postAnimationRunnable) argument
3459 findMatchingPageForDragOver( DragView dragView, float originX, float originY, boolean exact) argument
3513 getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, DragView dragView, float[] recycle) argument
3743 DragView dragView; field in class:Workspace.ReorderAlarmListener
3746 ReorderAlarmListener(float[] dragViewCenter, int minSpanX, int minSpanY, int spanX, int spanY, DragView dragView, View child) argument
4015 getFinalPositionForDropAnimation(int[] loc, float[] scaleXY, DragView dragView, CellLayout layout, ItemInfo info, int[] targetCell, boolean external, boolean scale) argument
4051 animateWidgetDrop(ItemInfo info, CellLayout cellLayout, DragView dragView, final Runnable onCompleteRunnable, int animationType, final View finalView, boolean external) argument
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDropTarget.java49 public DragView dragView = null; field in class:DropTarget.DragObject
124 * @param dragView The DragView that's being dragged around on screen.
155 * @param dragView The DragView that's being dragged around on screen.
173 * @param dragView The DragView that's being dragged around on screen.
H A DDragController.java246 final DragView dragView = mDragObject.dragView = new DragView(mLauncher, b, registrationX,
250 dragView.setDragVisualizeOffset(new Point(dragOffset));
253 dragView.setDragRegion(new Rect(dragRegion));
256 dragView.show(mMotionDownX, mMotionDownY);
358 if (mDragObject.dragView != null) {
361 mDragObject.dragView.remove();
363 mDragObject.dragView = null;
380 void onDeferredEndDrag(DragView dragView) { argument
381 dragView
[all...]
H A DDragLayer.java454 public void animateViewIntoPosition(DragView dragView, final View child) { argument
455 animateViewIntoPosition(dragView, child, null);
458 public void animateViewIntoPosition(DragView dragView, final int[] pos, float alpha, argument
462 getViewRectRelativeToSelf(dragView, r);
466 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY,
470 public void animateViewIntoPosition(DragView dragView, final View child, argument
472 animateViewIntoPosition(dragView, child, -1, onFinishAnimationRunnable, null);
475 public void animateViewIntoPosition(DragView dragView, final View child, int duration, argument
482 getViewRectRelativeToSelf(dragView, r);
504 toY -= dragView
[all...]
H A DFolder.java623 float[] r = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, d.dragView, null);
639 // This is used to compute the visual center of the dragView. The idea is that
643 DragView dragView, float[] recycle) {
653 // top, as the dragRect is in that case taken to be the entire dragView.
659 res[0] = left + dragView.getDragRegion().width() / 2;
660 res[1] = top + dragView.getDragRegion().height() / 2;
1016 if (d.dragView.hasDrawn()) {
1017 mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, mCurrentDragView);
642 getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, DragView dragView, float[] recycle) argument
H A DCellLayout.java1824 int[] direction, View dragView, ItemConfiguration currentState) {
1874 if (!cluster.views.contains(v) && v != dragView) {
1919 int[] direction, View dragView, ItemConfiguration currentState) {
2156 int spanY, int[] direction, View dragView, boolean decX, ItemConfiguration solution) {
2171 success = rearrangementExists(result[0], result[1], spanX, spanY, direction, dragView,
2179 dragView, false, solution);
2182 dragView, true, solution);
2210 private void copySolutionToTempState(ItemConfiguration solution, View dragView) { argument
2220 if (child == dragView) continue;
2235 private void animateItemsToSolution(ItemConfiguration solution, View dragView, boolea argument
1823 pushViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument
1918 addViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument
2155 simpleSwap(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, int[] direction, View dragView, boolean decX, ItemConfiguration solution) argument
2263 beginOrAdjustHintAnimations(ItemConfiguration solution, View dragView, int delay) argument
2435 findConfigurationNoShuffle(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, View dragView, ItemConfiguration solution) argument
2466 getDirectionVectorForDrop(int dragViewCenterX, int dragViewCenterY, int spanX, int spanY, View dragView, int[] resultDirection) argument
2505 getViewsIntersectingRegion(int cellX, int cellY, int spanX, int spanY, View dragView, Rect boundingRect, ArrayList<View> intersectingViews) argument
2528 isNearestDropLocationOccupied(int pixelX, int pixelY, int spanX, int spanY, View dragView, int[] result) argument
2553 createAreaForResize(int cellX, int cellY, int spanX, int spanY, View dragView, int[] direction, boolean commit) argument
2584 createArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, View dragView, int[] result, int resultSpan[], int mode) argument
[all...]
H A DWorkspace.java1976 d.dragView, mDragViewVisualCenter);
2095 int[] targetCell, float distance, boolean external, DragView dragView,
2133 // If the dragView is null, we can't animate
2134 boolean animate = dragView != null;
2136 fi.performCreateAnimation(destInfo, v, sourceInfo, dragView, folderLocation, scale,
2171 mDragViewVisualCenter = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, d.dragView,
2217 dropTargetLayout, mTargetCell, distance, false, d.dragView, null)) {
2333 if (d.dragView.hasDrawn()) {
2338 animateWidgetDrop(info, parent, d.dragView,
2342 mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, cel
2094 createUserFolderIfNecessary(View newView, long container, CellLayout target, int[] targetCell, float distance, boolean external, DragView dragView, Runnable postAnimationRunnable) argument
2629 overlaps(CellLayout cl, DragView dragView, int dragViewX, int dragViewY, Matrix cachedInverseMatrix) argument
2672 findMatchingPageForDragOver( DragView dragView, float originX, float originY, boolean exact) argument
2721 getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, DragView dragView, float[] recycle) argument
2939 DragView dragView; field in class:Workspace.ReorderAlarmListener
2942 ReorderAlarmListener(float[] dragViewCenter, int minSpanX, int minSpanY, int spanX, int spanY, DragView dragView, View child) argument
3203 getFinalPositionForDropAnimation(int[] loc, float[] scaleXY, DragView dragView, CellLayout layout, ItemInfo info, int[] targetCell, boolean external, boolean scale) argument
3239 animateWidgetDrop(ItemInfo info, CellLayout cellLayout, DragView dragView, final Runnable onCompleteRunnable, int animationType, final View finalView, boolean external) argument
[all...]
/packages/apps/Music/src/com/android/music/
H A DTouchInterceptor.java327 dragView(x, y);
400 private void dragView(int x, int y) { method in class:TouchInterceptor

Completed in 339 milliseconds