Home
last modified time | relevance | path

Searched refs:mHeight (Results 1 – 5 of 5) sorted by relevance

/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
DListItemObject.java27 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/
DDialView.java48 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/
DOverlayDisplayWindow.java57 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/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DSpriteTextRenderer.java193 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/
DComplicationSimpleWatchFaceService.java102 private int mHeight; field in ComplicationSimpleWatchFaceService.Engine
481 mHeight = height; in onSurfaceChanged()
489 mCenterY = mHeight / 2f; in onSurfaceChanged()
495 mComplicationsY = (int) ((mHeight / 2) + (mComplicationPaint.getTextSize() / 2)); in onSurfaceChanged()