Home
last modified time | relevance | path

Searched refs:top_left (Results 1 – 20 of 20) sorted by relevance

/external/clang/test/Sema/
Ddesignated-initializers.c57 struct point top_left; member
61 struct rect window = { .top_left.x = 1.0 };
64 [2].top_left = { 1.0, 2.0 },
67 [3] = { .top_left = { 1.1, 2.2 }, .bottom_right = { .y = 1.1 } }
73 [2].top_left = { { .x = 1.1 } }, // expected-error{{designator in initializer for scalar type}}
74 [1].top_left = { .x = 1.1 }
82 [5].windows[3].top_left.x = { 7.0 } // expected-warning{{braces around scalar initializer}}
90 .window = { .top_left = { 1.0, 2.0 } },
/external/chromium/chrome/browser/ui/views/infobars/
Dinfobar_button_border.cc15 normal_set_.top_left = rb.GetBitmapNamed(IDR_INFOBARBUTTON_TOP_LEFT_N); in InfoBarButtonBorder()
26 hot_set_.top_left = rb.GetBitmapNamed(IDR_INFOBARBUTTON_TOP_LEFT_H); in InfoBarButtonBorder()
36 pushed_set_.top_left = rb.GetBitmapNamed(IDR_INFOBARBUTTON_TOP_LEFT_P); in InfoBarButtonBorder()
69 canvas->DrawBitmapInt(*set->top_left, 0, 0); in Paint()
74 set->top_left->width(), 0, in Paint()
75 bounds.width() - set->top_right->width() - set->top_left->width(), in Paint()
84 set->left->height(), 0, set->top_left->height(), set->top_left->width(), in Paint()
Dinfobar_button_border.h33 SkBitmap* top_left; member
/external/clang/test/FixIt/
Dtypo.c11 struct Point top_left, // expected-note{{'top_left' declared here}} member
30 r1.top_left.x = 0; in test()
34 r2->top_left.y = 0; in test()
/external/chromium/chrome/browser/ui/views/
Dstatus_bubble_views.cc582 gfx::Point top_left; in Reposition() local
583 views::View::ConvertPointToScreen(base_view_, &top_left); in Reposition()
585 popup_->SetBounds(gfx::Rect(top_left.x() + position_.x(), in Reposition()
586 top_left.y() + position_.y(), in Reposition()
708 gfx::Point top_left; in AvoidMouse() local
709 views::View::ConvertPointToScreen(base_view_, &top_left); in AvoidMouse()
716 int top_right_x = top_left.x() + window_width; in AvoidMouse()
720 relative_location.x() - (top_left.x() + position_.x())); in AvoidMouse()
723 relative_location.y() - (top_left.y() + position_.y())); in AvoidMouse()
760 const int bubble_bottom_y = top_left.y() + position_.y() + size_.height(); in AvoidMouse()
[all …]
Dbrowser_bubble.cc115 gfx::Point top_left; in Reposition() local
116 views::View::ConvertPointToScreen(frame_->GetRootView(), &top_left); in Reposition()
117 MovePopup(top_left.x() + bounds_.x(), in Reposition()
118 top_left.y() + bounds_.y(), in Reposition()
/external/libvpx/vp8/common/
Dreconintra4x4.c25 unsigned char top_left = Above[-1]; in vp8_predict_intra4x4() local
64 int pred = Above[c] - top_left + Left[r]; in vp8_predict_intra4x4()
84 ap[0] = (top_left + 2 * Above[0] + Above[1] + 2) >> 2; in vp8_predict_intra4x4()
108 lp[0] = (top_left + 2 * Left[0] + Left[1] + 2) >> 2; in vp8_predict_intra4x4()
155 pp[4] = top_left; in vp8_predict_intra4x4()
189 pp[4] = top_left; in vp8_predict_intra4x4()
246 pp[4] = top_left; in vp8_predict_intra4x4()
/external/chromium/chrome/browser/themes/
Dtheme_service_unittest.cc12 std::string top_left = "top left"; in TEST() local
13 int alignment = ThemeService::StringToAlignment(top_left); in TEST()
16 EXPECT_EQ(top_left, ThemeService::AlignmentToString(alignment)); in TEST()
/external/libvpx/vp8/decoder/
Dreconintra_mt.c617 unsigned char top_left; /* = Above[-1]; */ in vp8mt_predict_intra4x4() local
640 top_left = pbi->mt_yleft_col[mb_row][num-1]; in vp8mt_predict_intra4x4()
642 top_left = Above[-1]; in vp8mt_predict_intra4x4()
676 int pred = Above[c] - top_left + Left[r]; in vp8mt_predict_intra4x4()
696 ap[0] = (top_left + 2 * Above[0] + Above[1] + 2) >> 2; in vp8mt_predict_intra4x4()
720 lp[0] = (top_left + 2 * Left[0] + Left[1] + 2) >> 2; in vp8mt_predict_intra4x4()
767 pp[4] = top_left; in vp8mt_predict_intra4x4()
801 pp[4] = top_left; in vp8mt_predict_intra4x4()
858 pp[4] = top_left; in vp8mt_predict_intra4x4()
/external/chromium/chrome/browser/chromeos/views/
Ddropdown_button.cc30 hot_set_.top_left = rb.GetBitmapNamed(IDR_DROPDOWN_TOP_LEFT_H); in DropDownButtonBorder()
40 pushed_set_.top_left = rb.GetBitmapNamed(IDR_DROPDOWN_TOP_LEFT_P); in DropDownButtonBorder()
/external/chromium/chrome/browser/ui/views/download/
Ddownload_item_view.cc228 normal_body_image_set_.top_left->height() + in DownloadItemView()
455 int x = kLeftPadding + dangerous_mode_body_image_set_.top_left->width() + in Layout()
479 width = kLeftPadding + dangerous_mode_body_image_set_.top_left->width(); in GetPreferredSize()
491 width = kLeftPadding + normal_body_image_set_.top_left->width(); in GetPreferredSize()
799 body_image_set->top_left, body_image_set->left, in OnPaint()
801 x, box_y_, box_height_, body_image_set->top_left->width()); in OnPaint()
802 x += body_image_set->top_left->width(); in OnPaint()
821 hot_body_image_set_.top_left, hot_body_image_set_.left, in OnPaint()
823 x, box_y_, box_height_, hot_body_image_set_.top_left->width()); in OnPaint()
824 x += body_image_set->top_left->width(); in OnPaint()
Ddownload_item_view.h116 SkBitmap* top_left; member
/external/chromium/chrome/browser/ui/gtk/
Dnine_box.cc51 NineBox::NineBox(int top_left, int top, int top_right, int left, int center, in NineBox() argument
55 images_[0] = top_left ? rb.GetPixbufNamed(top_left) : NULL; in NineBox()
Dnine_box.h26 NineBox(int top_left, int top, int top_right, int left, int center, int right,
Dbrowser_window_gtk.cc423 CairoCachedSurface* top_left = theme_provider->GetSurfaceNamed( in DrawContentShadow() local
429 center_left_x += top_left->Width() - kContentShadowThickness; in DrawContentShadow()
430 center_width -= (top_left->Width() + top_right->Width()); in DrawContentShadow()
450 top_left->SetSource( in DrawContentShadow()
457 top_left->Width(), in DrawContentShadow()
458 top_left->Height()); in DrawContentShadow()
/external/chromium/chrome/browser/accessibility/
Dbrowser_accessibility.cc128 gfx::Point top_left = manager_->GetViewBounds().origin(); in GetBoundsRect() local
129 bounds.Offset(top_left); in GetBoundsRect()
Dbrowser_accessibility_win.cc510 POINT top_left = {0, 0}; in get_imagePosition() local
511 ::ClientToScreen(parent_hwnd, &top_left); in get_imagePosition()
512 *x = location_.x() + top_left.x; in get_imagePosition()
513 *y = location_.y() + top_left.y; in get_imagePosition()
/external/chromium/chrome/browser/ui/views/frame/
Dapp_panel_browser_frame_view.cc421 SkBitmap* top_left = rb.GetBitmapNamed(IDR_APP_TOP_LEFT); in PaintRestoredClientEdge() local
434 canvas->DrawBitmapInt(*top_left, client_area_bounds.x() - top_left->width(), in PaintRestoredClientEdge()
Dopaque_browser_frame_view.cc912 SkBitmap* top_left = tp->GetBitmapNamed(IDR_APP_TOP_LEFT); in PaintRestoredClientEdge() local
918 canvas->DrawBitmapInt(*top_left, 0, 0, top_left->width(), height, in PaintRestoredClientEdge()
919 client_area_bounds.x() - top_left->width(), top_edge_y, in PaintRestoredClientEdge()
920 top_left->width(), height, false); in PaintRestoredClientEdge()
/external/opencv/cv/src/
Dcvdistransform.cpp829 CvPoint top_left = {0,0}, bottom_right = {size.width-1,size.height-1}; in cvDistTransform() local
845 cvRectangle( src_copy, top_left, bottom_right, cvScalarAll(255), 1, 8 ); in cvDistTransform()