Searched refs:button_x (Results 1 – 2 of 2) sorted by relevance
40 int button_x = label_->bounds().right() + kEndOfLabelSpacing; in Layout() local43 ok_button_->SetBounds(button_x, OffsetY(ok_size), ok_size.width(), in Layout()45 button_x += ok_size.width() + kButtonButtonSpacing; in Layout()50 cancel_button_->SetBounds(button_x, OffsetY(cancel_size), in Layout()
1420 int button_x = mirrored_x - button->x(); in CalculateDropOperation() local1422 if (button_x < button_w) { in CalculateDropOperation()1426 if (button_x <= views::kDropBetweenPixels) { in CalculateDropOperation()1428 } else if (button_x < button_w - views::kDropBetweenPixels) { in CalculateDropOperation()1434 } else if (button_x < button_w / 2) { in CalculateDropOperation()