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.java246 int xPixels, int yPixels) { in onOffsetsChanged() argument
250 + ", xPixels=" + xPixels + ", yPixels=" + yPixels); in onOffsetsChanged()
370 int xPixels = availw / 2; in drawFrame() local
379 xPixels += (int) (availwUnscaled * (mXOffset - .5f) + .5f); in drawFrame()
388 if (!redrawNeeded && xPixels == mLastXTranslation && yPixels == mLastYTranslation) { in drawFrame()
395 mLastXTranslation = xPixels; in drawFrame()
403 if (!drawWallpaperWithOpenGL(sh, availw, availh, xPixels, yPixels)) { in drawFrame()
404 drawWallpaperWithCanvas(sh, availw, availh, xPixels, yPixels); in drawFrame()
407 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.java974 final int xPixels = availw > 0 ? -(int)(availw*xOffset+.5f) : 0; in doOffsetsChanged() local
977 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels); in doOffsetsChanged()