/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageRedEye.java | 112 RectF rect = candidate.getRect(); 114 originalToScreen.mapRect(drawRect, rect); 116 originalRotateToScreen.mapRect(fullRect, rect);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | BadgeSpan.java | 44 * Returns the radius to use for the rounded corners on the background rect. 97 final RectF rect = new RectF(x, top, x + bgWidth, bottom); 99 canvas.drawRoundRect(rect, radius, radius, mWorkPaint);
|
H A D | FolderSpan.java | 62 * Returns the radius to use for the rounded corners on the background rect. 173 final RectF rect = new RectF(left, top, right, bottom); 175 canvas.drawRoundRect(rect, radius, radius, mWorkPaint);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/ |
H A D | PolarClockWallpaper.java | 493 final RectF rect = mRect; 494 rect.set(-size, -size, size, size); 509 c.drawArc(rect, 0.0f, angle * 360.0f, false, paint); 514 rect.set(-size, -size, size, size); 523 c.drawArc(rect, 0.0f, angle * 360.0f, false, paint); 527 rect.set(-size, -size, size, size); 536 c.drawArc(rect, 0.0f, angle * 360.0f, false, paint); 540 rect.set(-size, -size, size, size); 550 c.drawArc(rect, 0.0f, angle * 360.0f, false, paint); 554 rect [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | Blend.cpp | 163 // Compute clipping for this frame's rect 165 // Clip global rect using this frame's rect 375 int width, int height, YUVinfo &imgMos, MosaicRect &rect, 382 m_pMosaicYPyr = PyramidShort::allocatePyramidPacked(m_wb.nlevs,(unsigned short)rect.Width(),(unsigned short)rect.Height(),BORDER); 383 m_pMosaicUPyr = PyramidShort::allocatePyramidPacked(m_wb.nlevsC,(unsigned short)rect.Width(),(unsigned short)rect.Height(),BORDER); 384 m_pMosaicVPyr = PyramidShort::allocatePyramidPacked(m_wb.nlevsC,(unsigned short)rect.Width(),(unsigned short)rect 374 DoMergeAndBlend(MosaicFrame **frames, int nsite, int width, int height, YUVinfo &imgMos, MosaicRect &rect, MosaicRect &cropping_rect, float &progress, bool &cancelComputation) argument 810 RoundingCroppingSizeToMultipleOf8(MosaicRect &rect) argument 820 ComputeMask(CSite *csite, BlendRect &vcrect, BlendRect &brect, MosaicRect &rect, YUVinfo &imgMos, int site_idx) argument 890 ProcessPyramidForThisFrame(CSite *csite, BlendRect &vcrect, BlendRect &brect, MosaicRect &rect, YUVinfo &imgMos, double trs[3][3], int site_idx) argument [all...] |
/packages/apps/Gallery2/jni/filters/ |
H A D | filters.h | 51 extern void filterRedEye(unsigned char *src, unsigned char *dest, int iw, int ih, short *rect);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | Util.java | 564 public static void dumpRect(RectF rect, String msg) { argument 565 Log.v(TAG, msg + "=(" + rect.left + "," + rect.top 566 + "," + rect.right + "," + rect.bottom + ")"); 569 public static void rectFToRect(RectF rectF, Rect rect) { argument 570 rect.left = Math.round(rectF.left); 571 rect.top = Math.round(rectF.top); 572 rect.right = Math.round(rectF.right); 573 rect [all...] |
H A D | FocusManager.java | 271 mFocusArea.get(0).rect); 273 mMeteringArea.get(0).rect); 448 int x, int y, int previewWidth, int previewHeight, Rect rect) { 456 Util.rectFToRect(rectF, rect); 447 calculateTapArea(int focusWidth, int focusHeight, float areaMultiple, int x, int y, int previewWidth, int previewHeight, Rect rect) argument
|
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | CameraUtil.java | 702 public static void dumpRect(RectF rect, String msg) { argument 703 Log.v(TAG, msg + "=(" + rect.left + "," + rect.top 704 + "," + rect.right + "," + rect.bottom + ")"); 707 public static void rectFToRect(RectF rectF, Rect rect) { argument 708 rect.left = Math.round(rectF.left); 709 rect.top = Math.round(rectF.top); 710 rect.right = Math.round(rectF.right); 711 rect [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Blend.cpp | 163 // Compute clipping for this frame's rect 165 // Clip global rect using this frame's rect 375 int width, int height, YUVinfo &imgMos, MosaicRect &rect, 382 m_pMosaicYPyr = PyramidShort::allocatePyramidPacked(m_wb.nlevs,(unsigned short)rect.Width(),(unsigned short)rect.Height(),BORDER); 383 m_pMosaicUPyr = PyramidShort::allocatePyramidPacked(m_wb.nlevsC,(unsigned short)rect.Width(),(unsigned short)rect.Height(),BORDER); 384 m_pMosaicVPyr = PyramidShort::allocatePyramidPacked(m_wb.nlevsC,(unsigned short)rect.Width(),(unsigned short)rect 374 DoMergeAndBlend(MosaicFrame **frames, int nsite, int width, int height, YUVinfo &imgMos, MosaicRect &rect, MosaicRect &cropping_rect, float &progress, bool &cancelComputation) argument 800 ComputeMask(CSite *csite, BlendRect &vcrect, BlendRect &brect, MosaicRect &rect, YUVinfo &imgMos, int site_idx) argument 870 ProcessPyramidForThisFrame(CSite *csite, BlendRect &vcrect, BlendRect &brect, MosaicRect &rect, YUVinfo &imgMos, double trs[3][3], int site_idx) argument [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | Util.java | 629 public static void dumpRect(RectF rect, String msg) { argument 630 Log.v(TAG, msg + "=(" + rect.left + "," + rect.top 631 + "," + rect.right + "," + rect.bottom + ")"); 634 public static void rectFToRect(RectF rectF, Rect rect) { argument 635 rect.left = Math.round(rectF.left); 636 rect.top = Math.round(rectF.top); 637 rect.right = Math.round(rectF.right); 638 rect [all...] |
H A D | FocusOverlayManager.java | 322 ((Area) mFocusArea.get(0)).rect); 337 ((Area) mMeteringArea.get(0)).rect); 515 int x, int y, int previewWidth, int previewHeight, Rect rect) { 523 Util.rectFToRect(rectF, rect); 514 calculateTapArea(int focusWidth, int focusHeight, float areaMultiple, int x, int y, int previewWidth, int previewHeight, Rect rect) argument
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | BookmarkUtils.java | 162 // Paint used for scaling the bitmap and drawing the rounded rect. 167 // Construct a path from a round rect. This will allow drawing with 168 // an inverse fill so we can punch a hole using the round rect. 171 RectF rect = new RectF(iconBounds); 172 rect.inset(1, 1); 173 path.addRoundRect(rect, 8f, 8f, Path.Direction.CW);
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | FocusOverlayManager.java | 197 * rect except deliberately doing so through the setter. */ 361 calculateTapArea(x, y, getAFRegionEdge(), mFocusArea.get(0).rect); 372 calculateTapArea(x, y, getAERegionEdge(), mMeteringArea.get(0).rect); 598 private void calculateTapArea(int x, int y, int size, Rect rect) { argument 606 CameraUtil.rectFToRect(rectF, rect);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | GLView.java | 297 Rect rect = component.mBounds; 298 int left = rect.left; 299 int top = rect.top; 300 if (!checkBounds || rect.contains(x, y)) {
|
H A D | PhotoFallbackEffect.java | 68 public void addEntry(Path path, Rect rect, RawTexture texture) { argument 69 mList.add(new Entry(path, rect, texture));
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
H A D | StaggeredGridView.java | 1942 if (viewRectPair != null && viewRectPair.rect != null) { 1951 final Rect oldRect = viewRectPair.rect; 2497 Rect rect; 2503 rect = new Rect(childLeft, childTop, childRight, childBottom); 2504 mChildRectsForAnimation.put(lp.id /* item id */, new ViewRectPair(child, rect)); 3348 * If rect is off screen, scroll just enough to get it (or at least the 3352 * @param rect The rectangle. 3356 private boolean scrollToChildRect(Rect rect, boolean immediate) { argument 3357 final int delta = computeScrollDeltaToGetChildRectOnScreen(rect); 3569 * @param rect Th 3572 computeScrollDeltaToGetChildRectOnScreen(Rect rect) argument 3990 public final Rect rect; field in class:StaggeredGridView.ViewRectPair [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | ZoomView.java | 66 // rect. 87 // of the image rect is at (0, 0) 95 // Calculate the mapping (i.e. transform) between current low res rect 96 // and full res image rect, and apply the mapping on current visible rect 230 * If the given rect is smaller than viewport on x or y axis, center rect within 232 * the bounds of the rect. 234 public static RectF adjustToFitInBounds(RectF rect, int viewportWidth, int viewportHeight) { argument 236 RectF newRect = new RectF(rect); [all...] |
H A D | FaceView.java | 195 mRect.set(mFaces[i].rect); 197 CameraUtil.dumpRect(mRect, "Original rect"); 201 CameraUtil.dumpRect(mRect, "Transformed rect");
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | AppWidgetResizeFrame.java | 347 static Rect getWidgetSizeRanges(Launcher launcher, int spanX, int spanY, Rect rect) { argument 348 if (rect == null) { 349 rect = new Rect(); 370 rect.set(portWidth, landHeight, landWidth, portHeight); 371 return rect;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | AppWidgetResizeFrame.java | 344 static Rect getWidgetSizeRanges(Launcher launcher, int spanX, int spanY, Rect rect) { argument 345 if (rect == null) { 346 rect = new Rect(); 367 rect.set(portWidth, landHeight, landWidth, portHeight); 368 return rect;
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | FaceView.java | 133 mRect.set(mFaces[i].rect); 134 if (LOGV) Util.dumpRect(mRect, "Original rect"); 136 if (LOGV) Util.dumpRect(mRect, "Transformed rect");
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | ChartSweepView.java | 589 final Rect rect = buildClampRect(parentContent, mValidAfter, mValidBefore, 0f); 593 if (!rect.intersect(dynamicRect)) { 594 rect.setEmpty(); 596 return rect;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
H A D | TransitionImageView.java | 133 // get src clip rect relative to the view 137 // get src rect relative to the view 168 // get dst clip rect relative to the view 171 // get dst clip rect before scaling 182 // get dst rect relative to the view 187 // get dst clip rect before scaling 239 // rounding to integer will cause a shaking effect if the target unclip rect is much 293 public void setExcludeClipRect(RectF rect) { argument 297 mExcludeRect.set(rect); 298 // get rect relativ [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | SecureConversationViewController.java | 171 Rect rect = new Rect(); 172 mScrollView.offsetDescendantRectToMyCoords(mMessageHeaderView, rect); 178 // if (y > rect.top) {
|