/external/replicaisland/src/com/replica/replicaisland/ |
SpriteComponent.java | 29 private int mWidth; 43 mWidth = width; 59 mWidth = 0; 111 bitmap.setWidth(mWidth); 170 return mWidth; 178 mWidth = width;
|
/frameworks/base/libs/hwui/font/ |
CacheTexture.h | 52 uint16_t mWidth; 58 mX(x), mY(y), mWidth(width), mHeight(height), mNext(NULL), mPrev(NULL) { 69 currBlock->mWidth, currBlock->mHeight); 96 return mWidth; 108 return (y * mWidth + x) * PixelBuffer::formatSize(mFormat); 182 uint16_t mWidth;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
DocumentaryFilter.java | 42 private int mWidth = 0; 126 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 127 mWidth = inputFormat.getWidth(); 148 if (mWidth > mHeight) { 150 scale[1] = ((float) mHeight) / mWidth; 152 scale[0] = ((float) mWidth) / mHeight;
|
FisheyeFilter.java | 54 private int mWidth = 0; 121 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 143 mWidth = width; 152 if (mWidth > mHeight) { 154 scale[1] = ((float) mHeight) / mWidth; 156 scale[0] = ((float) mWidth) / mHeight;
|
VignetteFilter.java | 41 private int mWidth = 0; 98 if (mWidth > mHeight) { 100 scale[1] = ((float) mHeight) / mWidth; 102 scale[0] = ((float) mWidth) / mHeight; 140 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 141 mWidth = inputFormat.getWidth();
|
LomoishFilter.java | 42 private int mWidth = 0; 157 if (mWidth > mHeight) { 159 scale[1] = ((float) mHeight) / mWidth; 161 scale[0] = ((float) mWidth) / mHeight; 170 mProgram.setHostValue("stepsizeX", 1.0f / mWidth); 190 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 191 mWidth = inputFormat.getWidth();
|
RotateFilter.java | 49 private int mWidth = 0; 100 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 101 mWidth = inputFormat.getWidth(); 103 mOutputWidth = mWidth; 139 mOutputHeight = mWidth;
|
/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/java/com/android/server/display/ |
OverlayDisplayAdapter.java | 191 private final int mWidth; 206 mWidth = width; 238 mInfo.width = mWidth; 263 private final int mWidth; 275 mWidth = width; 295 mWidth, mHeight, refreshRate, mDensityDpi, mSecure, surfaceTexture); 314 pw.println(" mWidth=" + mWidth); 333 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);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/ |
FallRS.java | 132 proj.loadProjectionNormalized(mWidth, mHeight); 157 final int width = mWidth > mHeight ? mHeight : mWidth; 158 final int height = mWidth > mHeight ? mWidth : mHeight; 217 mWorldState.width = mWidth; 226 mWorldState.rotate = mWidth > mHeight ? 1 : 0; 304 proj.loadProjectionNormalized(mWidth, mHeight); 380 int dropX = (int) ((x / mWidth) * mMeshWidth);
|
/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/ |
PixelBuffer.h | 137 return mWidth; 151 return mWidth * mHeight * formatSize(mFormat); 158 return (y * mWidth + x) * formatSize(mFormat); 184 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) { 189 uint32_t mWidth;
|
/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;
|
/cts/tests/tests/media/src/android/media/cts/ |
EncodeDecodeTest.java | 72 private int mWidth = -1; 212 mWidth = width; 245 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); 308 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); 319 outputSurface = new OutputSurface(mWidth, mHeight); 324 MediaFormat decoderFormat = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); 454 byte[] frameData = new byte[mWidth * mHeight * 3 / 2]; 464 String fileName = DEBUG_FILE_NAME_BASE + mWidth + "x" + mHeight + ".mp4"; 475 outputSurface = new OutputSurface(mWidth, mHeight); 572 MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight) [all...] |
/art/test/079-phantom/src/ |
Bitmap.java | 23 int mWidth, mHeight; 37 mWidth = width; 45 return "Bitmap " + mName + ": " + mWidth + "x" + mHeight + " (" +
|
/dalvik/tests/079-phantom/src/ |
Bitmap.java | 23 int mWidth, mHeight; 37 mWidth = width; 45 return "Bitmap " + mName + ": " + mWidth + "x" + mHeight + " (" +
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
MediaResourceGetter.java | 33 private final int mWidth; 39 mWidth = width; 48 private int getWidth() { return mWidth; }
|
/frameworks/av/libvideoeditor/lvpp/ |
PreviewRenderer.cpp | 46 mWidth(width), 69 anw, mWidth, mHeight, HAL_PIXEL_FORMAT_YV12); 108 Rect bounds(mWidth, mHeight);
|
/frameworks/base/core/jni/android/graphics/pdf/ |
PdfDocument.cpp | 35 : mPicture(new SkPicture()), mWidth(width), mHeight(height) { 44 const int mWidth; 87 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;
|
/hardware/libhardware/modules/camera/ |
Stream.cpp | 39 mWidth(s->width), 127 if (s->width != mWidth) { 129 __func__, mId, s->width, mWidth);
|