Searched refs:scroll_rect (Results 1 – 12 of 12) sorted by relevance
/external/chromium_org/ppapi/tests/ |
D | test_paint_aggregator.cc | 53 ASSERT_TRUE(greg.GetPendingUpdate().scroll_rect.IsEmpty()); in TestSingleInvalidation() 73 ASSERT_TRUE(greg.GetPendingUpdate().scroll_rect.IsEmpty()); in TestDoubleDisjointInvalidation() 92 ASSERT_TRUE(greg.GetPendingUpdate().scroll_rect.IsEmpty()); in TestSingleScroll() 110 ASSERT_FALSE(greg.GetPendingUpdate().scroll_rect.IsEmpty()); in TestDoubleOverlappingScroll() 112 ASSERT_TRUE(rect == greg.GetPendingUpdate().scroll_rect); in TestDoubleOverlappingScroll() 152 ASSERT_TRUE(greg.GetPendingUpdate().scroll_rect.IsEmpty()); in TestDiagonalScroll() 162 pp::Rect scroll_rect(0, 0, 10, 10); in TestContainedPaintAfterScroll() local 163 greg.ScrollRect(scroll_rect, pp::Point(2, 0)); in TestContainedPaintAfterScroll() 172 ASSERT_FALSE(greg.GetPendingUpdate().scroll_rect.IsEmpty()); in TestContainedPaintAfterScroll() 175 ASSERT_TRUE(scroll_rect == greg.GetPendingUpdate().scroll_rect); in TestContainedPaintAfterScroll() [all …]
|
D | test_graphics_2d.cc | 548 pp::Rect scroll_rect(image_width - dx, image_height - dy); in TestScroll() local 552 CompareImageRect(test_image, scroll_rect, readback_scroll, scroll_rect)); in TestScroll()
|
/external/chromium_org/ppapi/utility/graphics/ |
D | paint_aggregator.cc | 46 damaged_rect.set_y(scroll_rect.y()); in GetScrollDamage() 47 damaged_rect.set_height(scroll_rect.height()); in GetScrollDamage() 49 damaged_rect.set_x(scroll_rect.x()); in GetScrollDamage() 52 damaged_rect.set_x(scroll_rect.right() + dx); in GetScrollDamage() 57 damaged_rect.set_x(scroll_rect.x()); in GetScrollDamage() 58 damaged_rect.set_width(scroll_rect.width()); in GetScrollDamage() 60 damaged_rect.set_y(scroll_rect.y()); in GetScrollDamage() 63 damaged_rect.set_y(scroll_rect.bottom() + dy); in GetScrollDamage() 69 return scroll_rect.Intersect(damaged_rect); in GetScrollDamage() 85 return !update_.scroll_rect.IsEmpty() || !update_.paint_rects.empty(); in HasPendingUpdate() [all …]
|
D | paint_aggregator.h | 53 Rect scroll_rect; member 144 Rect scroll_rect; variable
|
D | paint_manager.cc | 151 graphics_.Scroll(update.scroll_rect, update.scroll_delta); in DoPaint()
|
/external/chromium_org/pdf/ |
D | paint_aggregator.cc | 49 damaged_rect.set_y(scroll_rect.y()); in GetScrollDamage() 50 damaged_rect.set_height(scroll_rect.height()); in GetScrollDamage() 52 damaged_rect.set_x(scroll_rect.x()); in GetScrollDamage() 55 damaged_rect.set_x(scroll_rect.right() + dx); in GetScrollDamage() 60 damaged_rect.set_x(scroll_rect.x()); in GetScrollDamage() 61 damaged_rect.set_width(scroll_rect.width()); in GetScrollDamage() 63 damaged_rect.set_y(scroll_rect.y()); in GetScrollDamage() 66 damaged_rect.set_y(scroll_rect.bottom() + dy); in GetScrollDamage() 72 return scroll_rect.Intersect(damaged_rect); in GetScrollDamage() 79 return !update_.scroll_rect.IsEmpty() || !update_.paint_rects.empty(); in HasPendingUpdate() [all …]
|
D | paint_aggregator.h | 51 pp::Rect scroll_rect; member 105 pp::Rect scroll_rect; variable
|
D | paint_manager.cc | 219 graphics_.Scroll(update.scroll_rect, update.scroll_delta); in DoPaint()
|
/external/chromium_org/cc/debug/ |
D | debug_rect_history.cc | 239 gfx::Rect scroll_rect = in SaveScrollEventHandlerRectsCallback() local 246 layer->screen_space_transform(), scroll_rect))); in SaveScrollEventHandlerRectsCallback() 260 gfx::Rect scroll_rect = gfx::ScaleToEnclosingRect( in SaveNonFastScrollableRectsCallback() local 265 layer->screen_space_transform(), scroll_rect))); in SaveNonFastScrollableRectsCallback()
|
/external/chromium_org/cc/layers/ |
D | layer_impl.cc | 1246 gfx::RectF scroll_rect(gfx::PointF(), bounds()); in SetScrollbarPosition() local 1248 if (scroll_rect.size().IsEmpty()) in SetScrollbarPosition() 1263 scroll_rect.Scale(scale_factor); in SetScrollbarPosition() 1279 scroll_rect.Scale(layer_tree_impl()->total_page_scale_factor()); in SetScrollbarPosition() 1287 float visible_ratio = clip_rect.width() / scroll_rect.width(); in SetScrollbarPosition() 1291 scrollbar_layer->SetMaximum(scroll_rect.width() - clip_rect.width()); in SetScrollbarPosition() 1295 float visible_ratio = clip_rect.height() / scroll_rect.height(); in SetScrollbarPosition() 1299 scrollbar_layer->SetMaximum(scroll_rect.height() - clip_rect.height()); in SetScrollbarPosition() 1470 gfx::Rect scroll_rect(content_bounds()); in AsValueInto() local 1471 Region scroll_region(scroll_rect); in AsValueInto()
|
/external/chromium_org/ui/views/controls/ |
D | scroll_view.cc | 108 gfx::Rect scroll_rect(rect); in ScrollRectToVisible() local 109 scroll_rect.Offset(-contents->x(), -contents->y()); in ScrollRectToVisible() 111 scroll_rect); in ScrollRectToVisible()
|
/external/chromium_org/ui/views/ |
D | view.cc | 1297 gfx::Rect scroll_rect(rect); in ScrollRectToVisible() local 1298 scroll_rect.Offset(GetMirroredX(), y()); in ScrollRectToVisible() 1299 parent_->ScrollRectToVisible(scroll_rect); in ScrollRectToVisible()
|