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()
182 mOffsetX = xOffset; in onOffsetsChanged()
228 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.java290 int mOffsetX, mOffsetY;// how much we should offset children field in BaseWrapContentTest.Snapshot
308 mOffsetX = 0; in Snapshot()
310 mOffsetX = mRvParentSize.right - mRvSize.right; in Snapshot()
438 + ",l:" + (postInfo.left + mOffsetX) in log()
440 + ",r:" + (postInfo.right + mOffsetX) in log()
468 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()