/external/chromium_org/third_party/skia/src/views/mac/ |
D | SkTextFieldCell.m | 12 NSRect newRect = [super drawingRectForBounds:theRect]; 15 float heightDelta = newRect.size.height - textSize.height; 17 newRect.size.height -= heightDelta; 18 newRect.origin.y += (heightDelta / 2); 21 return newRect;
|
/external/skia/src/views/mac/ |
D | SkTextFieldCell.m | 12 NSRect newRect = [super drawingRectForBounds:theRect]; 15 float heightDelta = newRect.size.height - textSize.height; 17 newRect.size.height -= heightDelta; 18 newRect.origin.y += (heightDelta / 2); 21 return newRect;
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | RemoteFrameView.cpp | 42 void RemoteFrameView::setFrameRect(const IntRect& newRect) in setFrameRect() argument 46 if (newRect == oldRect) in setFrameRect() 49 Widget::setFrameRect(newRect); in setFrameRect()
|
D | FrameView.cpp | 321 void FrameView::setFrameRect(const IntRect& newRect) in setFrameRect() argument 324 if (newRect == oldRect) in setFrameRect() 329 …if (newRect.width() != oldRect.width() && m_frame->isMainFrame() && m_frame->settings()->textAutos… in setFrameRect() 332 ScrollView::setFrameRect(newRect); in setFrameRect() 347 …viewportConstrainedVisibleContentSizeChanged(newRect.width() != oldRect.width(), newRect.height() … in setFrameRect() 349 if (oldRect.size() != newRect.size() in setFrameRect()
|
/external/chromium_org/chrome/browser/ui/cocoa/download/ |
D | download_show_all_button.mm | 30 NSRect newRect = [self frame]; 33 newRect.origin.y = oldRect.origin.y; 34 newRect.size.height = oldRect.size.height; 36 [self setFrame:newRect];
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | TransformationUtils.java | 266 final RectF newRect = new RectF(0, 0, toOrient.getWidth(), toOrient.getHeight()); in rotateImageExif() local 267 matrix.mapRect(newRect); in rotateImageExif() 269 final int newWidth = Math.round(newRect.width()); in rotateImageExif() 270 final int newHeight = Math.round(newRect.height()); in rotateImageExif() 277 matrix.postTranslate(-newRect.left, -newRect.top); in rotateImageExif()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | PaintInfo.h | 53 …PaintInfo(GraphicsContext* newContext, const IntRect& newRect, PaintPhase newPhase, PaintBehavior … 57 , rect(newRect) in context()
|
D | RenderBox.cpp | 446 LayoutRect newRect = rect; in scrollRectToVisible() local 457 newRect = layer()->scrollableArea()->exposeRect(rect, alignX, alignY); in scrollRectToVisible() 479 newRect.setX(rect.x() - frameView->scrollX() + frameView->x()); in scrollRectToVisible() 480 newRect.setY(rect.y() - frameView->scrollY() + frameView->y()); in scrollRectToVisible() 503 parentBox->scrollRectToVisible(newRect, alignX, alignY); in scrollRectToVisible()
|
D | RenderObject.cpp | 1294 …t LayoutRect& oldRect, const LayoutPoint& oldLocation, const LayoutRect& newRect, const LayoutPoin… in jsonObjectForOldAndNewRects() argument 1299 addJsonObjectForRect(value.get(), "newRect", newRect); in jsonObjectForOldAndNewRects()
|
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
D | BoxPainter.cpp | 1247 IntRect newRect = innerBorder.rect(); in calculateAdjustedInnerBorder() local 1254 overshoot = newRadii.topLeft().width() + newRadii.topRight().width() - newRect.width(); in calculateAdjustedInnerBorder() 1257 newRect.setWidth(newRect.width() + overshoot); in calculateAdjustedInnerBorder() 1259 newRect.move(-overshoot, 0); in calculateAdjustedInnerBorder() 1264 if (maxRadii > newRect.height()) in calculateAdjustedInnerBorder() 1265 newRect.setHeight(maxRadii); in calculateAdjustedInnerBorder() 1269 … overshoot = newRadii.bottomLeft().width() + newRadii.bottomRight().width() - newRect.width(); in calculateAdjustedInnerBorder() 1272 newRect.setWidth(newRect.width() + overshoot); in calculateAdjustedInnerBorder() 1274 newRect.move(-overshoot, 0); in calculateAdjustedInnerBorder() 1279 if (maxRadii > newRect.height()) { in calculateAdjustedInnerBorder() [all …]
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkRRect.cpp | 337 SkRect newRect; in transform() local 338 if (!matrix.mapRect(&newRect, fRect)) { in transform() 343 dst->fRect = newRect; in transform() 351 dst->fRadii[i].fX = SkScalarHalf(newRect.width()); in transform() 352 dst->fRadii[i].fY = SkScalarHalf(newRect.height()); in transform()
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
D | ScrollView.cpp | 706 void ScrollView::setFrameRect(const IntRect& newRect) in setFrameRect() argument 710 if (newRect == oldRect) in setFrameRect() 713 Widget::setFrameRect(newRect); in setFrameRect() 1020 IntRect newRect = localRect; in convertFromScrollbarToContainingView() local 1021 newRect.moveBy(scrollbar->location()); in convertFromScrollbarToContainingView() 1022 return newRect; in convertFromScrollbarToContainingView() 1027 IntRect newRect = parentRect; in convertFromContainingViewToScrollbar() local 1029 newRect.moveBy(-scrollbar->location()); in convertFromContainingViewToScrollbar() 1030 return newRect; in convertFromContainingViewToScrollbar()
|
/external/skia/src/core/ |
D | SkRRect.cpp | 337 SkRect newRect; in transform() local 338 if (!matrix.mapRect(&newRect, fRect)) { in transform() 343 dst->fRect = newRect; in transform()
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | PopupListBox.cpp | 931 void PopupListBox::setFrameRect(const IntRect& newRect) in setFrameRect() argument 934 if (newRect == oldRect) in setFrameRect() 937 Widget::setFrameRect(newRect); in setFrameRect()
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | FrameSelection.cpp | 1260 …LayoutRect newRect = localCaretRect(m_selection, PositionWithAffinity(m_selection.start(), m_selec… in invalidateCaretRect() local 1263 …if (!m_caretBlinkTimer.isActive() && newNode == m_previousCaretNode && newRect == m_previousCaretR… in invalidateCaretRect() 1270 invalidateLocalCaretRect(newNode, newRect); in invalidateCaretRect() 1273 m_previousCaretRect = newRect; in invalidateCaretRect()
|