OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
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
278
int xPixels, int
yPixels
) {
282
+ ", xPixels=" + xPixels + ",
yPixels
=" +
yPixels
);
397
int
yPixels
= availh / 2;
400
// mXOffset and mYOffset are set to 0.5f by default and therefore xPixels and
yPixels
405
if (availhUnscaled < 0)
yPixels
+= (int)(availhUnscaled * (mYOffset - .5f) + .5f);
413
if (!redrawNeeded && xPixels == mLastXTranslation &&
yPixels
== mLastYTranslation) {
421
mLastYTranslation =
yPixels
;
428
if (!drawWallpaperWithOpenGL(sh, availw, availh, xPixels,
yPixels
)) {
429
drawWallpaperWithCanvas(sh, availw, availh, xPixels,
yPixels
);
[
all
...]
Completed in 2775 milliseconds