Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageView.java244 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/
DTaskViewSimulator.java54 private final RectF mTempRectF = new RectF(); field in TaskViewSimulator
199 mTempRectF.set(-insets.left, -insets.top, in getCurrentCropRect()
201 mInversePositionMatrix.mapRect(mTempRectF); in getCurrentCropRect()
202 return mTempRectF; in getCurrentCropRect()
297 mTempRectF.set(-insets.left, -insets.top, in apply()
299 mInversePositionMatrix.mapRect(mTempRectF); in apply()
300 mTempRectF.roundOut(mTmpCropRect); in apply()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DLauncherDelegate.java55 private final RectF mTempRectF = new RectF(); field in LauncherDelegate
90 mLauncher.getWorkspace().getCurrentPage(), mTempRect, mTempRectF); in addRectForColorExtraction()
91 if (!mTempRectF.isEmpty()) { in addRectForColorExtraction()
92 target.addLocation(Arrays.asList(mTempRectF)); in addRectForColorExtraction()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DLauncherAppWidgetHostView.java103 private final RectF mTempRectF = new RectF(); field in LauncherAppWidgetHostView
381 mColorExtractor.getExtractedRectForViewRect(mLauncher, pageId, rectInDragLayer, mTempRectF); in updateColorExtraction()
383 if (mTempRectF.isEmpty()) { in updateColorExtraction()
386 if (!isSameLocation(mTempRectF, mLastLocationRegistered, /* epsilon= */ 1e-6f)) { in updateColorExtraction()
390 mLastLocationRegistered = new RectF(mTempRectF); in updateColorExtraction()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java197 private final RectF mTempRectF = new RectF(); field in CellLayout
1082 mTmpFloatArray, mTempRectF); in applyColorExtractionOnWidget() local
1083 Utilities.setRect(mTempRectF, mTempRect); in applyColorExtractionOnWidget()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java368 protected final RectF mTempRectF = new RectF(); field in RecentsView
2903 RectF taskPosition = mTempRectF;