HomeSort by relevance Sort by last modified time
    Searched refs:yPixels (Results 1 - 9 of 9) 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);
  /external/icu/icu4c/source/layout/
LEFontInstance.cpp 126 float LEFontInstance::yPixelsToUnits(float yPixels) const
128 return (yPixels * getUnitsPerEM()) / (float) getYPixelsPerEm();
LEFontInstance.h 365 * @param yPixels - pixels in the Y direction
371 virtual float yPixelsToUnits(float yPixels) const;
  /external/skia/gm/
imagefromyuvtextures.cpp 58 unsigned char* yPixels;
60 yPixels = static_cast<unsigned char*>(fYUVBmps[0].getPixels());
67 yPixels[i] = static_cast<unsigned char>(0.299f * SkGetPackedR32(rgbColors[i]) +
  /frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
TestWallpaper.java 185 float xStep, float yStep, int xPixels, int yPixels) {
186 super.onOffsetsChanged(xOffset, yOffset, xStep, yStep, xPixels, yPixels);
195 mOffsetYPixels = yPixels;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ImageWallpaper.java 257 int xPixels, int yPixels) {
261 + ", xPixels=" + xPixels + ", yPixels=" + yPixels);
383 int yPixels = availh / 2;
386 // mXOffset and mYOffset are set to 0.5f by default and therefore xPixels and yPixels
393 yPixels += (int) (availhUnscaled * (mYOffset - .5f) + .5f);
400 if (!redrawNeeded && xPixels == mLastXTranslation && yPixels == mLastYTranslation) {
408 mLastYTranslation = yPixels;
415 if (!drawWallpaperWithOpenGL(sh, availw, availh, xPixels, yPixels)) {
416 drawWallpaperWithCanvas(sh, availw, availh, xPixels, yPixels);
    [all...]
  /development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/
CubeWallpaper1.java 127 float xStep, float yStep, int xPixels, int yPixels) {
  /development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
CubeWallpaper2.java 191 float xStep, float yStep, int xPixels, int yPixels) {
  /frameworks/base/core/java/android/service/wallpaper/
WallpaperService.java     [all...]

Completed in 487 milliseconds