Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp111 mViewport.makeInvalid(); in DisplayDevice()
133 setProjection(DisplayState::eOrientationDefault, mViewport, mFrame); in DisplayDevice()
489 mViewport = viewport; in setProjection()
506 mViewport.left, mViewport.top, mViewport.right, mViewport.bottom, in dump()
DDisplayDevice.h119 const Rect getViewport() const { return mViewport; } in getViewport()
218 Rect mViewport; variable
/frameworks/native/services/inputflinger/
DInputReader.cpp2986 bool viewportChanged = mViewport != newViewport; in configureSurface()
2988 mViewport = newViewport; in configureSurface()
2996 switch (mViewport.orientation) { in configureSurface()
2998 naturalLogicalWidth = mViewport.logicalBottom - mViewport.logicalTop; in configureSurface()
2999 naturalLogicalHeight = mViewport.logicalRight - mViewport.logicalLeft; in configureSurface()
3000 naturalPhysicalWidth = mViewport.physicalBottom - mViewport.physicalTop; in configureSurface()
3001 naturalPhysicalHeight = mViewport.physicalRight - mViewport.physicalLeft; in configureSurface()
3002 naturalPhysicalLeft = mViewport.deviceHeight - mViewport.physicalBottom; in configureSurface()
3003 naturalPhysicalTop = mViewport.physicalLeft; in configureSurface()
3004 naturalDeviceWidth = mViewport.deviceHeight; in configureSurface()
[all …]
DInputReader.h1392 DisplayViewport mViewport;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPagedView.java200 private Rect mViewport = new Rect(); field in PagedView
373 return mViewport.width(); in getViewportWidth()
376 return mViewport.height(); in getViewportHeight()
644 mViewport.set(0, 0, widthSize, heightSize); in onMeasure()
755 mViewport.offset(offsetX, offsetY); in onLayout()
1062 mTmpRect.set(mViewport.left - mViewport.width() / 2, mViewport.top, in isTouchPointInViewportWithBuffer()
1063 mViewport.right + mViewport.width() / 2, mViewport.bottom); in isTouchPointInViewportWithBuffer()
1471 int leftBufferEdge = (int) (mapPointFromViewToParent(this, mViewport.left, 0)[0] in onTouchEvent()
1473 int rightBufferEdge = (int) (mapPointFromViewToParent(this, mViewport.right, 0)[0] in onTouchEvent()