OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:yPixels
(Results
1 - 4
of
4
) sorted by null
/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]) +
/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
246
int xPixels, int
yPixels
) {
250
+ ", xPixels=" + xPixels + ",
yPixels
=" +
yPixels
);
371
int
yPixels
= availh / 2;
374
// mXOffset and mYOffset are set to 0.5f by default and therefore xPixels and
yPixels
381
yPixels
+= (int) (availhUnscaled * (mYOffset - .5f) + .5f);
388
if (!redrawNeeded && xPixels == mLastXTranslation &&
yPixels
== mLastYTranslation) {
396
mLastYTranslation =
yPixels
;
403
if (!drawWallpaperWithOpenGL(sh, availw, availh, xPixels,
yPixels
)) {
404
drawWallpaperWithCanvas(sh, availw, availh, xPixels,
yPixels
);
[
all
...]
Completed in 3232 milliseconds