Searched refs:mWidth (Results 26 - 50 of 171) sorted by last modified time

1234567

/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);
/frameworks/native/include/media/hardware/
H A DHardwareAPI.h177 size_t mWidth; // width of largest plane (unpadded, as in nFrameWidth) member in struct:android::MediaImage
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DTexture.cpp25 mWidth(0), mHeight(0), mFiltering(false) {
30 mWidth(0), mHeight(0), mFiltering(false) {
51 mWidth = width;
72 return mWidth;
H A DTexture.h28 size_t mWidth; member in class:android::Texture
/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp70 const uint8_t* pixel = img + (4 * (y*mWidth + x));
81 mWidth(w),
86 const uint32_t mWidth; member in class:android::ScreenCapture
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DReusableBitmap.java28 private int mWidth; field in class:ReusableBitmap
50 mWidth = w;
58 return mWidth;
106 sb.append(mWidth);
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java2700 private int mWidth; field in class:EditStyledText.EditStyledTextSpans.HorizontalLineDrawable
2706 mWidth = width;
2714 Rect rect = new Rect(0, 9, mWidth, 11);
2727 mWidth = width;
/frameworks/ex/framesequence/src/android/support/rastermill/
H A DFrameSequence.java29 private final int mWidth; field in class:FrameSequence
35 public int getWidth() { return mWidth; }
53 mWidth = width;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DHardwareCanvasSurfaceViewActivity.java71 private int mWidth, mHeight; field in class:HardwareCanvasSurfaceViewActivity.RenderingThread
78 mWidth = width;
101 if (x + 20.0f + speedX >= mWidth || x + speedX <= 0.0f) {
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
H A DRsRenderStatesRS.java34 int mWidth; field in class:RsRenderStatesRS
42 mWidth = mRS.getWidth();
53 mWidth = mRS.getWidth();
57 proj.loadOrthoWindow(mWidth, mHeight);
215 proj.loadOrthoWindow(mWidth, mHeight);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSceneGraphRS.java35 int mWidth; field in class:SceneGraphRS
45 mWidth = width;
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchRS.java46 int mWidth; field in class:RsBenchRS
60 mWidth = width;
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DSceneManager.java69 int mWidth; field in class:SceneManager
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppRS.java42 int mWidth; field in class:TestAppRS
98 mWidth = width;
105 mSceneManager.initRS(mRS, mRes, mWidth, mHeight);
110 FullscreenBlur.createRenderTargets(mRS, mWidth, mHeight);
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java1224 mWidth = 0;
1422 w = mWidth;
1452 + " mWidth: " + mWidth
1571 && (mWidth > 0) && (mHeight > 0)
1679 mWidth = w;
1749 private int mWidth; field in class:GLSurfaceView.GLThread
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryView.java29 private int mWidth; field in class:DirectoryView
42 mWidth = w;
52 setX((mWidth > 0) ? (mPosition * mWidth) : 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBatteryMeterView.java61 private int mWidth; field in class:BatteryMeterView
280 mWidth = w;
313 final int width = mWidth - pl - pr;
408 pctX = mWidth * 0.5f;
432 final float x = mWidth * 0.5f;
H A DDessertCaseView.java123 private int mWidth, mHeight; field in class:DessertCaseView
231 if (mWidth == w && mHeight == h) return;
238 mWidth = w;
246 mColumns = mWidth / mCellSize;
254 setTranslationX(0.5f * (mWidth - mCellSize * mColumns) * SCALE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
H A DLLand.java150 private int mWidth, mHeight; field in class:LLand
191 public int getGameWidth() { return mWidth; }
253 mWidth = getWidth();
261 sun.setTranslationX(frand(w, mWidth-w));
283 moon.setTranslationX(frand(w, mWidth - w));
325 s.setTranslationX(frand(-lp.width, mWidth + lp.width));
329 mDroid.setX(mWidth / 2);
374 mDroid.setX(mWidth / 2);
508 s1.setTranslationX(mWidth+inset);
522 p1.setTranslationX(mWidth);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DColorDrawableWithDimensions.java22 private int mWidth; field in class:ColorDrawableWithDimensions
27 mWidth = width;
33 return mWidth;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DBasicTexture.java44 protected int mWidth = UNSPECIFIED; field in class:BasicTexture
79 mWidth = width;
99 return mWidth;
H A DGLES20Canvas.java147 private int mWidth; field in class:GLES20Canvas
347 mWidth = width;
349 GLES20.glViewport(0, 0, mWidth, mHeight);
986 GLES20.glViewport(0, 0, mWidth, mHeight);
H A DUploadedTexture.java139 if (mWidth == UNSPECIFIED) {
154 if (mWidth == UNSPECIFIED) getBitmap();
155 return mWidth;
160 if (mWidth == UNSPECIFIED) getBitmap();
171 mWidth = UNSPECIFIED;
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
H A DBitmapRegionTileSource.java367 int mWidth; field in class:BitmapRegionTileSource
384 mWidth = mDecoder.getWidth();
403 mWidth, mHeight,
417 return mWidth;
472 mOverlapRegion.set(0, 0, mWidth, mHeight);
/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);

Completed in 530 milliseconds

1234567