/external/chromium/chrome/browser/ui/views/infobars/ |
translate_message_infobar.cc | 31 gfx::Size button_size = button_->GetPreferredSize(); local 33 OffsetY(button_size), button_size.width(), button_size.height());
|
infobar_view.cc | 199 gfx::Size button_size = close_button_->GetPreferredSize(); local 201 width() - kHorizontalPadding - button_size.width()), OffsetY(button_size), 202 button_size.width(), button_size.height());
|
/external/chromium/chrome/browser/chromeos/login/ |
shutdown_button.cc | 101 gfx::Size button_size = GetPreferredSize(); local 103 parent->width() - button_size.width()- kRightPadding, 104 parent->height() - button_size.height() - kBottomPadding, 105 button_size.width(), 106 button_size.height());
|
/external/chromium/chrome/browser/chromeos/notifications/ |
balloon_view.cc | 97 gfx::Size button_size = close_button_->GetPreferredSize(); local 99 int height = std::max(options_size.height(), button_size.height()); 106 (height - button_size.height()) / 2, 107 button_size.width(), button_size.height());
|
/external/chromium/chrome/browser/ui/views/download/ |
download_item_view.cc | 461 gfx::Size button_size = GetButtonSize(); local 463 y = (height() - button_size.height()) / 2; 464 save_button_->SetBounds(x, y, button_size.width(), button_size.height()); 465 x += button_size.width() + kButtonPadding; 466 discard_button_->SetBounds(x, y, button_size.width(), button_size.height()); 482 gfx::Size button_size = GetButtonSize(); local 484 height = std::max<int>(height, 2 * kVerticalPadding + button_size.height()); 488 width += button_size.width() * 2 + kButtonPadding [all...] |
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/ |
TreeView.java | 109 private static final int BUTTON_SIZE = 13; 364 + (pt.y - mButtonCenter.y) * (pt.y - mButtonCenter.y) <= (BUTTON_SIZE * BUTTON_SIZE) / 4) { 603 new Point(x - BUTTON_RIGHT_OFFSET + (RECT_WIDTH - BUTTON_SIZE) / 2, 604 y + BUTTON_TOP_OFFSET + BUTTON_SIZE / 2); 616 e.gc.fillOval(x + RECT_WIDTH / 2 - BUTTON_RIGHT_OFFSET - BUTTON_SIZE, y 617 + BUTTON_TOP_OFFSET, BUTTON_SIZE, BUTTON_SIZE); 620 + (RECT_WIDTH - BUTTON_SIZE - RECTANGLE_SIZE) / 2 - 1, y 621 + BUTTON_TOP_OFFSET + (BUTTON_SIZE - RECTANGLE_SIZE) / 2 [all...] |
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
EditStyledText.java | [all...] |