Searched defs:xPixels (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
H A DTestWallpaper.java185 float xStep, float yStep, int xPixels, int yPixels) {
186 super.onOffsetsChanged(xOffset, yOffset, xStep, yStep, xPixels, yPixels);
194 mOffsetXPixels = xPixels;
184 onOffsetsChanged(float xOffset, float yOffset, float xStep, float yStep, int xPixels, int yPixels) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java257 int xPixels, int yPixels) {
261 + ", xPixels=" + xPixels + ", yPixels=" + yPixels);
382 int xPixels = availw / 2;
386 // mXOffset and mYOffset are set to 0.5f by default and therefore xPixels and yPixels
391 xPixels += (int) (availwUnscaled * (mXOffset - .5f) + .5f);
400 if (!redrawNeeded && xPixels == mLastXTranslation && yPixels == mLastYTranslation) {
407 mLastXTranslation = xPixels;
415 if (!drawWallpaperWithOpenGL(sh, availw, availh, xPixels, yPixels)) {
416 drawWallpaperWithCanvas(sh, availw, availh, xPixels, yPixel
255 onOffsetsChanged(float xOffset, float yOffset, float xOffsetStep, float yOffsetStep, int xPixels, int yPixels) argument
[all...]

Completed in 592 milliseconds