/frameworks/base/core/java/android/hardware/camera2/params/ |
HighSpeedVideoConfiguration.java | 56 mWidth = checkArgumentPositive(width, "width must be positive"); 59 mSize = new Size(mWidth, mHeight); 69 return mWidth; 135 return mWidth == other.mWidth && 148 return HashCodeHelpers.hashCode(mWidth, mHeight, mFpsMin, mFpsMax); 151 private final int mWidth;
|
StreamConfigurationDuration.java | 58 mWidth = checkArgumentPositive(width, "width must be positive"); 82 return mWidth; 100 return new Size(mWidth, mHeight); 131 mWidth == other.mWidth && 143 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight, 148 private final int 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/ |
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...] |
/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...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
Renderbuffer.cpp | 27 mWidth = 0; 55 return mWidth; 106 mWidth = mRenderTarget->getWidth(); 120 mWidth = width; 146 mWidth = mDepthStencil->getWidth(); 159 mWidth = mDepthStencil->getWidth();
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
RsYuv.java | 41 private int mWidth; 75 mWidth = width; 76 mScript.invoke_setSize(mWidth, mHeight); 79 tb.setX(mWidth); 87 tb.setX(mWidth); 103 return mWidth;
|
/frameworks/av/cmds/screenrecord/ |
EglWindow.h | 39 mWidth(0), 51 int getWidth() const { return mWidth; } 81 int mWidth;
|
/frameworks/av/media/libstagefright/colorconversion/ |
SoftwareRenderer.cpp | 46 mWidth(0), 80 mWidth == widthNew && 91 mWidth = widthNew; 206 mWidth, mHeight, 213 const uint8_t *src_u = (const uint8_t *)data + mWidth * mHeight; 214 const uint8_t *src_v = src_u + (mWidth / 2 * mHeight / 2); 226 src_y += mWidth; 234 src_u += mWidth / 2; 235 src_v += mWidth / 2; 246 (const uint8_t *)data + mWidth * (mHeight - mCropTop / 2) [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
CpuVideoTrackDecoder.java | 50 private final int mWidth; 61 mWidth = format.getInteger(MediaFormat.KEY_WIDTH); 104 int outputWidth = mWidth; 108 outputHeight = mWidth; 118 convertImage(mDecodedBuffer, outBytes, mColorFormat, mWidth, mHeight); 121 mUnrotatedBytes = ByteBuffer.allocateDirect(mWidth * mHeight * 4); 124 convertImage(mDecodedBuffer, mUnrotatedBytes, mColorFormat, mWidth, mHeight); 145 rowStride = mWidth; 148 offset = (mWidth - 1) * mHeight; 158 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/perftests/panorama/feature_mos/src/mosaic_renderer/ |
FrameBuffer.h | 31 int mWidth;
|
/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];
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
Image.cpp | 19 mWidth = 0;
|
/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); 146 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE); 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...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
Resize.java | 36 private int mWidth; 45 mWidth = mInPixelsAllocation.getType().getX(); 50 (int)(mWidth * scale), (int)(mHeight * scale)); 56 mScript.set_gWidthIn(mWidth);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
Resize.java | 36 private int mWidth; 45 mWidth = mInPixelsAllocation.getType().getX(); 50 (int)(mWidth * scale), (int)(mHeight * scale)); 56 mScript.set_gWidthIn(mWidth);
|
/hardware/intel/img/hwcomposer/include/ |
DataBuffer.h | 67 void setWidth(uint32_t width) { mWidth = width; } 68 uint32_t getWidth() const { return mWidth; } 89 mWidth = 0; 100 uint32_t mWidth;
|