Home
last modified time | relevance | path

Searched refs:mOffsetX (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DDragView.java51 private float mOffsetX = 0.0f; field in DragView
90 final int deltaX = (int) ((value * offsetX) - mOffsetX); in DragView()
93 mOffsetX += deltaX; in DragView()
274 mOffsetX = mOffsetY = 0; in resetLayoutParams()
285 setTranslationX(touchX - mRegistrationX + (int) mOffsetX); in move()
/packages/apps/Launcher3/src/com/android/launcher3/
DDragView.java58 @Thunk float mOffsetX = 0.0f; field in DragView
102 final int deltaX = (int) (-mOffsetX); in DragView()
105 mOffsetX += deltaX; in DragView()
337 mOffsetX = mOffsetY = 0; in resetLayoutParams()
348 setTranslationX(touchX - mRegistrationX + (int) mOffsetX); in move()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java87 private int mOffsetX; field in TiledImageRenderer
278 mOffsetX = Math.round(mViewWidth / 2f + (range.left - mCenterX) * mScale); in layoutTiles()
284 mOffsetX = Math.round(mViewWidth / 2f - mCenterX * mScale); in layoutTiles()
445 float x = mOffsetX + j * length; in draw()
450 mPreview.draw(canvas, mOffsetX, mOffsetY, in draw()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java88 private int mOffsetX; field in TiledImageRenderer
279 mOffsetX = Math.round(mViewWidth / 2f + (range.left - mCenterX) * mScale); in layoutTiles()
285 mOffsetX = Math.round(mViewWidth / 2f - mCenterX * mScale); in layoutTiles()
446 float x = mOffsetX + j * length; in draw()
451 mPreview.draw(canvas, mOffsetX, mOffsetY, in draw()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java90 private int mOffsetX; field in TileImageView
224 mOffsetX = Math.round(width / 2f + (range.left - centerX) * scale); in layoutTiles()
230 mOffsetX = Math.round(width / 2f - centerX * scale); in layoutTiles()
438 float x = mOffsetX + j * length; in render()
443 mScreenNail.draw(canvas, mOffsetX, mOffsetY, in render()