HomeSort by relevance Sort by last modified time
    Searched defs:yPixels (Results 1 - 3 of 3) sorted by null

  /development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/
ImagePixelization.java 167 int yPixels = (int) (pixelizationFactor * ((float)height));
168 yPixels = yPixels > 0 ? yPixels : 1;
174 int[] pixels = new int[yPixels * xPixels];
178 for (int y = 0; y < height; y+=yPixels) {
184 maxY = Math.min(y + yPixels, height);
201 int h = Math.min(yPixels, height - y);
  /frameworks/base/core/java/android/service/wallpaper/
WallpaperService.java     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ImageWallpaper.java 279 int xPixels, int yPixels) {
283 + ", xPixels=" + xPixels + ", yPixels=" + yPixels);
398 int yPixels = availh / 2;
401 // mXOffset and mYOffset are set to 0.5f by default and therefore xPixels and yPixels
406 if (availhUnscaled < 0) yPixels += (int)(availhUnscaled * (mYOffset - .5f) + .5f);
414 if (!redrawNeeded && xPixels == mLastXTranslation && yPixels == mLastYTranslation) {
422 mLastYTranslation = yPixels;
429 if (!drawWallpaperWithOpenGL(sh, availw, availh, xPixels, yPixels)) {
430 drawWallpaperWithCanvas(sh, availw, availh, xPixels, yPixels);
    [all...]

Completed in 94 milliseconds