/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/src/com/android/camera/ |
PanoProgressBar.java | 44 private float mWidth; 103 mWidth = w; 105 mDrawBounds.set(0, 0, mWidth, mHeight); 124 mLeftMostProgress = mWidth; 125 mRightMostProgress = mWidth; 126 mProgressOffset = mWidth; 144 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; 146 mProgress = Math.min(mWidth, Math.max(0, mProgress)); 182 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);
|
Paper.java | 33 private int mWidth; 37 distance /= mWidth; // make it relative to width 46 velocity /= mWidth; // make it relative to width 65 mWidth = width; 73 // range int [-1/4, 5/4]*mWidth. So if part of the thumbnail is outside 75 float x = screenX + mWidth / 4; 76 int range = 3 * mWidth / 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/TvSettings/Settings/src/com/android/tv/settings/widget/ |
BitmapWorkerOptions.java | 46 private int mWidth; 63 private int mWidth; 70 mWidth = MAX_IMAGE_DIMENSION_PX; 86 final int largestDim = Math.max(mWidth, mHeight); 89 mWidth *= scale; 94 options.mWidth = mWidth; 124 mWidth = width; 169 return mWidth;
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/ |
SwapChain11.h | 39 EGLint getWidth() const { return mWidth; } 54 EGLint mWidth;
|
/frameworks/base/core/java/android/util/ |
Size.java | 32 mWidth = width; 41 return mWidth; 74 return mWidth == other.mWidth && mHeight == other.mHeight; 86 return mWidth + "x" + mHeight; 147 return mHeight ^ ((mWidth << (Integer.SIZE / 2)) | (mWidth >>> (Integer.SIZE / 2))); 150 private final int mWidth;
|
SizeF.java | 43 mWidth = checkArgumentFinite(width, "width"); 52 return mWidth; 84 return mWidth == other.mWidth && mHeight == other.mHeight; 96 return mWidth + "x" + mHeight; 159 return Float.floatToIntBits(mWidth) ^ Float.floatToIntBits(mHeight); 162 private final float 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;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
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/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
PercentageBarChart.java | 82 private final int mWidth; 93 mWidth = width; 108 return mWidth; 115 float end = (mIsLayoutRtl) ? 0 : mWidth; 116 float lastX = (mIsLayoutRtl) ? mWidth : 0; 123 final float entryWidth = Math.max(mMinTickWidth, mWidth * e.percentage); 171 if (right > mWidth) { 172 right = mWidth;
|
/cts/tests/tests/graphics2/src/android/graphics2/cts/ |
TextureViewCameraActivity.java | 45 private int mWidth; 56 mWidth = width; 82 mWidth = width; 97 Assert.assertEquals(mWidth, bitmap.getWidth()); 105 transformMatrix.setRotate(mRotation, mWidth/2, mHeight/2);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
RotateFilter.java | 44 private int mWidth = 0; 95 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 96 mWidth = inputFormat.getWidth(); 98 mOutputWidth = mWidth; 134 mOutputHeight = mWidth;
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
BaseImage.java | 55 private int mWidth = UNKNOWN_LENGTH; 148 mWidth = options.outWidth; 151 mWidth = 0; 159 if (mWidth == UNKNOWN_LENGTH) setupDimension(); 160 return mWidth;
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
StreamConfiguration.java | 63 mWidth = checkArgumentPositive(width, "width must be positive"); 87 return mWidth; 105 return new Size(mWidth, mHeight); 152 mWidth == other.mWidth && 164 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight, mInput ? 1 : 0); 168 private final int mWidth;
|
/external/chromium_org/third_party/angle/src/libEGL/ |
Surface.cpp | 42 mWidth = width; 51 : mDisplay(display), mWindow(NULL), mConfig(config), mShareHandle(shareHandle), mWidth(width), mHeight(height), mPostSubBufferSupported(EGL_FALSE) 119 width = mWidth; 158 mWidth = backbufferWidth; 181 mWidth = backbufferWidth; 195 if (x + width > mWidth) 197 width = mWidth - x; 352 return swapRect(0, 0, mWidth, mHeight); 397 return mWidth;
|
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
OverlayDisplayWindow.java | 56 protected final int mWidth; 65 mWidth = width; 137 if (mWidth > mHeight) { 138 height = mHeight * width / mWidth; 140 width = mWidth * height / mHeight; 243 if (mWidth * height < mHeight * width) { 244 mTextureView.getLayoutParams().width = mWidth; 245 mTextureView.getLayoutParams().height = mWidth * height / width; 276 mTextureView.getLayoutParams().width = mWidth; 318 scale = Math.min(scale, (float)mDefaultDisplayMetrics.widthPixels / mWidth); [all...] |
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
OverlayDisplayWindow.java | 56 protected final int mWidth; 65 mWidth = width; 137 if (mWidth > mHeight) { 138 height = mHeight * width / mWidth; 140 width = mWidth * height / mHeight; 243 if (mWidth * height < mHeight * width) { 244 mTextureView.getLayoutParams().width = mWidth; 245 mTextureView.getLayoutParams().height = mWidth * height / width; 276 mTextureView.getLayoutParams().width = mWidth; 318 scale = Math.min(scale, (float)mDefaultDisplayMetrics.widthPixels / mWidth); [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
OverlayDisplayWindow.java | 57 protected final int mWidth; 66 mWidth = width; 140 if (mWidth > mHeight) { 141 height = mHeight * width / mWidth; 143 width = mWidth * height / mHeight; 251 if (mWidth * height < mHeight * width) { 252 mTextureView.getLayoutParams().width = mWidth; 253 mTextureView.getLayoutParams().height = mWidth * height / width; 289 mTextureView.getLayoutParams().width = mWidth; 331 scale = Math.min(scale, (float)mDefaultDisplayMetrics.widthPixels / mWidth); [all...] |
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
OverlayDisplayWindow.java | 56 protected final int mWidth; 65 mWidth = width; 137 if (mWidth > mHeight) { 138 height = mHeight * width / mWidth; 140 width = mWidth * height / mHeight; 243 if (mWidth * height < mHeight * width) { 244 mTextureView.getLayoutParams().width = mWidth; 245 mTextureView.getLayoutParams().height = mWidth * height / width; 276 mTextureView.getLayoutParams().width = mWidth; 318 scale = Math.min(scale, (float)mDefaultDisplayMetrics.widthPixels / mWidth); [all...] |
/frameworks/av/media/libstagefright/omx/ |
SoftVideoDecoderOMXComponent.cpp | 57 mWidth(width), 128 def->format.video.nFrameWidth = mWidth; 148 mCropWidth = mWidth; 155 return mIsAdaptive ? mAdaptiveMaxWidth : mWidth; 166 bool sizeChanged = (width != mWidth || height != mHeight); 178 mWidth = width; 207 def->format.video.nStride = mWidth; 226 memcpy(dst, srcY, mWidth); 233 memcpy(dst, srcU, mWidth / 2); 240 memcpy(dst, srcV, mWidth / 2) [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
VideoSource.h | 33 : mWidth(width), 41 meta->setInt32(kKeyWidth, mWidth); 88 int mWidth, mHeight;
|