Home
last modified time | relevance | path

Searched refs:xPixels (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java257 int xPixels, int yPixels) { in onOffsetsChanged() argument
261 + ", xPixels=" + xPixels + ", yPixels=" + yPixels); in onOffsetsChanged()
382 int xPixels = availw / 2; in drawFrame() local
391 xPixels += (int) (availwUnscaled * (mXOffset - .5f) + .5f); in drawFrame()
400 if (!redrawNeeded && xPixels == mLastXTranslation && yPixels == mLastYTranslation) { in drawFrame()
407 mLastXTranslation = xPixels; in drawFrame()
415 if (!drawWallpaperWithOpenGL(sh, availw, availh, xPixels, yPixels)) { in drawFrame()
416 drawWallpaperWithCanvas(sh, availw, availh, xPixels, yPixels); in drawFrame()
419 drawWallpaperWithCanvas(sh, availw, availh, xPixels, yPixels); in drawFrame()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java185 float xStep, float yStep, int xPixels, int yPixels) { in onOffsetsChanged() argument
186 super.onOffsetsChanged(xOffset, yOffset, xStep, yStep, xPixels, yPixels); in onOffsetsChanged()
194 mOffsetXPixels = xPixels; in onOffsetsChanged()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java959 final int xPixels = availw > 0 ? -(int)(availw*xOffset+.5f) : 0; in doOffsetsChanged() local
962 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels); in doOffsetsChanged()