Home
last modified time | relevance | path

Searched refs:scroll_rect (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/ppapi/tests/
Dtest_paint_aggregator.cc53 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 …]
Dtest_graphics_2d.cc548 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/
Dpaint_aggregator.cc46 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 …]
Dpaint_aggregator.h53 Rect scroll_rect; member
144 Rect scroll_rect; variable
Dpaint_manager.cc151 graphics_.Scroll(update.scroll_rect, update.scroll_delta); in DoPaint()
/external/chromium_org/pdf/
Dpaint_aggregator.cc49 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 …]
Dpaint_aggregator.h51 pp::Rect scroll_rect; member
105 pp::Rect scroll_rect; variable
Dpaint_manager.cc219 graphics_.Scroll(update.scroll_rect, update.scroll_delta); in DoPaint()
/external/chromium_org/cc/debug/
Ddebug_rect_history.cc239 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/
Dlayer_impl.cc1246 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/
Dscroll_view.cc108 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/
Dview.cc1297 gfx::Rect scroll_rect(rect); in ScrollRectToVisible() local
1298 scroll_rect.Offset(GetMirroredX(), y()); in ScrollRectToVisible()
1299 parent_->ScrollRectToVisible(scroll_rect); in ScrollRectToVisible()