Searched refs:mOffsetY (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
D | TestWallpaper.java | 71 private float mOffsetY; field in TestWallpaper.ClockEngine 119 mOffsetY = 0.5f; in onCreate() 191 mOffsetY = yOffset; in onOffsetsChanged() 236 c.drawText("Cur Offset Raw: " + mOffsetX + ", " + mOffsetY, in drawFrame()
|
/frameworks/base/core/java/android/widget/ |
D | Magnifier.java | 442 private final int mOffsetY; field in Magnifier.InternalPopupWindow 494 mOffsetY = (int) (0.1f * height); in InternalPopupWindow() 497 mSurfaceHeight = mContentHeight + 2 * mOffsetY; in InternalPopupWindow() 541 bitmapRenderNode.setLeftTopRightBottom(mOffsetX, mOffsetY, in createRenderNodeForBitmap() 542 mOffsetX + mContentWidth, mOffsetY + mContentHeight); in createRenderNodeForBitmap() 572 mWindowPositionY = contentY - mOffsetY; in setContentPositionForNextDraw() 684 mLastDrawContentPositionY = mWindowPositionY + mOffsetY; in doDraw()
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
D | TestLatencyView.java | 85 private float mScaleX, mScaleY, mOffsetX, mOffsetY; field in TestLatencyView.Renderer 120 float sy = (y + dy * step) * mScaleY + mOffsetY; in onDrawFrame() 149 mOffsetY = -1f; in onSurfaceChanged()
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | BaseWrapContentTest.java | 283 int mOffsetX, mOffsetY;// how much we should offset children field in BaseWrapContentTest.Snapshot 295 mOffsetY = 0; in Snapshot() 297 mOffsetY = mRvParentSize.bottom - mRvSize.bottom; in Snapshot() 432 + ",t:" + (postInfo.top + mOffsetY) in log() 434 + ",b:" + (postInfo.bottom + mOffsetY) + "]"; in log() 461 rect.offset(mOffsetX, mOffsetY); in getChildBounds()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 88 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()
|