OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:dragView
(Results
1 - 6
of
6
) sorted by null
/packages/apps/Launcher2/src/com/android/launcher2/
DragController.java
96
/** The window token used as the parent for the
DragView
. */
246
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()
[
all
...]
DropTarget.java
49
public
DragView
dragView
= null;
63
/** Defers removing the
DragView
from the DragLayer until after the drop animation. */
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.
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DragController.java
108
/** The window token used as the parent for the
DragView
. */
203
public
DragView
startDrag(Bitmap b, int dragLayerX, int dragLayerY,
241
final
DragView
dragView
= mDragObject.
dragView
= new
DragView
(mLauncher, b, registrationX,
253
mDragObject.stateAnnouncer = DragViewStateAnnouncer.createFor(
dragView
);
264
dragView
.setDragVisualizeOffset(new Point(dragOffset));
267
dragView
.setDragRegion(new Rect(dragRegion));
271
dragView
.show(mMotionDownX, mMotionDownY)
[
all
...]
/packages/apps/Launcher3/src/com/android/launcher3/
DropTarget.java
19
import com.android.launcher3.dragndrop.
DragView
;
49
public
DragView
dragView
= null;
69
/** Defers removing the
DragView
from the DragLayer until after the drop animation. */
78
* This is used to compute the visual center of the
dragView
. This point is then
88
// top, as the dragRect is in that case taken to be the entire
dragView
.
94
res[0] = left +
dragView
.getDragRegion().width() / 2;
95
res[1] = top +
dragView
.getDragRegion().height() / 2;
118
* @param
dragView
The
DragView
that's being dragged around on screen
[
all
...]
/packages/apps/Launcher3/src/com/android/launcher3/util/
FlingAnimation.java
12
import com.android.launcher3.dragndrop.
DragView
;
44
dragLayer.getViewRectRelativeToSelf(d.
dragView
, mFrom);
46
float scale = d.
dragView
.getScaleX();
47
float xOffset = ((scale - 1f) * d.
dragView
.getMeasuredWidth()) / 2f;
48
float yOffset = ((scale - 1f) * d.
dragView
.getMeasuredHeight()) / 2f;
126
final
DragView
dragView
= (
DragView
) mDragLayer.getAnimatedView();
128
dragView
.setTranslationX(time * mUX + mFrom.left + mAX * time * time / 2);
129
dragView
.setTranslationY(time * mUY + mFrom.top + mAY * time * time / 2)
[
all
...]
/packages/apps/Music/src/com/android/music/
TouchInterceptor.java
327
dragView
(x, y);
400
private void
dragView
(int x, int y) {
Completed in 1566 milliseconds