Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreview.java249 final Rect currentRect = UiUtils.getMeasuredBoundsOnScreen(leftoverView); in onAttachmentsChanged() local
250 if (!currentRect.isEmpty() && in onAttachmentsChanged()
252 ((MediaPickerMessagePartData) attachment).setStartRect(currentRect); in onAttachmentsChanged()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java1295 Rect currentRect = mTempRectStack.pop(); in findNearestArea() local
1296 currentRect.set(x, y, x + xSize, y + ySize); in findNearestArea()
1299 if (r.contains(currentRect)) { in findNearestArea()
1304 validRegions.push(currentRect); in findNearestArea()
1308 currentRect.contains(bestRect)) { in findNearestArea()
1316 bestRect.set(currentRect); in findNearestArea()
/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java1459 Rect currentRect = mTempRectStack.pop(); in findNearestArea() local
1460 currentRect.set(x, y, x + xSize, y + ySize); in findNearestArea()
1463 if (r.contains(currentRect)) { in findNearestArea()
1468 validRegions.push(currentRect); in findNearestArea()
1473 currentRect.contains(bestRect)) { in findNearestArea()
1481 bestRect.set(currentRect); in findNearestArea()