Home
last modified time | relevance | path

Searched refs:mOffsetY (Results 1 – 6 of 6) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationContainer.java119 private int mOffsetY; field in ConversationContainer
360 positionOverlays(mOffsetY, false /* postAddView */); in onDataSetChanged()
460 mOffsetY = y; in positionOverlays()
741 positionOverlays(mOffsetY, false /* postAddView */); in onLayout()
787 if (overlayTopY != overlayBottomY && overlayBottomY > mOffsetY in positionOverlay()
788 && overlayTopY < mOffsetY + getHeight()) { in positionOverlay()
825 if (overlayTopY <= mOffsetY && item.canPushSnapHeader()) { in positionOverlay()
838 final int top = childTop - mOffsetY; in layoutOverlay()
839 final int bottom = childBottom - mOffsetY; in layoutOverlay()
936 overlap = Math.min(0, next.getTop() - mSnapHeader.getHeight() - mOffsetY); in positionSnapHeader()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DDragView.java52 private float mOffsetY = 0.0f; field in DragView
91 final int deltaY = (int) ((value * offsetY) - mOffsetY); in DragView()
94 mOffsetY += deltaY; in DragView()
124 return mOffsetY; in getOffsetY()
274 mOffsetX = mOffsetY = 0; in resetLayoutParams()
286 setTranslationY(touchY - mRegistrationY + (int) mOffsetY); in move()
/packages/apps/Launcher3/src/com/android/launcher3/
DDragView.java59 @Thunk float mOffsetY = 0.0f; field in DragView
103 final int deltaY = (int) (-mOffsetY); in DragView()
106 mOffsetY += deltaY; in DragView()
149 return mOffsetY; in getOffsetY()
337 mOffsetX = mOffsetY = 0; in resetLayoutParams()
349 setTranslationY(touchY - mRegistrationY + (int) mOffsetY); in move()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java88 private int mOffsetY; field in TiledImageRenderer
279 mOffsetY = Math.round(mViewHeight / 2f + (range.top - mCenterY) * mScale); in layoutTiles()
285 mOffsetY = Math.round(mViewHeight / 2f - mCenterY * mScale); in layoutTiles()
443 float y = mOffsetY + i * length; in draw()
450 mPreview.draw(canvas, mOffsetX, mOffsetY, in draw()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java89 private int mOffsetY; field in TiledImageRenderer
280 mOffsetY = Math.round(mViewHeight / 2f + (range.top - mCenterY) * mScale); in layoutTiles()
286 mOffsetY = Math.round(mViewHeight / 2f - mCenterY * mScale); in layoutTiles()
444 float y = mOffsetY + i * length; in draw()
451 mPreview.draw(canvas, mOffsetX, mOffsetY, in draw()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java91 private int mOffsetY; field in TileImageView
225 mOffsetY = Math.round(height / 2f + (range.top - centerY) * scale); in layoutTiles()
231 mOffsetY = Math.round(height / 2f - centerY * scale); in layoutTiles()
436 float y = mOffsetY + i * length; in render()
443 mScreenNail.draw(canvas, mOffsetX, mOffsetY, in render()