HomeSort by relevance Sort by last modified time
    Searched refs:mWidth (Results 1 - 25 of 273) sorted by null

1 2 3 4 5 6 7 8 91011

  /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/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/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;
LayerCache.h 96 mLayer(NULL), mWidth(0), mHeight(0) {
100 mWidth = Layer::computeIdealWidth(layerWidth);
105 mLayer(layer), mWidth(layer->getWidth()), mHeight(layer->getHeight()) {
127 uint32_t mWidth;
PixelBuffer.h 125 return mWidth;
139 return mWidth * mHeight * formatSize(mFormat);
165 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
170 uint32_t mWidth;
RenderBufferCache.h 81 mBuffer(NULL), mWidth(0), mHeight(0) {
85 mBuffer(NULL), mFormat(format), mWidth(width), mHeight(height) {
90 mWidth(buffer->getWidth()), mHeight(buffer->getHeight()) {
115 uint32_t 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;
  /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...]
  /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/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/base/core/java/android/view/
HardwareLayer.java 38 int mWidth;
60 mWidth = width;
79 return mWidth;
192 mWidth = width;
  /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;
  /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/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/Gallery2/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);

Completed in 444 milliseconds

1 2 3 4 5 6 7 8 91011