Searched refs:yPixels (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 246 int xPixels, int yPixels) { in onOffsetsChanged() argument 250 + ", xPixels=" + xPixels + ", yPixels=" + yPixels); in onOffsetsChanged() 371 int yPixels = availh / 2; in drawFrame() local 381 yPixels += (int) (availhUnscaled * (mYOffset - .5f) + .5f); in drawFrame() 388 if (!redrawNeeded && xPixels == mLastXTranslation && yPixels == mLastYTranslation) { in drawFrame() 396 mLastYTranslation = yPixels; 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/ |
D | TestWallpaper.java | 185 float xStep, float yStep, int xPixels, int yPixels) { in onOffsetsChanged() argument 186 super.onOffsetsChanged(xOffset, yOffset, xStep, yStep, xPixels, yPixels); in onOffsetsChanged() 195 mOffsetYPixels = yPixels; in onOffsetsChanged()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 976 final int yPixels = availh > 0 ? -(int)(availh*yOffset+.5f) : 0; in doOffsetsChanged() local 977 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels); in doOffsetsChanged()
|