Home | History | Annotate | Download | only in views

Lines Matching full:bounds

123     EXPECT_EQ(l->bounds(), v->bounds());
124 if (v->bounds() != l->bounds())
341 new_bounds_ = bounds();
356 EXPECT_EQ(v.bounds(), new_rect);
400 params.bounds = gfx::Rect(50, 50, 650, 650);
421 // Drag event out of bounds. Should still go to v2
434 // Releasted event out of bounds. Should still go to v2
463 params.bounds = gfx::Rect(50, 50, 650, 650);
501 params.bounds = gfx::Rect(50, 50, 650, 650);
579 params.bounds = gfx::Rect(50, 50, 650, 650);
808 // Create a triangular mask within the bounds of this View.
1521 params.bounds = gfx::Rect(0, 0, 100, 100);
1558 params.bounds = gfx::Rect(0, 0, 100, 100);
1670 params.bounds = gfx::Rect(0, 0, 100, 100);
1733 params.bounds = gfx::Rect(0, 0, 100, 100);
1761 params.bounds = gfx::Rect(0, 0, 100, 100);
1970 params.bounds = gfx::Rect(50, 50, 650, 650);
2009 params.bounds = gfx::Rect(50, 50, 650, 650);
2148 params.bounds = viewport_bounds;
2207 params.bounds = viewport_bounds;
2218 // Create a view that cares about visible bounds notifications, and position
2219 // it just outside the visible bounds of the viewport.
2230 // We should have received the notification since the visible bounds may have
2289 // Verifies SetBounds(same bounds) doesn't trigger a SchedulePaint().
2309 params.bounds = viewport_bounds;
2322 EXPECT_EQ(child_view->bounds(), parent_view->scheduled_paint_rects_.front());
2328 EXPECT_EQ(child_view->bounds(), parent_view->scheduled_paint_rects_.front());
2525 params.bounds = gfx::Rect(50, 50, 650, 650);
2551 params.bounds = gfx::Rect(50, 50, 650, 650);
3036 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
3051 void TestLayerAnimator::SetBounds(const gfx::Rect& bounds) {
3052 last_bounds_ = bounds;
3073 params.bounds = gfx::Rect(50, 50, 200, 200);
3098 // Create v1, give it a bounds and verify everything is set up correctly.
3106 EXPECT_EQ(gfx::Rect(20, 30, 140, 150), v1->layer()->bounds());
3116 EXPECT_EQ(gfx::Rect(10, 20, 30, 40), v2->layer()->bounds());
3126 // The bounds of the layer should have changed to be relative to the root view
3128 EXPECT_EQ(gfx::Rect(30, 50, 30, 40), v2->layer()->bounds());
3142 EXPECT_EQ(gfx::Rect(10, 20, 30, 40), v2->layer()->bounds());
3150 // Create v1, give it a bounds and verify everything is set up correctly.
3181 gfx::Rect bounds(1, 2, 3, 4);
3182 v1->SetBoundsRect(bounds);
3183 EXPECT_EQ(bounds, animator->last_bounds());
3185 EXPECT_NE(bounds, v1->layer()->bounds());
3188 // Verifies the bounds of a layer are updated if the bounds of ancestor that
3203 EXPECT_EQ(gfx::Rect(30, 41, 40, 50), v2->layer()->bounds());
3206 EXPECT_EQ(gfx::Rect(35, 47, 40, 50), v2->layer()->bounds());
3209 EXPECT_EQ(gfx::Rect(36, 48, 40, 50), v2->layer()->bounds());
3211 // Bounds of the layer should change even if the view is not invisible.
3214 EXPECT_EQ(gfx::Rect(31, 42, 40, 50), v2->layer()->bounds());
3218 EXPECT_EQ(gfx::Rect(30, 41, 20, 30), v2->layer()->bounds());
3232 // bounds as the view.
3237 v1->layer()->bounds());
3240 // bounds.
3243 v1->layer()->bounds());
3244 gfx::Rect l1bounds = v1->layer()->bounds();
3247 // sure the bounds are correct.
3254 v2->layer()->bounds());
3255 gfx::Rect l2bounds = v2->layer()->bounds();
3258 EXPECT_EQ(l1bounds, v1->layer()->bounds());
3259 EXPECT_EQ(l2bounds, v2->layer()->bounds());
3265 EXPECT_EQ(l1bounds, v1->layer()->bounds());
3268 EXPECT_EQ(l1bounds, v1->layer()->bounds());
3269 EXPECT_EQ(l2bounds, v2->layer()->bounds());
3274 EXPECT_EQ(l2bounds, v2->layer()->bounds());
3656 test_view->SchedulePaintInRect(test_view->bounds());
3707 test_view->SchedulePaintInRect(test_view->bounds());
3712 gfx::Rect rtl_damage(test_view->bounds().width() - 16, 18, 1, 1);
3749 test_view->SchedulePaintInRect(test_view->bounds());
3783 test_view->SchedulePaintInRect(test_view->bounds());
3793 test_view->SchedulePaintInRect(test_view->bounds());
3804 test_view->SchedulePaintInRect(test_view->bounds());
3828 test_view->SchedulePaintInRect(test_view->bounds());
3836 test_view->SchedulePaintInRect(test_view->bounds());
3867 test_view->SchedulePaintInRect(test_view->bounds());
3880 params.bounds = gfx::Rect(10, 10, 500, 500);
3889 test_view->SchedulePaintInRect(test_view->bounds());
3890 widget_view->SchedulePaintInRect(widget_view->bounds());