/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorBrightnessView.java | 41 private float mWidth; 115 if (mDotX > mWidth - mBorder) { 116 mDotX = mWidth - mBorder; 118 mHSVO[3] = (mDotX - mBorder) / (mWidth - mBorder * 2); 131 float pos = mHSVO[3] * (mWidth - mBorder * 2); 143 mWidth = w; 160 mBorder, mBorder, mWidth - mBorder, mBorder, 170 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mCheckPaint); 171 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mBarPaint1); 172 canvas.drawLine(mDotX, mDotY, mWidth - mBorder, mDotY, mLinePaint1) [all...] |
ColorCompareView.java | 40 private float mWidth; 99 if (x> mWidth-2*mHeight) { 114 mWidth = w; 125 mOrigRegion.moveTo(mWidth, 0); 126 mOrigRegion.lineTo(mWidth, mHeight); 127 mOrigRegion.lineTo(mWidth - mHeight * 2, mHeight); 128 mOrigRegion.lineTo(mWidth - mHeight, 0); 132 mRegion.lineTo(mWidth - mHeight, 0); 133 mRegion.lineTo(mWidth - mHeight * 2, mHeight); 142 canvas.drawRect(mBorder, 0, mWidth, mHeight, mCheckPaint) [all...] |
ColorOpacityView.java | 41 private float mWidth; 120 if (mDotX > mWidth - mBorder) { 121 mDotX = mWidth - mBorder; 123 mHSVO[3] = (mDotX - mBorder) / (mWidth - mBorder * 2); 136 float pos = mHSVO[3] * (mWidth - mBorder * 2); 148 mWidth = w; 161 mBorder, mBorder, mWidth - mBorder, mBorder, color1, color2, Shader.TileMode.CLAMP); 170 canvas.drawRect(mBorder, 0, mWidth - mBorder, mHeight, mCheckPaint); 171 canvas.drawRect(mBorder, 0, mWidth - mBorder, mHeight, mBarPaint1); 172 canvas.drawLine(mDotX, mDotY, mWidth - mBorder, mDotY, mLinePaint1) [all...] |
ColorSaturationView.java | 41 private float mWidth; 115 if (mDotX > mWidth - mBorder) { 116 mDotX = mWidth - mBorder; 118 mHSVO[3] = (mDotX - mBorder) / (mWidth - mBorder * 2); 131 float pos = mHSVO[3] * (mWidth - mBorder * 2); 143 mWidth = w; 159 mBorder, mBorder, mWidth - mBorder, mBorder, 169 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mCheckPaint); 170 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mBarPaint1); 171 canvas.drawLine(mDotX, mDotY, mWidth - mBorder, mDotY, mLinePaint1) [all...] |
ColorHueView.java | 40 private float mWidth; 130 if (mDotX > mWidth - mBorder) { 131 mDotX = mWidth - mBorder; 133 mHSVO[0] = 360 * (mDotX - mBorder) / (mWidth - mBorder * 2); 148 float pos = mHSVO[0] / 360 * (mWidth - mBorder * 2); 160 mWidth = w; 173 mRect.right = mWidth - mBorder; 180 canvas.drawLine(mDotX, mDotY, mWidth - mBorder, mDotY, mLinePaint1);
|
/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);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
CpuVideoTrackDecoder.java | 49 private final int mWidth; 60 mWidth = format.getInteger(MediaFormat.KEY_WIDTH); 103 int outputWidth = mWidth; 107 outputHeight = mWidth; 117 convertImage(mDecodedBuffer, outBytes, mColorFormat, mWidth, mHeight); 120 mUnrotatedBytes = ByteBuffer.allocateDirect(mWidth * mHeight * 4); 123 convertImage(mDecodedBuffer, mUnrotatedBytes, mColorFormat, mWidth, mHeight); 144 rowStride = mWidth; 147 offset = (mWidth - 1) * mHeight; 157 offset = mWidth * mHeight - 1 [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ImageDescriptor.java | 24 int mWidth; 40 mWidth = 0; 59 d.mWidth = rawData[valueIndex++] & 0xff;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
Convolve3x3.java | 28 private int mWidth; 37 mWidth = mInPixelsAllocation.getType().getX(); 53 mScript.set_gWidth(mWidth);
|
/cts/apps/CtsVerifier/lib/colorchecker/ |
testingimage.cpp | 39 mWidth = inputWidth; 42 mRowSpan = mWidth * mChannels; 45 for (int j = 0; j < mWidth; ++j) { 65 mWidth = newWidth; 67 mRowSpan = mWidth * mChannels; 77 for (int j = 0; j < mWidth; ++j) { 104 assert ((column >= 0) && (column < mWidth)); 167 for (int i = 0; i < mWidth; i++) { 177 grayLayer[j * mWidth + i] =
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
NumericSprite.java | 39 mWidth[i] = (int) Math.ceil(mLabelMaker.getWidth(i)); 75 x += mWidth[digit]; 85 width += mWidth[c - '0']; 96 private int[] mWidth = new int[10];
|
/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;
|
/frameworks/base/libs/hwui/font/ |
CacheTexture.cpp | 41 newBlock->mWidth, newBlock->mHeight); 48 if (newBlock->mWidth < currBlock->mWidth) { 85 blockToRemove->mWidth, blockToRemove->mHeight); 112 mTexture(NULL), mTextureId(0), mWidth(width), mHeight(height), mFormat(format), 117 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true); 146 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true); 185 mTexture = PixelBuffer::create(mFormat, mWidth, mHeight); 194 glTexImage2D(GL_TEXTURE_2D, 0, mFormat, mWidth, mHeight, 0, 211 uint32_t width = mHasUnpackRowLength ? dirtyRect.getWidth() : mWidth; [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic_renderer/ |
FrameBuffer.h | 31 int mWidth;
|
/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/Camera2/jni/feature_mos/src/mosaic_renderer/ |
FrameBuffer.h | 31 int mWidth;
|
/packages/apps/Camera2/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/gallery3d/ui/ |
ProgressSpinner.java | 30 private final int mWidth; 41 mWidth = Math.max(mOuter.getWidth(), mInner.getWidth()); 46 return mWidth; 73 canvas.translate(x + mWidth / 2, y + mHeight / 2);
|
/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);
|
/packages/apps/UnifiedEmail/src/com/android/bitmap/ |
ReusableBitmap.java | 28 private int mWidth; 50 mWidth = w; 58 return mWidth; 106 sb.append(mWidth);
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
SwapChain11.h | 38 EGLint getWidth() const { return mWidth; } 53 EGLint mWidth;
|
/frameworks/rs/driver/ |
rsdFrameBufferObj.h | 39 mWidth = width; 48 uint32_t mWidth;
|
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/ |
WeekButton.java | 25 private static int mWidth; 40 mWidth = w;
|