Home
last modified time | relevance | path

Searched refs:mSurfaceWidth (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DDisplaySinkService.java49 private int mSurfaceWidth; field in DisplaySinkService
136 if (mSurface == surface && mSurfaceWidth == width && mSurfaceHeight == height) { in updateSurfaceFromUi()
141 mSurfaceWidth = width; in updateSurfaceFromUi()
153 "video/avc", mSurfaceWidth, mSurfaceHeight); in updateSurfaceFromUi()
234 mBuffer.putInt(mSurfaceWidth); in sendSinkStatus()
/frameworks/base/core/java/android/view/
DSurfaceView.java168 int mSurfaceWidth = -1; field in SurfaceView
497 final boolean sizeChanged = mSurfaceWidth != myWidth || mSurfaceHeight != myHeight; in updateSurface()
515 mSurfaceWidth = myWidth; in updateSurface()
538 mSurfaceWidth, mSurfaceHeight, mFormat, in updateSurface()
572 mSurfaceControl.setMatrix(mScreenRect.width() / (float) mSurfaceWidth, in updateSurface()
577 mSurfaceControl.setSize(mSurfaceWidth, mSurfaceHeight); in updateSurface()
590 mSurfaceFrame.right = mSurfaceWidth; in updateSurface()
594 mSurfaceFrame.right = (int) (mSurfaceWidth * appInvertedScale + 0.5f); in updateSurface()
782 mSurfaceControl.setMatrix(position.width() / (float) mSurfaceWidth, in setParentSpaceRectangle()
DThreadedRenderer.java320 private int mSurfaceWidth, mSurfaceHeight; field in ThreadedRenderer
537 mSurfaceWidth = width + mInsetLeft + surfaceInsets.right; in setup()
546 mSurfaceWidth = width; in setup()
550 mRootNode.setLeftTopRightBottom(-mInsetLeft, -mInsetTop, mSurfaceWidth, mSurfaceHeight); in setup()
652 DisplayListCanvas canvas = mRootNode.start(mSurfaceWidth, mSurfaceHeight); in updateRootDisplayList()
/frameworks/base/media/java/android/media/tv/
DTvView.java98 private int mSurfaceWidth; field in TvView
118 mSurfaceWidth = width;
121 dispatchSurfaceChanged(mSurfaceFormat, mSurfaceWidth, mSurfaceHeight);
1092 dispatchSurfaceChanged(mSurfaceFormat, mSurfaceWidth, mSurfaceHeight); in onSessionCreated()
/frameworks/base/core/java/android/widget/
DVideoView.java114 private int mSurfaceWidth; field in VideoView
500 if (mSurfaceWidth == mVideoWidth && mSurfaceHeight == mVideoHeight) {
663 mSurfaceWidth = w;
/frameworks/rs/
DrsFont.h161 float mSurfaceWidth;
DrsFont.cpp675 if (x1 > mSurfaceWidth || y1 < 0.0f || x2 < 0 || y4 > mSurfaceHeight) { in appendMeshQuad()
771 mSurfaceWidth = (float)mRSC->getCurrentSurfaceWidth(); in renderText()
/frameworks/native/services/inputflinger/
DInputReader.cpp2962 mSurfaceWidth(-1), mSurfaceHeight(-1), mSurfaceLeft(0), mSurfaceTop(0), in TouchInputMapper()
3470 mSurfaceWidth = naturalLogicalWidth * naturalDeviceWidth / naturalPhysicalWidth; in configureSurface()
3478 mSurfaceWidth = rawWidth; in configureSurface()
3505 getDeviceId(), getDeviceName().string(), mSurfaceWidth, mSurfaceHeight, in configureSurface()
3509 mXScale = float(mSurfaceWidth) / rawWidth; in configureSurface()
3529 float diagonalSize = hypotf(mSurfaceWidth, mSurfaceHeight); in configureSurface()
3706 mOrientedRanges.y.max = mSurfaceWidth + mXTranslate - 1; in configureSurface()
3717 mOrientedRanges.x.max = mSurfaceWidth + mXTranslate - 1; in configureSurface()
3736 float displayDiagonal = hypotf(mSurfaceWidth, mSurfaceHeight); in configureSurface()
3782 dump.appendFormat(INDENT3 "SurfaceWidth: %dpx\n", mSurfaceWidth); in dumpSurface()
[all …]
DInputReader.h1497 int32_t mSurfaceWidth; variable