Searched refs:mTempRectF (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageView.java | 244 private RectF mTempRectF = new RectF(); field in TiledImageView 256 mTempRectF.set(0, 0, width, height); in positionFromMatrix() 257 matrix.mapRect(mTempRectF); in positionFromMatrix() 262 int xoffset = Math.round((getWidth() - mTempRectF.width()) / 2 / scale); in positionFromMatrix() 263 int yoffset = Math.round((getHeight() - mTempRectF.height()) / 2 / scale); in positionFromMatrix() 265 cx += (mTempRectF.left / scale) - xoffset; in positionFromMatrix() 267 cx -= (mTempRectF.left / scale) - xoffset; in positionFromMatrix() 270 cy += (mTempRectF.top / scale) - yoffset; in positionFromMatrix() 272 cy -= (mTempRectF.top / scale) - yoffset; in positionFromMatrix()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | TaskViewSimulator.java | 70 private final RectF mTempRectF = new RectF(); field in TaskViewSimulator 379 mTempRectF.set(0, 0, mTaskRect.width(), mTaskRect.height()); in getCurrentCropRect() 380 mInversePositionMatrix.mapRect(mTempRectF); in getCurrentCropRect() 381 return mTempRectF; in getCurrentCropRect() 493 mTempRectF.set(0, 0, taskWidth, taskHeight); in apply() 494 mInversePositionMatrix.mapRect(mTempRectF); in apply() 495 mTempRectF.roundOut(mTmpCropRect); in apply()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | RecentsView.java | 497 protected final RectF mTempRectF = new RectF(); field in RecentsView 4655 RectF taskPosition = mTempRectF; 5084 mTempRectF.set(mTempRect); 5088 firstFloatingTaskView.update(mTempRectF, /*progress=*/1f);
|