Searched refs:local_bounds (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/ui/views/controls/scrollbar/
H A Dkennedy_scroll_bar.cc50 gfx::Rect local_bounds(GetLocalBounds());
51 canvas->FillRect(local_bounds,
55 canvas->DrawRect(local_bounds, kBorderColor);
69 gfx::Rect local_bounds(GetLocalBounds());
70 gfx::Size track_size = local_bounds.size();
72 local_bounds.set_size(track_size);
73 return local_bounds;
101 gfx::Rect local_bounds(GetLocalBounds());
102 canvas->FillRect(local_bounds, kTrackHoverColor);
103 canvas->DrawRect(local_bounds, kBorderColo
[all...]
H A Doverlay_scroll_bar.cc61 gfx::Rect local_bounds(GetLocalBounds());
74 canvas->DrawRoundRect(local_bounds, kThumbCornerRadius, paint);
95 gfx::Rect local_bounds(GetLocalBounds());
97 local_bounds.Inset(kThumbInsetFromEdge, kThumbInsetInside,
100 local_bounds.Inset(kThumbInsetInside, kThumbInsetFromEdge,
103 gfx::Size track_size = local_bounds.size();
105 local_bounds.set_size(track_size);
106 return local_bounds;
H A Dnative_scroll_bar_views.cc174 const gfx::Rect local_bounds(GetLocalBounds());
180 local_bounds,
186 local_bounds, extra_params);
/external/chromium_org/ui/views/
H A Dview_targeter_delegate.cc92 gfx::Rect local_bounds(root->GetLocalBounds());
93 if (views::PercentCoveredBy(local_bounds, rect) >= kRectTargetOverlap) {
96 local_bounds);
/external/chromium_org/chrome/browser/ui/views/autofill/
H A Dtooltip_icon.cc23 gfx::Rect local_bounds = view->GetLocalBounds(); local
24 gfx::Point origin = local_bounds.CenterPoint();
28 local_bounds.bottom() - (origin.y() + pref_size.height()),
29 local_bounds.right() - (origin.x() + pref_size.width()));
/external/chromium_org/ui/views/controls/native/
H A Dnative_view_host.cc98 gfx::Rect local_bounds = ConvertRectToWidget(GetContentsBounds()); local
99 native_wrapper_->ShowWidget(local_bounds.x(), local_bounds.y(),
100 local_bounds.width(),
101 local_bounds.height());
/external/chromium_org/ash/wm/
H A Dresize_shadow.cc104 gfx::Rect local_bounds(content_bounds.size());
105 image_grid_->SetContentBounds(local_bounds);
/external/chromium_org/ui/app_list/views/
H A Dpulsing_block_view.cc40 const gfx::Rect local_bounds(layer->bounds().size());
48 gfx::GetScaleTransform(local_bounds.CenterPoint(),
H A Dspeech_view.cc96 gfx::Rect local_bounds = GetLocalBounds(); local
97 int radius = local_bounds.width() / 2 + kIndicatorRadiusMinOffset;
98 gfx::Point center = local_bounds.CenterPoint();
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_strip_unittest.cc403 gfx::Rect local_bounds = GetTabCloseHitTestMask(active_tab, true); local
404 EXPECT_EQ(gfx::Rect(81, 0, 39, 29).ToString(), local_bounds.ToString());
428 local_bounds = GetTabCloseHitTestMask(active_tab, true);
429 EXPECT_EQ(gfx::Rect(81, 0, 39, 29).ToString(), local_bounds.ToString());
/external/chromium_org/ui/aura/
H A Dwindow.cc875 gfx::Rect local_bounds(bounds().size());
877 return local_bounds.Contains(local_point);
883 clip_region.setRect(local_bounds.x(), local_bounds.y(),
884 local_bounds.width(), local_bounds.height());
/external/chromium_org/ash/shell/
H A Dwindow_type_launcher.cc84 gfx::Rect local_bounds = GetLocalBounds(); variable
86 5, local_bounds.bottom() - open_ps.height() - 5,
/external/chromium_org/ash/
H A Droot_window_controller.cc134 gfx::Rect local_bounds; local
136 local_bounds = state->window()->bounds();
137 MoveOriginRelativeToSize(src_size, dst_size, &local_bounds);
149 window->SetBounds(local_bounds);

Completed in 330 milliseconds