Home
last modified time | relevance | path

Searched refs:local_bounds (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/ui/views/controls/scrollbar/
Dkennedy_scroll_bar.cc50 gfx::Rect local_bounds(GetLocalBounds()); in OnPaint() local
51 canvas->FillRect(local_bounds, in OnPaint()
55 canvas->DrawRect(local_bounds, kBorderColor); in OnPaint()
69 gfx::Rect local_bounds(GetLocalBounds()); in GetTrackBounds() local
70 gfx::Size track_size = local_bounds.size(); in GetTrackBounds()
72 local_bounds.set_size(track_size); in GetTrackBounds()
73 return local_bounds; in GetTrackBounds()
101 gfx::Rect local_bounds(GetLocalBounds()); in OnPaint() local
102 canvas->FillRect(local_bounds, kTrackHoverColor); in OnPaint()
103 canvas->DrawRect(local_bounds, kBorderColor); in OnPaint()
Doverlay_scroll_bar.cc63 gfx::Rect local_bounds(GetLocalBounds()); in OnPaint() local
76 canvas->DrawRoundRect(local_bounds, kThumbCornerRadius, paint); in OnPaint()
97 gfx::Rect local_bounds(GetLocalBounds()); in GetTrackBounds() local
99 local_bounds.Inset(kThumbInsetFromEdge, kThumbInsetInside, in GetTrackBounds()
102 local_bounds.Inset(kThumbInsetInside, kThumbInsetFromEdge, in GetTrackBounds()
105 gfx::Size track_size = local_bounds.size(); in GetTrackBounds()
107 local_bounds.set_size(track_size); in GetTrackBounds()
108 return local_bounds; in GetTrackBounds()
Dnative_scroll_bar_views.cc174 const gfx::Rect local_bounds(GetLocalBounds()); in OnPaint() local
180 local_bounds, in OnPaint()
186 local_bounds, extra_params); in OnPaint()
/external/chromium_org/ui/views/controls/native/
Dnative_view_host.cc108 gfx::Rect local_bounds = ConvertRectToWidget(GetContentsBounds()); in Layout() local
109 native_wrapper_->ShowWidget(local_bounds.x(), local_bounds.y(), in Layout()
110 local_bounds.width(), in Layout()
111 local_bounds.height()); in Layout()
/external/chromium_org/chrome/browser/ui/views/autofill/
Dtooltip_icon.cc22 gfx::Rect local_bounds = view->GetLocalBounds(); in GetPreferredInsets() local
23 gfx::Point origin = local_bounds.CenterPoint(); in GetPreferredInsets()
27 local_bounds.bottom() - (origin.y() + pref_size.height()), in GetPreferredInsets()
28 local_bounds.right() - (origin.x() + pref_size.width())); in GetPreferredInsets()
/external/chromium_org/chrome/browser/ui/gtk/tabs/
Dtab_renderer_gtk.cc739 gfx::Rect local_bounds = GetLocalBounds(); in Layout() local
740 if (local_bounds.IsEmpty()) in Layout()
742 local_bounds.Inset(kLeftPadding, kTopPadding, kRightPadding, kBottomPadding); in Layout()
751 favicon_bounds_.SetRect(local_bounds.x(), favicon_top, in Layout()
755 favicon_bounds_.SetRect(local_bounds.x(), local_bounds.y(), 0, 0); in Layout()
764 local_bounds.right() - close_button_width_ + kCloseButtonHorzFuzz; in Layout()
795 close_button_bounds_.x() : local_bounds.right(); in Layout()
797 local_bounds.x(), right - media_indicator_bounds_.width())); in Layout()
800 media_indicator_bounds_.SetRect(local_bounds.x(), local_bounds.y(), 0, 0); in Layout()
824 title_width = local_bounds.width() - title_left; in Layout()
/external/chromium_org/ui/app_list/views/
Dpulsing_block_view.cc40 const gfx::Rect local_bounds(layer->bounds().size()); in SchedulePulsingAnimation() local
48 gfx::GetScaleTransform(local_bounds.CenterPoint(), in SchedulePulsingAnimation()
Dspeech_view.cc89 gfx::Rect local_bounds = GetLocalBounds(); in HitTestRect() local
90 int radius = local_bounds.width() / 2; in HitTestRect()
91 return (rect.origin() - local_bounds.CenterPoint()).LengthSquared() < in HitTestRect()
/external/chromium_org/ash/wm/
Dresize_shadow.cc105 gfx::Rect local_bounds(content_bounds.size()); in Layout() local
106 image_grid_->SetContentBounds(local_bounds); in Layout()
/external/chromium/chrome/browser/ui/gtk/tabs/
Dtab_renderer_gtk.cc666 gfx::Rect local_bounds = GetLocalBounds(); in Layout() local
667 if (local_bounds.IsEmpty()) in Layout()
669 local_bounds.Inset(kLeftPadding, kTopPadding, kRightPadding, kBottomPadding); in Layout()
678 favicon_bounds_.SetRect(local_bounds.x(), favicon_top, in Layout()
694 favicon_bounds_.SetRect(local_bounds.x(), local_bounds.y(), 0, 0); in Layout()
703 close_button_bounds_.SetRect(local_bounds.width() + kCloseButtonHorzFuzz, in Layout()
741 title_width = std::max(local_bounds.width() - title_left, 0); in Layout()
/external/chromium_org/ui/snapshot/
Dsnapshot_aura_unittest.cc100 gfx::Rect local_bounds(test_window_->bounds().size()); in GrabSnapshotForTestWindow() local
101 ui::GrabWindowSnapshot(test_window(), &png_representation, local_bounds); in GrabSnapshotForTestWindow()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_strip_unittest.cc318 gfx::Rect local_bounds = GetTabCloseHitTestMask(active_tab, true); in TEST_F() local
319 EXPECT_EQ(gfx::Rect(81, 0, 39, 29).ToString(), local_bounds.ToString()); in TEST_F()
343 local_bounds = GetTabCloseHitTestMask(active_tab, true); in TEST_F()
344 EXPECT_EQ(gfx::Rect(81, 0, 39, 29).ToString(), local_bounds.ToString()); in TEST_F()
/external/chromium/chrome/browser/ui/touch/tabs/
Dtouch_tab.cc95 gfx::Rect local_bounds = GetContentsBounds(); in Layout() local
105 favicon_bounds_ = local_bounds; in Layout()
/external/chromium_org/ash/shell/
Dwindow_type_launcher.cc83 gfx::Rect local_bounds = GetLocalBounds(); in Layout() local
85 5, local_bounds.bottom() - open_ps.height() - 5, in Layout()
/external/chromium_org/ui/aura/
Dwindow.cc725 gfx::Rect local_bounds(gfx::Point(), bounds().size()); in HitTest() local
726 local_bounds.Inset(aura::Env::GetInstance()->is_touch_down() ? in HitTest()
731 return local_bounds.Contains(local_point); in HitTest()
737 clip_region.setRect(local_bounds.x(), local_bounds.y(), in HitTest()
738 local_bounds.width(), local_bounds.height()); in HitTest()
/external/chromium_org/ui/views/
Dview.cc898 gfx::Rect local_bounds(GetLocalBounds()); in GetEventHandlerForRect() local
899 if (views::PercentCoveredBy(local_bounds, rect) >= kRectTargetOverlap) { in GetEventHandlerForRect()
902 local_bounds); in GetEventHandlerForRect()