Searched refs:mHeight (Results 1 – 9 of 9) sorted by relevance
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
D | ListItemObject.java | 27 private int mHeight; field in ListItemObject 33 mHeight = height; in ListItemObject() 45 return mHeight; in getHeight()
|
/development/samples/browseable/BasicAccessibility/src/com.example.android.basicaccessibility/ |
D | DialView.java | 48 private float mHeight; field in DialView 183 mHeight = h; 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() 234 result[1] = (float) (radius * Math.sin(angle)) + (mHeight / 2); in computeXYForPosition()
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | OverlayDisplayWindow.java | 57 protected final int mHeight; field in OverlayDisplayWindow 66 mHeight = height; 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() 247 mTextureView.getLayoutParams().width = mHeight * width / height; in updateAspectRatio() 248 mTextureView.getLayoutParams().height = mHeight; in updateAspectRatio() 277 mTextureView.getLayoutParams().height = mHeight; in createWindow() 319 scale = Math.min(scale, (float)mDefaultDisplayMetrics.heightPixels / mHeight); in updateWindowParams() [all …]
|
/development/perftests/panorama/feature_mos/src/mosaic_renderer/ |
D | FrameBuffer.cpp | 15 mHeight = 0; in Reset() 65 mHeight = height; in Init() 97 return mHeight; in GetHeight()
|
D | FrameBuffer.h | 32 int mHeight; variable
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | OverlayDisplayWindow.java | 57 protected final int mHeight; field in OverlayDisplayWindow 66 mHeight = height; 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() 254 mTextureView.getLayoutParams().width = mHeight * width / height; in updateAspectRatio() 255 mTextureView.getLayoutParams().height = mHeight; in updateAspectRatio() 289 mTextureView.getLayoutParams().height = mHeight; in createWindow() 331 scale = Math.min(scale, (float)mDefaultDisplayMetrics.heightPixels / mHeight); in updateWindowParams() [all …]
|
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/models/ |
D | Card.java | 43 @SerializedName("height") private int mHeight; field in Card 54 return mHeight; in getHeight()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | SpriteTextRenderer.java | 193 mLabels.beginDrawing(gl, mWidth, mHeight); in onDrawFrame() 219 mNumericSprite.draw(gl, x, 0, mWidth, mHeight); in drawMsPF() 242 mHeight = h; in onSurfaceChanged() 260 private int mHeight; field in SpriteTextRenderer
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | ComplicationSimpleWatchFaceService.java | 100 private int mHeight; field in ComplicationSimpleWatchFaceService.Engine 461 mHeight = height; in onSurfaceChanged() 469 mCenterY = mHeight / 2f; in onSurfaceChanged() 475 mComplicationsY = (int) ((mHeight / 2) + (mComplicationPaint.getTextSize() / 2)); in onSurfaceChanged()
|