/cts/tests/tests/text/src/android/text/cts/ |
LayoutTest.java | 35 private int mWidth; 49 mWidth = 11; 56 new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, mAlign, mSpacingmult, mSpacingadd); 67 Layout layout = new MockLayout(text, mTextPaint, mWidth, 71 layout = new MockLayout(null, mTextPaint, mWidth, mAlign, mSpacingmult, mSpacingadd); 76 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, 81 layout = new MockLayout(LAYOUT_TEXT, null, mWidth, mAlign, mSpacingmult, mSpacingadd); 104 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, 122 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, 128 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
ColorTexture.java | 25 private int mWidth; 30 mWidth = 1; 36 draw(canvas, x, y, mWidth, mHeight); 50 mWidth = width; 56 return mWidth;
|
FadeTexture.java | 31 private final int mWidth; 37 mWidth = width; 46 draw(canvas, x, y, mWidth, mHeight); 56 return mWidth;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
StraightenFilter.java | 52 private int mWidth = 0; 102 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 103 mWidth = inputFormat.getWidth(); 128 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight, 129 -sinTheta * mWidth - cosTheta * mHeight); 131 Point p1 = new Point(cosTheta * mWidth + sinTheta * mHeight, 132 sinTheta * mWidth - cosTheta * mHeight); 134 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight, 135 -sinTheta * mWidth + cosTheta * mHeight); 137 Point p3 = new Point(cosTheta * mWidth - sinTheta * mHeight [all...] |
CropRectFilter.java | 55 private int mWidth = 0; 88 updateSourceRect(mWidth, mHeight); 110 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 125 mWidth = width; 129 Log.e("CropFilter", mWidth + ", " + mHeight + ", " + 130 (float) mXorigin / mWidth + ", " + 132 (float) mOutputWidth / mWidth + ", " + 136 ((ShaderProgram) mProgram).setSourceRect((float) mXorigin / mWidth, 138 (float) mOutputWidth / mWidth,
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FastBitmapDrawable.java | 30 private int mWidth; 38 mWidth = mBitmap.getWidth(); 41 mWidth = mHeight = 0; 78 return mWidth; 88 return mWidth; 99 mWidth = mBitmap.getWidth(); 102 mWidth = mHeight = 0;
|
/packages/apps/Mms/src/com/android/mms/model/ |
RegionModel.java | 26 private int mWidth; 46 mWidth = width; 104 * @return the mWidth 107 return mWidth; 111 * @param width the mWidth to set 114 mWidth = width;
|
/frameworks/base/libs/hwui/font/ |
CacheTexture.cpp | 40 newBlock->mWidth, newBlock->mHeight); 47 if (newBlock->mWidth < currBlock->mWidth) { 84 blockToRemove->mWidth, blockToRemove->mHeight); 111 mTexture(NULL), mTextureId(0), mWidth(width), mHeight(height), 115 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true); 144 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true); 183 mTexture = PixelBuffer::create(GL_ALPHA, mWidth, mHeight); 192 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, mWidth, mHeight, 0, 209 uint32_t width = mHasES3 ? dirtyRect.getWidth() : mWidth; [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
ColorConverter.cpp | 63 mWidth(width), 148 + dst.mCropTop * dst.mWidth + dst.mCropLeft; 151 + (src.mCropTop * dst.mWidth + src.mCropLeft) * 2; 192 src_ptr += src.mWidth * 2; 193 dst_ptr += dst.mWidth; 210 + dst.mCropTop * dst.mWidth + dst.mCropLeft; 213 (const uint8_t *)src.mBits + src.mCropTop * src.mWidth + src.mCropLeft; 216 (const uint8_t *)src_y + src.mWidth * src.mHeight 217 + src.mCropTop * (src.mWidth / 2) + src.mCropLeft / 2; 220 src_u + (src.mWidth / 2) * (src.mHeight / 2) [all...] |
SoftwareRenderer.cpp | 45 CHECK(meta->findInt32(kKeyWidth, &mWidth)); 52 mCropRight = mWidth - 1; 161 mWidth, mHeight, 168 const uint8_t *src_u = (const uint8_t *)data + mWidth * mHeight; 169 const uint8_t *src_v = src_u + (mWidth / 2 * mHeight / 2); 181 src_y += mWidth; 189 src_u += mWidth / 2; 190 src_v += mWidth / 2; 201 (const uint8_t *)data + mWidth * (mHeight - mCropTop / 2); 214 src_y += mWidth; [all...] |
/packages/apps/Browser/src/com/android/browser/view/ |
StopProgressView.java | 17 int mWidth; 75 mWidth = (right - left) * 2 / 3; 83 int l = (getWidth() - mWidth) / 2; 85 mOverlayDrawable.setBounds(l, t, l + mWidth, t + mHeight);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
FrameBuffer.h | 28 int mWidth;
|
FrameBuffer.cpp | 14 mWidth = 0; 62 mWidth = width; 91 return mWidth;
|
/packages/wallpapers/Basic/src/com/android/wallpaper/ |
RenderScriptScene.java | 26 protected int mWidth; 34 mWidth = width; 50 return mWidth; 80 mWidth = width;
|
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
RenderScriptScene.java | 27 protected int mWidth; 36 mWidth = width; 52 return mWidth; 84 mWidth = width;
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
RenderScriptScene.java | 27 protected int mWidth; 35 mWidth = width; 51 return mWidth; 81 mWidth = width;
|
/packages/apps/Camera/jni/feature_mos/src/mosaic_renderer/ |
FrameBuffer.cpp | 14 mWidth = 0; 64 mWidth = width; 93 return mWidth;
|
/packages/apps/Gallery2/jni_mosaic/feature_mos/src/mosaic_renderer/ |
FrameBuffer.cpp | 14 mWidth = 0; 64 mWidth = width; 93 return mWidth;
|
/frameworks/base/libs/hwui/ |
RenderBuffer.h | 36 mFormat(format), mWidth(width), mHeight(height), mAllocated(false) { 82 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, mWidth, mHeight); 93 if (isAllocated() && (width != mWidth || height != mHeight)) { 97 mWidth = width; 105 return mWidth; 120 return (uint32_t) ((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f); 183 uint32_t mWidth;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SurfaceTextureScreenNail.java | 38 private int mWidth, mHeight; 47 mExtTexture.setSize(mWidth, mHeight); 49 setDefaultBufferSize(mSurfaceTexture, mWidth, mHeight); 86 mWidth = width; 92 mExtTexture.setSize(mWidth, mHeight); 93 setDefaultBufferSize(mSurfaceTexture, mWidth, mHeight); 99 return mWidth;
|
/external/replicaisland/src/com/replica/replicaisland/ |
DrawableBitmap.java | 28 private int mWidth; 38 mWidth = width; 111 final float width = mWidth; 162 mWidth = width; 168 return mWidth; 172 mWidth = width; 219 if (position.x + mWidth < 0 || position.x > mViewWidth 228 setCrop(horzFlip ? mWidth : 0, 230 horzFlip ? -mWidth : mWidth, [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorOpacityView.java | 40 private float mWidth; 112 if (mDotX > mWidth - mBorder) { 113 mDotX = mWidth - mBorder; 115 mHSVO[3] = (mDotX - mBorder) / (mWidth - mBorder * 2); 128 float pos = mHSVO[3] * (mWidth - mBorder * 2); 140 mWidth = w; 153 mBorder, mBorder, mWidth - mBorder, mBorder, color1, color2, Shader.TileMode.CLAMP); 162 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mCheckPaint); 163 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mBarPaint1); 164 canvas.drawLine(mDotX, mDotY, mWidth - mBorder, mDotY, mLinePaint1) [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
ZoomControlBar.java | 40 private int mWidth; 64 pos = mWidth - mTotalIconWidth - x; 75 mWidth = w; 78 mSliderLength = mWidth - (2 * mTotalIconWidth); 83 if (!isEnabled() || (mWidth == 0)) return false; 129 mBar.layout(mTotalIconWidth, 0, mWidth - mTotalIconWidth, height); 141 mZoomOut.layout(mWidth - mIconWidth, 0, mWidth, height); 145 mZoomIn.layout(mWidth - mIconWidth, 0, mWidth, height) [all...] |
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
RsYuv.java | 40 private int mWidth; 74 mWidth = width; 75 mScript.invoke_setSize(mWidth, mHeight); 78 tb.setX(mWidth); 86 tb.setX(mWidth); 102 return mWidth;
|
/packages/apps/Calculator/src/com/android/calculator2/ |
PanelSwitcher.java | 37 private int mWidth; 100 mWidth = w; 101 inLeft = new TranslateAnimation(mWidth, 0, 0, 0); 103 outLeft = new TranslateAnimation(0, -mWidth, 0, 0); 104 inRight = new TranslateAnimation(-mWidth, 0, 0, 0); 106 outRight = new TranslateAnimation(0, mWidth, 0, 0);
|