Home
last modified time | relevance | path

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

/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java70 private float mOffsetX; field in TestWallpaper.ClockEngine
118 mOffsetX = 0.5f; in onCreate()
190 mOffsetX = xOffset; in onOffsetsChanged()
236 c.drawText("Cur Offset Raw: " + mOffsetX + ", " + mOffsetY, in drawFrame()
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java85 private float mScaleX, mScaleY, mOffsetX, mOffsetY; field in TestLatencyView.Renderer
119 float sx = (x + dx * step) * mScaleX + mOffsetX; in onDrawFrame()
148 mOffsetX = -1f; in onSurfaceChanged()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseWrapContentTest.java280 int mOffsetX, mOffsetY;// how much we should offset children field in BaseWrapContentTest.Snapshot
298 mOffsetX = 0; in Snapshot()
300 mOffsetX = mRvParentSize.right - mRvSize.right; in Snapshot()
428 + ",l:" + (postInfo.left + mOffsetX) in log()
430 + ",r:" + (postInfo.right + mOffsetX) in log()
458 rect.offset(mOffsetX, mOffsetY); in getChildBounds()
/frameworks/base/packages/WallpaperCropper/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()