Home
last modified time | relevance | path

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

/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/android/java/src/org/chromium/ui/widget/
H A DViewRectProvider.java20 private final int[] mCachedWindowCoordinates = new int[2]; field in ViewRectProvider
35 mCachedWindowCoordinates[0] = -1; in ViewRectProvider()
36 mCachedWindowCoordinates[1] = -1; in ViewRectProvider()
118 int previousPositionX = mCachedWindowCoordinates[0]; in refreshRectBounds()
119 int previousPositionY = mCachedWindowCoordinates[1]; in refreshRectBounds()
120 mView.getLocationInWindow(mCachedWindowCoordinates); in refreshRectBounds()
122 mCachedWindowCoordinates[0] = Math.max(mCachedWindowCoordinates[0], 0); in refreshRectBounds()
123 mCachedWindowCoordinates[1] = Math.max(mCachedWindowCoordinates[1], 0); in refreshRectBounds()
126 if (mCachedWindowCoordinates[0] == previousPositionX in refreshRectBounds()
131 mRect.left = mCachedWindowCoordinates[0]; in refreshRectBounds()
[all …]