/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/Messaging/src/com/android/messaging/ui/mediapicker/ |
ImagePersistTask.java | 41 private int mWidth; 61 mWidth = width; 100 Assert.equals(mWidth, bitmap.getHeight()); 103 clippedHeight = mWidth; 105 Assert.equals(mWidth, bitmap.getWidth()); 107 clippedWidth = mWidth; 112 mWidth = clippedWidth; 166 mCallback.onMediaReady(mOutputUri, ContentType.IMAGE_JPEG, mWidth, mHeight);
|
/packages/services/Car/evs/sampleDriver/ |
GlWrapper.h | 52 unsigned getWidth() { return mWidth; }; 63 unsigned mWidth = 0;
|
/cts/tests/tests/view/src/android/view/cts/surfacevalidator/ |
SurfacePixelValidator.java | 46 private final int mWidth; 77 boolean success = mPixelChecker.checkPixels(blackishPixelCount, mWidth, mHeight); 94 Bitmap capture = Bitmap.createBitmap(mWidth, mHeight, 106 mWidth = size.x; 132 /*Element.U32(mRS)*/, mWidth, mHeight),
|
/developers/build/prebuilts/gradle/BasicAccessibility/Application/src/main/java/com/example/android/basicaccessibility/ |
DialView.java | 47 private float mWidth; 182 mWidth = w; 186 mRadius = (float) (Math.min(mWidth, mHeight) / 2 * 0.8); 202 canvas.drawCircle(mWidth / 2, mHeight / 2, (float) mRadius, mDialPaint); 233 result[0] = (float) (radius * Math.cos(angle)) + (mWidth / 2);
|
/developers/samples/android/ui/accessibility/BasicAccessibility/Application/src/main/java/com/example/android/basicaccessibility/ |
DialView.java | 47 private float mWidth; 182 mWidth = w; 186 mRadius = (float) (Math.min(mWidth, mHeight) / 2 * 0.8); 202 canvas.drawCircle(mWidth / 2, mHeight / 2, (float) mRadius, mDialPaint); 233 result[0] = (float) (radius * Math.cos(angle)) + (mWidth / 2);
|
/development/samples/browseable/BasicAccessibility/src/com.example.android.basicaccessibility/ |
DialView.java | 47 private float mWidth; 182 mWidth = w; 186 mRadius = (float) (Math.min(mWidth, mHeight) / 2 * 0.8); 202 canvas.drawCircle(mWidth / 2, mHeight / 2, (float) mRadius, mDialPaint); 233 result[0] = (float) (radius * Math.cos(angle)) + (mWidth / 2);
|
/frameworks/av/media/libstagefright/ |
JPEGSource.cpp | 60 mWidth(0), 104 meta->setInt32(kKeyWidth, mWidth); 143 mWidth = 0; 187 return (mWidth > 0 && mHeight > 0) ? OK : UNKNOWN_ERROR; 214 mWidth = width;
|
/frameworks/base/libs/hwui/font/ |
CacheTexture.h | 50 uint16_t mWidth; 56 : mX(x), mY(y), mWidth(width), mHeight(height), mNext(nullptr), mPrev(nullptr) {} 65 currBlock->mY, currBlock->mWidth, currBlock->mHeight); 91 inline uint16_t getWidth() const { return mWidth; } 156 uint32_t mWidth, mHeight;
|
/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;
|
/frameworks/base/rs/java/android/renderscript/ |
RenderScriptGL.java | 40 int mWidth; 178 mWidth = 0; 211 mWidth = w; 232 mWidth = w; 254 return mWidth;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
AppWindowThumbnail.java | 51 private final int mWidth; 57 mWidth = thumbnailHeader.getWidth(); 68 .setSize(mWidth, mHeight) 130 proto.write(WIDTH, mWidth); 181 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/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
UploadedTexture.java | 78 if (mWidth == UNSPECIFIED) { 93 if (mWidth == UNSPECIFIED) getBitmap(); 94 return mWidth; 99 if (mWidth == UNSPECIFIED) getBitmap(); 110 mWidth = UNSPECIFIED;
|
/cts/tests/tests/media/src/android/media/cts/ |
PresentationSyncTest.java | 50 private int mWidth; 92 mWidth = output.getWidth(); 94 Log.d(TAG, "Surface w=" + mWidth + " h=" + mHeight); 226 mWidth = output.getWidth(); 228 Log.d(TAG, "Surface w=" + mWidth + " h=" + mHeight); 401 startX = (num % 16) * (mWidth / 16); 405 startX = (mWidth - mWidth/16) - startX; 414 GLES20.glScissor(startX, startY, mWidth / 16, mHeight / 4); 431 mWidth = width [all...] |
IvfWriter.java | 34 private int mWidth; 60 mWidth = width; 89 mOutputFile.write(makeIvfHeader(mFrameCount, mWidth, mHeight, mScale, mRate, mMimeType));
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
EdgeEffect.java | 86 private int mWidth; 151 mWidth = width; 321 if (mWidth < mMinWidth) { 323 int glowLeft = (mWidth - mMinWidth)/2; 324 mGlow.setBounds(glowLeft, 0, mWidth - glowLeft, glowBottom); 327 mGlow.setBounds(0, 0, mWidth, glowBottom); 335 if (mWidth < mMinWidth) { 337 int edgeLeft = (mWidth - mMinWidth)/2; 338 mEdge.setBounds(edgeLeft, 0, mWidth - edgeLeft, edgeBottom); 341 mEdge.setBounds(0, 0, mWidth, edgeBottom) [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
ColorConverter.cpp | 96 mWidth(width), 105 mStride = 2 * mWidth; 112 mStride = 4 * mWidth; 117 mStride = 2 * mWidth; 126 mStride = mWidth; 132 mStride = mWidth; 227 + dst.mCropTop * dst.mWidth + dst.mCropLeft; 230 + (src.mCropTop * dst.mWidth + src.mCropLeft) * 2; 271 src_ptr += src.mWidth * 2; 272 dst_ptr += dst.mWidth; [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
RecyclerViewFastScroller.java | 55 return scrollBar.mWidth; 79 private int mWidth; 131 mWidth = mMinWidth = res.getDimensionPixelSize(R.dimen.fastscroll_track_min_width); 187 if (mWidth == width) { 190 mWidth = width; 297 float halfW = mWidth / 2; 299 mWidth, mWidth, mTrackPaint); 303 float r = mWidth + mThumbPadding + mThumbPadding;
|
/art/test/079-phantom/src/ |
Bitmap.java | 24 int mWidth, mHeight; 39 mWidth = width; 47 return "Bitmap " + mName + ": " + mWidth + "x" + mHeight + " (" +
|
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
PdfRendererTransformTest.java | 48 private int mWidth; 57 mWidth = width; 126 renderAndCompare(mWidth, mHeight, mDocRes, mClipping, mTransformation, mRenderMode,
|
/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/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/libheif/ |
HeifDecoderImpl.cpp | 296 mWidth(0), 358 videoFrame->mWidth, 367 videoFrame->mWidth, 374 mWidth = videoFrame->mWidth; 376 if (mHasImage && videoFrame->mTileHeight >= 512 && mWidth >= 3000 && mHeight >= 2000 ) { 423 -1, mOutputColor, 0, top, mWidth, bottom); 458 -1, mOutputColor, 0, 0, mWidth, mSliceHeight); 469 videoFrame->mWidth, 514 videoFrame->mWidth, [all...] |