Home
last modified time | relevance | path

Searched refs:yPixels (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()
383 int yPixels = availh / 2; in drawFrame() local
393 yPixels += (int) (availhUnscaled * (mYOffset - .5f) + .5f); in drawFrame()
400 if (!redrawNeeded && xPixels == mLastXTranslation && yPixels == mLastYTranslation) { in drawFrame()
408 mLastYTranslation = yPixels; 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.java177 float xStep, float yStep, int xPixels, int yPixels) { in onOffsetsChanged() argument
178 super.onOffsetsChanged(xOffset, yOffset, xStep, yStep, xPixels, yPixels); in onOffsetsChanged()
187 mOffsetYPixels = yPixels; in onOffsetsChanged()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java960 final int yPixels = availh > 0 ? -(int)(availh*yOffset+.5f) : 0; in doOffsetsChanged() local
961 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels); in doOffsetsChanged()