/frameworks/base/libs/hwui/ |
LayerCache.h | 110 mLayer(NULL), mWidth(0), mHeight(0) { 114 mWidth = uint32_t(ceilf(layerWidth / float(LAYER_SIZE)) * LAYER_SIZE); 119 mLayer(layer), mWidth(layer->getWidth()), mHeight(layer->getHeight()) { 123 if (mWidth == rhs.mWidth) { 126 return mWidth < rhs.mWidth; 130 return mWidth == rhs.mWidth && mHeight == rhs.mHeight; 134 uint32_t mWidth; [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
Shape.java | 29 private float mWidth; 36 return mWidth; 71 if (mWidth != width || mHeight != height) { 72 mWidth = width;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
ColorTexture.java | 25 private int mWidth; 30 mWidth = 1; 36 draw(canvas, x, y, mWidth, mHeight); 50 mWidth = width; 56 return mWidth;
|
FadeTexture.java | 30 private final int mWidth; 36 mWidth = width; 45 draw(canvas, x, y, mWidth, mHeight); 55 return mWidth;
|
ProgressSpinner.java | 28 private final int mWidth; 39 mWidth = Math.max(mOuter.getWidth(), mInner.getWidth()); 44 return mWidth; 71 canvas.translate(x + mWidth / 2, y + mHeight / 2);
|
SurfaceTextureScreenNail.java | 36 private int mWidth, mHeight; 45 mExtTexture.setSize(mWidth, mHeight); 47 setDefaultBufferSize(mSurfaceTexture, mWidth, mHeight); 84 mWidth = width; 90 mExtTexture.setSize(mWidth, mHeight); 91 setDefaultBufferSize(mSurfaceTexture, mWidth, mHeight); 97 return mWidth;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FastBitmapDrawable.java | 30 private int mWidth; 38 mWidth = mBitmap.getWidth(); 41 mWidth = mHeight = 0; 77 return mWidth; 87 return mWidth; 98 mWidth = mBitmap.getWidth(); 101 mWidth = mHeight = 0;
|
/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...] |
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();
|
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/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/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/ |
RsYuv.java | 40 private int mWidth; 49 mWidth = width; 52 mScript.invoke_setSize(mWidth, mHeight); 57 tb.setX(mWidth); 61 mAllocationIn = Allocation.createSized(rs, Element.U8(mRS), (mHeight * mWidth) + 62 ((mHeight / 2) * (mWidth / 2) * 2));
|
/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...] |
/frameworks/base/core/java/android/view/ |
HardwareLayer.java | 38 int mWidth; 60 mWidth = width; 79 return mWidth; 187 mWidth = width;
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
BitmapPool.java | 34 private final int mWidth, mHeight; // only used if mOneSize is true 38 mWidth = width; 47 mWidth = -1; 78 if (mOneSize && ((bitmap.getWidth() != mWidth) ||
|
/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;
|
/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;
|
/frameworks/base/media/java/android/media/videoeditor/ |
TransitionAlpha.java | 57 private int mWidth; 104 mWidth = dbo.outWidth; 125 final int [] framingBuffer = new int[mWidth]; 132 imageBitmap.getPixels(framingBuffer, 0, mWidth, 0, tmp,mWidth, 1); 134 intBuffer.put(framingBuffer,0,mWidth); 160 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...] |
/frameworks/base/libs/hwui/font/ |
CacheTexture.h | 48 uint16_t mWidth; 54 mX(x), mY(y), mWidth(width), mHeight(height), mNext(NULL), mPrev(NULL) { 65 currBlock, currBlock->mX, currBlock->mY, currBlock->mWidth, currBlock->mHeight); 74 mTexture(NULL), mTextureId(0), mWidth(width), mHeight(height), 77 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true); 99 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true); 119 mTexture = new uint8_t[mWidth * mHeight]; 128 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, mWidth, mHeight, 0, 143 return mWidth; 199 uint16_t mWidth; [all...] |
CacheTexture.cpp | 38 newBlock->mWidth, newBlock->mHeight); 45 if (newBlock->mWidth < currBlock->mWidth) { 82 blockToRemove->mWidth, blockToRemove->mHeight); 127 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight && 129 (cacheBlock->mWidth - roundedUpW < CACHE_BLOCK_ROUNDING_SIZE))) { 143 cacheBlock->mWidth -= roundedUpW; 153 newBlock->mWidth, newBlock->mHeight); 164 cacheBlock->mWidth, cacheBlock->mHeight);
|
/packages/apps/Camera/src/com/android/camera/ |
PanoProgressBar.java | 42 private float mWidth; 101 mWidth = w; 103 mDrawBounds.set(0, 0, mWidth, mHeight); 122 mLeftMostProgress = mWidth; 123 mRightMostProgress = mWidth; 124 mProgressOffset = mWidth; 142 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; 144 mProgress = Math.min(mWidth, Math.max(0, mProgress)); 180 r = Math.min(mProgress + mIndicatorWidth, mWidth);
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
PanoProgressBar.java | 41 private float mWidth; 98 mWidth = w; 100 mDrawBounds.set(0, 0, mWidth, mHeight); 119 mLeftMostProgress = mWidth; 120 mRightMostProgress = mWidth; 121 mProgressOffset = mWidth; 139 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; 141 mProgress = Math.min(mWidth, Math.max(0, mProgress)); 177 r = Math.min(mProgress + mIndicatorWidth, mWidth);
|