Searched defs:mWidth (Results 101 - 125 of 151) sorted by relevance

1234567

/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DBlockingGLTextureView.java320 private int mWidth, mHeight; field in class:BlockingGLTextureView.RenderThread
356 mWidth = width;
404 mRenderer.onSurfaceChanged(mGL, mWidth, mHeight);
/frameworks/base/services/core/java/com/android/server/display/
H A DOverlayDisplayWindow.java63 private int mWidth; field in class:OverlayDisplayWindow
145 mWidth = width;
150 mName, mWidth, mHeight, mDensityDpi);
203 mTextureView.getLayoutParams().width = mWidth;
245 scale = Math.min(scale, (float)mDefaultDisplayInfo.logicalWidth / mWidth);
250 int width = (int)(mWidth * scale);
H A DVirtualDisplayAdapter.java177 private int mWidth; field in class:VirtualDisplayAdapter.VirtualDisplayDevice
197 mWidth = width;
243 SurfaceControl.setDisplaySize(getDisplayTokenLocked(), mWidth, mHeight);
264 if (mWidth != width || mHeight != height || mDensityDpi != densityDpi) {
267 mWidth = width;
296 mInfo.width = mWidth;
H A DWifiDisplayAdapter.java581 private final int mWidth; field in class:WifiDisplayAdapter.WifiDisplayDevice
596 mWidth = width;
631 mInfo.width = mWidth;
641 mInfo.setAssumedDensityForExternalDisplay(mWidth, mHeight);
H A DOverlayDisplayAdapter.java253 mModes[i] = createMode(mode.mWidth, mode.mHeight, refreshRate);
459 mName, mode.mWidth, mode.mHeight, mode.mDensityDpi, mGravity, mSecure,
498 window.resize(mode.mWidth, mode.mHeight, mode.mDensityDpi);
507 final int mWidth; field in class:OverlayDisplayAdapter.OverlayMode
512 mWidth = width;
520 .append("width=").append(mWidth)
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DSurfaceCompositionMeasuringActivity.java103 private int mWidth; field in class:SurfaceCompositionMeasuringActivity
133 score.mBandwidth = score.mSurfaces * mTargetFPS * mWidth * mHeight * 4.0;
272 mWidth = rect.right;
274 long maxMemoryPerSurface = roundToNextPowerOf2(mWidth) * roundToNextPowerOf2(mHeight) * 4;
334 view.setLayoutParams(new CustomLayout.LayoutParams(0, 0, mWidth, mHeight));
341 view.setLayoutParams(new CustomLayout.LayoutParams(x, y, x + mWidth, y + mHeight));
528 "View size: " + mWidth + "x" + mHeight +
/frameworks/minikin/include/minikin/
H A DLineBreaker.h234 ParaWidth mWidth = 0; member in class:android::LineBreaker
/frameworks/native/include/media/hardware/
H A DVideoAPI.h43 uint32_t mWidth; // width of largest plane (unpadded, as in nFrameWidth) member in struct:android::MediaImage
83 uint32_t mWidth; // width of largest plane (unpadded, as in nFrameWidth) member in namespace:android
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
H A DFilters.java305 private int mWidth; field in class:Filters
351 mWidth = mInPixelsAllocation.getType().getX();
355 tb.setX(mWidth);
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DAlertDialogTest.java1325 private int mWidth; field in class:AlertDialogTest.TestDrawable
1330 mWidth = width;
1336 return mWidth;
/frameworks/base/core/java/android/app/
H A DActivityView.java124 private int mWidth; field in class:ActivityView
188 setSurfaceAsync(surface, mWidth, mHeight, mDensityDpi, false);
371 mWidth = width;
374 setSurfaceAsync(mSurface, mWidth, mHeight, mDensityDpi, true);
394 setSurfaceAsync(null, mWidth, mHeight, mDensityDpi, true);
H A DActivityOptions.java228 private int mWidth; field in class:ActivityOptions
396 opts.mWidth = width;
423 opts.mWidth = width;
576 opts.mWidth = targetWidth;
757 mWidth = opts.getInt(KEY_ANIM_WIDTH, 0);
768 mWidth = opts.getInt(KEY_ANIM_WIDTH, 0);
867 return mWidth;
1026 mWidth = otherOptions.mWidth;
1043 mWidth
[all...]
H A DWallpaperManager.java193 private final int mWidth; field in class:WallpaperManager.FastBitmapDrawable
201 mWidth = bitmap.getWidth();
204 setBounds(0, 0, mWidth, mHeight);
222 mDrawLeft = left + (right-left - mWidth) / 2;
248 return mWidth;
258 return mWidth;
/frameworks/base/media/java/android/media/
H A DImageReader.java131 mWidth = width;
178 return mWidth;
614 private final int mWidth; field in class:ImageReader
H A DImageWriter.java631 private int mWidth = -1; field in class:ImageWriter.WriterSurfaceImage
656 if (mWidth == -1) {
657 mWidth = nativeGetWidth();
660 return mWidth;
/frameworks/base/media/jni/
H A Dandroid_media_ImageWriter.cpp75 void setBufferWidth(int width) { mWidth = width; }
76 int getBufferWidth() { return mWidth; }
89 int mWidth; member in class:JNIImageWriterContext
97 mWidth(-1),
H A Dandroid_media_ImageReader.cpp104 void setBufferWidth(int width) { mWidth = width; }
105 int getBufferWidth() { return mWidth; }
121 int mWidth; member in class:JNIImageReaderContext
131 mWidth(-1),
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpView.java341 private int mWidth = 0; field in class:VideoDumpView.VideoDumpRenderer
439 GLES20.glReadPixels(mStartX, mStartY, mWidth, mHeight,
476 mWidth = Math.min(VideoDumpConfig.MAX_DUMP_WIDTH, video_width);
478 mStartX = video_width / mWidth / 2 * mWidth;
482 + "size " + mWidth + "x" + mHeight);
484 int image_size = mWidth * mHeight * VideoDumpConfig.BYTES_PER_PIXEL;
496 prop.setProperty("width", Integer.toString(mWidth));
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBatteryMeterDrawable.java68 private int mWidth; field in class:BatteryMeterDrawable
263 mWidth = right - left;
333 int px = (mWidth - width) / 2;
460 pctX = mWidth * 0.5f;
484 final float x = mWidth * 0.5f;
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DImageProcessingActivity2.java92 int mWidth; field in class:ImageProcessingActivity2.SizedTV
97 mWidth = 800;
103 mWidth = 800;
109 mWidth = 800;
114 setMeasuredDimension(mWidth, mHeight);
741 mDisplayViewIO.mWidth = tw;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DImageProcessingActivityJB.java98 int mWidth; field in class:ImageProcessingActivityJB.SizedTV
103 mWidth = 800;
109 mWidth = 800;
115 mWidth = 800;
120 setMeasuredDimension(mWidth, mHeight);
701 mDisplayView.mWidth = tw;
/frameworks/base/core/java/android/view/
H A DDisplay.java991 private final int mWidth; field in class:Display.Mode
1000 mWidth = width;
1025 return mWidth;
1057 return mWidth == width &&
1071 return mModeId == that.mModeId && matches(that.mWidth, that.mHeight, that.mRefreshRate);
1078 hash = hash * 17 + mWidth;
1088 .append(", width=").append(mWidth)
1107 out.writeInt(mWidth);
/frameworks/base/services/core/java/com/android/server/wm/
H A DScreenRotationAnimation.java69 int mWidth, mHeight; field in class:ScreenRotationAnimation
152 pw.print(" mWidth="); pw.print(mWidth);
242 mWidth = originalHeight;
245 mWidth = originalWidth;
268 mWidth, mHeight,
274 mWidth, mHeight,
325 float[] srcPnts = new float[] { 0, 0, mWidth, mHeight };
365 createRotationMatrix(delta, mWidth, mHeight, mSnapshotInitialMatrix);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.h218 mConfig->mWidth = width;
254 int32_t getWidth() const { return mWidth; }
266 int32_t mWidth; member in class:HWC2::Display::Config
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DMonthView.java152 protected int mWidth; field in class:MonthView
422 mWidth = w;
453 int x = (mWidth + 2 * mEdgePadding) / 2;
460 int dayWidthHalf = (mWidth - mEdgePadding * 2) / (mNumDays * 2);
481 final float dayWidthHalf = (mWidth - mEdgePadding * 2) / (mNumDays * 2.0f);
550 if (x < dayStart || x > mWidth - mEdgePadding) {
555 int column = (int) ((x - dayStart) * mNumDays / (mWidth - dayStart - mEdgePadding));
778 final int cellWidth = ((mWidth - (2 * mEdgePadding)) / mNumDays);

Completed in 392 milliseconds

1234567