OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:dragView
(Results
1 - 7
of
7
) 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/
DragController.java
102
/** The window token used as the parent for the
DragView
. */
213
public
DragView
startDrag(Bitmap b, int dragLayerX, int dragLayerY,
242
final
DragView
dragView
= mDragObject.
dragView
= new
DragView
(mLauncher, b, registrationX,
254
mDragObject.stateAnnouncer = DragViewStateAnnouncer.createFor(
dragView
);
261
dragView
.setDragVisualizeOffset(new Point(dragOffset));
264
dragView
.setDragRegion(new Rect(dragRegion));
268
dragView
.show(mMotionDownX, mMotionDownY)
[
all
...]
DeleteDropTarget.java
82
d.
dragView
.setColor(0);
83
d.
dragView
.updateInitialScaleToCurrentScale();
87
getIconRect(d.
dragView
.getMeasuredWidth(), d.
dragView
.getMeasuredHeight(),
125
dragLayer.animateView(d.
dragView
, fling, duration, tInterpolator, onAnimationEndRunnable,
DropTarget.java
49
public
DragView
dragView
= null;
66
/** Defers removing the
DragView
from the DragLayer until after the drop animation. */
75
* This is used to compute the visual center of the
dragView
. This point is then
85
// top, as the dragRect is in that case taken to be the entire
dragView
.
91
res[0] = left +
dragView
.getDragRegion().width() / 2;
92
res[1] = top +
dragView
.getDragRegion().height() / 2;
115
* @param
dragView
The
DragView
that's being dragged around on screen.
145
* @param
dragView
The DragView that's being dragged around on screen
[
all
...]
/packages/apps/Launcher3/src/com/android/launcher3/util/
FlingAnimation.java
11
import com.android.launcher3.
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;
98
final
DragView
dragView
= (
DragView
) mDragLayer.getAnimatedView();
100
dragView
.setTranslationX(time * mUX + mFrom.left + mAX * time * time / 2);
101
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 234 milliseconds