/packages/apps/Camera2/src/com/android/camera/ui/ |
ZoomView.java | 202 RectF newRect = new RectF(rect); 203 if (newRect.width() < viewportWidth) { 204 dx = viewportWidth / 2 - (newRect.left + newRect.right) / 2; 206 if (newRect.left > 0) { 207 dx = -newRect.left; 208 } else if (newRect.right < viewportWidth) { 209 dx = viewportWidth - newRect.right; 213 if (newRect.height() < viewportHeight) { 214 dy = viewportHeight / 2 - (newRect.top + newRect.bottom) / 2 [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
PaintInfo.h | 53 PaintInfo(GraphicsContext* newContext, const IntRect& newRect, PaintPhase newPhase, PaintBehavior newPaintBehavior, 57 , rect(newRect)
|
RenderBoxModelObject.cpp | [all...] |
RenderBox.cpp | 531 LayoutRect newRect = rect; 542 newRect = layer()->scrollableArea()->exposeRect(rect, alignX, alignY); 568 newRect.setX(rect.x() - frameView->scrollX() + frameView->x()); 569 newRect.setY(rect.y() - frameView->scrollY() + frameView->y()); 586 parentBox->scrollRectToVisible(newRect, alignX, alignY); [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
YuvImageTest.java | 279 Rect newRect = rect; 280 expected = Bitmap.createBitmap(testBitmap, newRect.left, newRect.top, 281 newRect.width(), newRect.height());
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
ScrollView.cpp | 706 void ScrollView::setFrameRect(const IntRect& newRect) 710 if (newRect == oldRect) 713 Widget::setFrameRect(newRect); [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkRRect.cpp | 264 SkRect newRect; 265 if (!matrix.mapRect(&newRect, fRect)) { 270 dst->fRect = newRect;
|
/external/skia/src/core/ |
SkRRect.cpp | 264 SkRect newRect; 265 if (!matrix.mapRect(&newRect, fRect)) { 270 dst->fRect = newRect;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
HorizontalScrollViewTest.java | 495 final Rect newRect = new Rect(ITEM_WIDTH - 10, ITEM_HEIGHT - 10, ITEM_WIDTH, ITEM_HEIGHT); 501 assertTrue(mScrollView.requestChildRectangleOnScreen(child, newRect, true));
|
ScrollViewTest.java | 526 final Rect newRect = new Rect(mItemWidth - orgRectSize, mItemHeight - orgRectSize, 533 assertTrue(mScrollView.requestChildRectangleOnScreen(child, newRect, true));
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
FrameSelection.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
FrameView.cpp | 421 void FrameView::setFrameRect(const IntRect& newRect) 424 if (newRect == oldRect) 428 if (newRect.width() != oldRect.width()) { 439 ScrollView::setFrameRect(newRect); [all...] |
/external/chromium/chrome/browser/resources/bookmark_manager/js/ |
main.js | 715 var newRect = {}; 717 newRect[key] = rect[key]; 719 return newRect; [all...] |