Searched refs:target_height (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/ui/gfx/
H A Dplatform_font_win_unittest.cc16 // Returns a font based on |base_font| with height at most |target_height| and
19 int target_height) {
21 if (base_font.GetHeight() < target_height) {
22 // Increase size while height is <= |target_height|.
24 while (larger_font.GetHeight() <= target_height) {
28 } else if (expected_font.GetHeight() > target_height) {
29 // Decrease size until height is <= |target_height|.
32 } while (expected_font.GetHeight() > target_height);
45 const int target_height = base_font.GetHeight() + i; local
46 Font expected_font = AdjustFontSizeForHeight(base_font, target_height);
18 AdjustFontSizeForHeight(const gfx::Font& base_font, int target_height) argument
[all...]
/external/chromium_org/chrome_frame/infobars/internal/
H A Dinfobar_window.cc130 void InfobarWindow::StartSlidingTowards(int target_height) { argument
132 target_height_ = target_height;
/external/chromium/chrome/browser/ui/views/
H A Dpage_info_bubble_view.cc199 int target_height = animation_start_height_ + static_cast<int>( local
202 size.set_height(target_height);
/external/chromium_org/ash/wm/dock/
H A Ddocked_window_layout_manager.cc227 // Returns height that is as close as possible to |target_height| while
229 int GetWindowHeightCloseTo(const aura::Window* window, int target_height) { argument
244 target_height = std::max(target_height, minimum_height);
246 target_height = std::min(target_height, maximum_height);
247 return target_height;
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtcvideoengine.cc3547 int target_height = new_height; local
3551 target_height = target_codec.height;
3577 target_width != cur_width || target_height != cur_height ||
3585 vie_codec.height = target_height;

Completed in 223 milliseconds