Home
last modified time | relevance | path

Searched refs:mHeight (Results 1 – 7 of 7) 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/SampleInputMethodAccessibilityService/src/com/example/android/sampleinputmethodaccessibilityservice/
DOverlayWindowBuilder.java34 private int mHeight = WindowManager.LayoutParams.WRAP_CONTENT; field in OverlayWindowBuilder
51 mHeight = height; in setSize()
101 mWidth, mHeight, in show()
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/
DRemoteDisplay.java104 private int mHeight; field in RemoteDisplay
141 "VirtualDisplay" + mRemoteDisplayId, mWidth, mHeight, mDpi) in RemoteDisplay()
180 mVirtualDisplay.resize(mWidth, mHeight, mDpi); in reset()
190 Surface surface = mVideoManager.createInputSurface(mWidth, mHeight, DISPLAY_FPS); in reset()
203 new VirtualTouchscreenConfig.Builder(mWidth, mHeight) in reset()
213 mHeight = capabilities.getViewportHeight(); in setCapabilities()
217 mHeight -= mHeight % 10; in setCapabilities()
235 return new PointF(mWidth, mHeight); in getDisplaySize()
365 new VirtualStylusConfig.Builder(mWidth, mHeight) in processVirtualStylusEvent()
/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()