/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
VignetteFilter.java | 38 private int mWidth = 0; 95 if (mWidth > mHeight) { 97 scale[1] = ((float) mHeight) / mWidth; 99 scale[0] = ((float) mWidth) / mHeight; 137 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 138 mWidth = inputFormat.getWidth();
|
LomoishFilter.java | 39 private int mWidth = 0; 154 if (mWidth > mHeight) { 156 scale[1] = ((float) mHeight) / mWidth; 158 scale[0] = ((float) mWidth) / mHeight; 167 mProgram.setHostValue("stepsizeX", 1.0f / mWidth); 187 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 188 mWidth = inputFormat.getWidth();
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
TiledScreenNail.java | 48 private int mWidth; 56 mWidth = bitmap.getWidth(); 81 mWidth = Math.round(scale * width); 100 mWidth = newer.mWidth; 122 return mWidth;
|
/packages/apps/Gallery2/src/com/android/photos/ |
BitmapRegionTileSource.java | 55 int mWidth; 72 mWidth = mDecoder.getWidth(); 93 mWidth, mHeight, 106 return mWidth; 161 mOverlapRegion.set(0, 0, mWidth, mHeight); 191 float scale = (float) targetSize / Math.max(mWidth, mHeight);
|
/frameworks/av/media/libstagefright/yuv/ |
YUVImage.cpp | 28 mWidth = width; 41 mWidth = width; 63 int32_t numberOfPixels = mWidth * mHeight; 89 *yOffset = y*mWidth + x; 91 int32_t uvOffset = (y >> 1) * (mWidth >> 1) + (x >> 1); 112 *yDataOffsetIncrement = mWidth; 114 int32_t uvDataOffsetIncrement = mWidth >> 1; 159 return (x >= 0 && x < mWidth && 392 fprintf(fp, "%d %d\n", mWidth, mHeight); 395 for (int32_t x = 0; x < mWidth; ++x) [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
OverlayDisplayAdapter.java | 191 private final int mWidth; 209 mWidth = width; 248 mInfo.width = mWidth; 276 private final int mWidth; 288 mWidth = width; 309 mWidth, mHeight, refreshRate, presentationDeadlineNanos, 340 pw.println(" mWidth=" + mWidth); 359 mName, mWidth, mHeight, mDensityDpi, mGravity, mSecure,
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
TiledTexture.java | 61 private final int mWidth; 124 mWidth = width + 2 * BORDER_SIZE; 203 mWidth = bitmap.getWidth(); 207 for (int x = 0, w = mWidth; x < w; x += CONTENT_SIZE) { 214 Math.min(CONTENT_SIZE, mWidth - x), 280 float scaleX = (float) width / mWidth; 299 float scaleX = (float) width / mWidth; 339 return mWidth; 349 draw(canvas, x, y, mWidth, mHeight);
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
RendererOneColorBufferTest.java | 37 private int mWidth; 211 GLES20.glReadPixels(mWidth/2, mHeight/2, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, 219 Log.i(TAG, "w " + mWidth + " h " + mHeight + " rgba" + r + " " + g + " " + b + " " + a); 232 mWidth = width; 235 GLES20.glViewport(0, 0, mWidth, mHeight);
|
/frameworks/av/media/libstagefright/ |
JPEGSource.cpp | 59 mWidth(0), 103 meta->setInt32(kKeyWidth, mWidth); 142 mWidth = 0; 186 return (mWidth > 0 && mHeight > 0) ? OK : UNKNOWN_ERROR; 213 mWidth = width;
|
/frameworks/base/libs/hwui/ |
LayerCache.cpp | 75 int deltaInt = int(lhs.mWidth) - int(rhs.mWidth); 115 LAYER_LOGD("Creating new layer %dx%d", entry.mWidth, entry.mHeight); 117 layer = new Layer(Layer::kType_DisplayList, renderState, entry.mWidth, entry.mHeight); 140 LAYER_LOGD(" Layer size %dx%d", entry.mWidth, entry.mHeight);
|
PixelBuffer.h | 137 return mWidth; 151 return mWidth * mHeight * formatSize(mFormat); 158 return (y * mWidth + x) * formatSize(mFormat); 203 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) { 208 uint32_t mWidth;
|
DeferredLayerUpdater.cpp | 54 mWidth = mLayer->layer.getWidth(); 119 forceFilter = mWidth != buffer->getWidth() 131 LayerRenderer::updateTextureLayer(mLayer, mWidth, mHeight,
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorRectView.java | 62 private int mWidth; 100 x = Math.max(Math.min(x, mWidth - mBorder), mBorder); 122 mWidth = w; 148 mBorder, 0, mWidth - mBorder, 0, wheelColor, null, Shader.TileMode.CLAMP); 165 rect.right = mWidth - mBorder;
|
/art/test/079-phantom/src/ |
Bitmap.java | 23 int mWidth, mHeight; 38 mWidth = width; 46 return "Bitmap " + mName + ": " + mWidth + "x" + mHeight + " (" +
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
ProjectionActivity.java | 50 protected int mWidth; 67 mService.startRendering(mSurface, mWidth, mHeight, metrics.densityDpi, mType.ordinal()); 123 mWidth = width;
|
/frameworks/base/core/jni/android/graphics/pdf/ |
PdfDocument.cpp | 38 , mWidth(width) 52 const int mWidth; 99 SkCanvas* canvas = document->beginPage(page->mWidth, page->mHeight,
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
FilterSurfaceView.java | 38 private int mWidth; 82 mListener.surfaceChanged(getHolder(), mFormat, mWidth, mHeight); 121 mWidth = width;
|
/frameworks/base/telecomm/java/android/telecom/ |
CameraCapabilities.java | 41 private final int mWidth; 59 mWidth = width; 135 return mWidth;
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
FrameSequence.java | 29 private final int mWidth; 35 public int getWidth() { return mWidth; } 53 mWidth = width;
|
/packages/apps/Camera2/src/com/android/camera/data/ |
LocalSessionData.java | 44 private int mWidth; 56 mWidth = size.x; 190 return mWidth;
|
SimpleViewData.java | 37 private final int mWidth; 51 mWidth = width; 79 return mWidth;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
JPEGInputStream.java | 32 private int mWidth = 0; 64 return new Point(mWidth, mHeight); 176 mWidth = dimens.x;
|
JPEGOutputStream.java | 26 private int mWidth = 0; 60 mWidth = width; 91 int flag = setup(out, mWidth, mHeight, mFormat, mQuality);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
DividedImageCanvas.java | 55 private int mWidth; 103 sb.append(" mWidth="); 104 sb.append(mWidth); 187 w = mWidth; 192 w = mWidth / 2; 199 w = mWidth / 2; 204 w = mWidth / 2; 210 w = mWidth / 2; 247 final int width = mWidth; 413 if (mWidth == width && mHeight == height) [all...] |
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis3/ |
Visualization3RS.java | 114 // distribute the data over mWidth samples in the middle of the mPointData array 116 final int width = mWidth > outlen ? outlen : mWidth;
|