/development/samples/browseable/BasicAccessibility/src/com.example.android.basicaccessibility/ |
D | DialView.java | 47 private float mWidth; field in DialView 182 mWidth = w; in onSizeChanged() 186 mRadius = (float) (Math.min(mWidth, mHeight) / 2 * 0.8); in onSizeChanged() 202 canvas.drawCircle(mWidth / 2, mHeight / 2, (float) mRadius, mDialPaint); in onDraw() 233 result[0] = (float) (radius * Math.cos(angle)) + (mWidth / 2); in computeXYForPosition()
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | OverlayDisplayWindow.java | 56 protected final int mWidth; field in OverlayDisplayWindow 65 mWidth = width; in OverlayDisplayWindow() 137 if (mWidth > mHeight) { in show() 138 height = mHeight * width / mWidth; in show() 140 width = mWidth * height / mHeight; in show() 243 if (mWidth * height < mHeight * width) { in updateAspectRatio() 244 mTextureView.getLayoutParams().width = mWidth; in updateAspectRatio() 245 mTextureView.getLayoutParams().height = mWidth * height / width; in updateAspectRatio() 276 mTextureView.getLayoutParams().width = mWidth; in createWindow() 318 scale = Math.min(scale, (float)mDefaultDisplayMetrics.widthPixels / mWidth); in updateWindowParams() [all …]
|
/development/perftests/panorama/feature_mos/src/mosaic_renderer/ |
D | FrameBuffer.cpp | 14 mWidth = 0; in Reset() 64 mWidth = width; in Init() 93 return mWidth; in GetWidth()
|
D | FrameBuffer.h | 31 int mWidth; variable
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | NumericSprite.java | 39 mWidth[i] = (int) Math.ceil(mLabelMaker.getWidth(i)); in initialize() 75 x += mWidth[digit]; in draw() 85 width += mWidth[c - '0']; in width() 96 private int[] mWidth = new int[10]; field in NumericSprite
|
D | SpriteTextRenderer.java | 193 mLabels.beginDrawing(gl, mWidth, mHeight); in onDrawFrame() 197 float msPFX = mWidth - mLabels.getWidth(mLabelMsPF) - 1; in onDrawFrame() 219 mNumericSprite.draw(gl, x, 0, mWidth, mHeight); in drawMsPF() 241 mWidth = w; in onSurfaceChanged() 259 private int mWidth; field in SpriteTextRenderer
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | OverlayDisplayWindow.java | 56 protected final int mWidth; field in OverlayDisplayWindow 65 mWidth = width; in OverlayDisplayWindow() 139 if (mWidth > mHeight) { in show() 140 height = mHeight * width / mWidth; in show() 142 width = mWidth * height / mHeight; in show() 250 if (mWidth * height < mHeight * width) { in updateAspectRatio() 251 mTextureView.getLayoutParams().width = mWidth; in updateAspectRatio() 252 mTextureView.getLayoutParams().height = mWidth * height / width; in updateAspectRatio() 288 mTextureView.getLayoutParams().width = mWidth; in createWindow() 330 scale = Math.min(scale, (float)mDefaultDisplayMetrics.widthPixels / mWidth); in updateWindowParams() [all …]
|
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/models/ |
D | Card.java | 42 @SerializedName("width") private int mWidth; field in Card 50 return mWidth; in getWidth()
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | ComplicationSimpleWatchFaceService.java | 99 private int mWidth; field in ComplicationSimpleWatchFaceService.Engine 329 (mWidth / 2), // right in getTappedComplicationId() 337 (mWidth / 2), // left in getTappedComplicationId() 339 mWidth, // right in getTappedComplicationId() local 460 mWidth = width; in onSurfaceChanged() 468 mCenterX = mWidth / 2f; in onSurfaceChanged() 584 complicationsX = (int) ((mWidth / 2) - textWidth) / 2; in drawComplications() 587 int offset = (int) ((mWidth / 2) - textWidth) / 2; in drawComplications() 588 complicationsX = (mWidth / 2) + offset; in drawComplications()
|