/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/ |
MosaicPreviewRenderer.java | 33 private int mWidth; // width of the view in UI 108 MosaicRenderer.reset(mWidth, mHeight, mIsLandscape); 143 mWidth = w;
|
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/data/ |
SimpleViewData.java | 36 private final int mWidth; 46 mWidth = width; 69 return 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;
|
/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...] |
ColorSVRectView.java | 56 private int mWidth; 148 x = Math.max(Math.min(x, mWidth - mBorder), mBorder); 170 mWidth = w;
|
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...] |
ColorValueView.java | 38 private float mWidth; 125 mWidth = w; 127 mDotX = mWidth / 2; 148 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mBarPaint1);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
BasicTexture.java | 44 protected int mWidth = UNSPECIFIED; 79 mWidth = width; 99 return mWidth;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
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;
|
SlideshowView.java | 122 private final int mWidth; 129 mWidth = width; 132 MOVE_SPEED * mWidth * (random.nextFloat() - 0.5f), 143 viewWidth / mWidth, (float) viewHeight / mHeight);
|
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;
|
TiledScreenNail.java | 48 private int mWidth; 56 mWidth = bitmap.getWidth(); 81 mWidth = Math.round(scale * width); 100 mWidth = newer.mWidth; 122 return mWidth;
|
/packages/apps/Gallery2/src/com/android/photos/ |
BitmapRegionTileSource.java | 55 int mWidth; 72 mWidth = mDecoder.getWidth(); 93 mWidth, mHeight, 106 return mWidth; 161 mOverlapRegion.set(0, 0, mWidth, mHeight); 191 float scale = (float) targetSize / Math.max(mWidth, mHeight);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
BasicTexture.java | 44 protected int mWidth = UNSPECIFIED; 79 mWidth = width; 99 return 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);
|
/packages/apps/Mms/src/com/android/mms/model/ |
ImageModel.java | 66 private int mWidth; 93 mWidth = uriImage.getWidth(); 106 mWidth = uriImage.getWidth(); 110 Log.v(TAG, "Image bounds: " + mWidth + "x" + mHeight); 127 return mWidth; 156 byte[] data = UriImage.getResizedImageData(mWidth, mHeight,
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ThumbnailLoadTask.java | 48 private final int mWidth; 88 mWidth = width; 130 final int wDivider = Math.max(opts.outWidth / mWidth, 1); 135 opts.outWidth, opts.outHeight, mWidth, mHeight, opts.inSampleSize);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardId.java | 67 public final int mWidth; 84 mWidth = params.mKeyboardWidth; 109 id.mWidth, 130 && other.mWidth == mWidth 192 mWidth, mHeight,
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis1/ |
Visualization1.java | 60 private int mWidth; 123 mWidth = width; 196 for (int i = 0; i < mWidth; i++) {
|
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
CallbackProcessor.java | 40 private int mWidth; 55 mWidth = width; 61 int inputSize = TestingCamera.getCallbackBufferSize(mWidth, mHeight, 76 swizzleScript.invoke_init_convert(mWidth, mHeight,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
TexImageTransform.java | 48 private final int mWidth; 75 mWidth = width; 97 mNewValue = createTexture(mTextureDataFile, mWidth, mHeight); 100 mWidth, mHeight);
|
/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...] |