Home
last modified time | relevance | path

Searched refs:getViewportWidth (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPagedView.java372 int getViewportWidth() { in getViewportWidth() method in PagedView
382 return (getMeasuredWidth() - getViewportWidth()) / 2; in getViewportOffsetX()
712 if (DEBUG) Log.d(TAG, "getRelativeChildOffset(): " + getViewportWidth() + ", " in onMeasure()
849 (getViewportWidth() - padding - getChildWidth(index)) / 2; in getRelativeChildOffset()
915 int halfScreenSize = getViewportWidth() / 2; in dispatchDraw()
1057 …return (x > (getViewportOffsetX() + getViewportWidth() - getRelativeChildOffset(mCurrentPage) + m… in hitsNextPage()
1297 final int halfScreenSize = getViewportWidth() / 2; in getBoundedScrollProgress()
1306 final int halfScreenSize = getViewportWidth() / 2; in getScrollProgress()
1326 int screenSize = getViewportWidth(); in acceleratedOverScroll()
1351 int screenSize = getViewportWidth(); in dampedOverScroll()
[all …]
/frameworks/base/libs/hwui/
DSnapshot.h161 int getViewportWidth() const { return mViewportData.mWidth; } in getViewportWidth() function
DOpenGLRenderer.h235 int getViewportWidth() { return currentSnapshot()->getViewportWidth(); } in getViewportWidth() function
DDrawProfiler.cpp216 pts[2] = canvas->getViewportWidth(); in drawThreshold()
DDeferredDisplayList.cpp609 renderer.getViewportWidth(), renderer.getViewportHeight()); in addDrawOp()
DOpenGLRenderer.cpp344 mRenderState.setViewport(getViewportWidth(), getViewportHeight()); in resumeAfterLayer()
370 info.width = getViewportWidth(); in callDrawGLFunction()
581 mRenderState.setViewport(getViewportWidth(), getViewportHeight()); in onSnapshotRestored()
629 Rect previousViewport(0, 0, previous.getViewportWidth(), previous.getViewportHeight()); in calculateLayerBoundsAndClip()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp213 if (width != mCanvas->getViewportWidth() || height != mCanvas->getViewportHeight()) { in draw()