Home
last modified time | relevance | path

Searched refs:target_height (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/ui/gfx/
Dplatform_font_win_unittest.cc19 int target_height) { in AdjustFontSizeForHeight() argument
21 if (base_font.GetHeight() < target_height) { in AdjustFontSizeForHeight()
24 while (larger_font.GetHeight() <= target_height) { in AdjustFontSizeForHeight()
28 } else if (expected_font.GetHeight() > target_height) { in AdjustFontSizeForHeight()
32 } while (expected_font.GetHeight() > target_height); in AdjustFontSizeForHeight()
45 const int target_height = base_font.GetHeight() + i; in TEST() local
46 Font expected_font = AdjustFontSizeForHeight(base_font, target_height); in TEST()
47 ASSERT_LE(expected_font.GetHeight(), target_height); in TEST()
49 Font derived_font = platform_font->DeriveFontWithHeight(target_height, 0); in TEST()
52 EXPECT_LE(expected_font.GetHeight(), target_height); in TEST()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/examples/
Dresize_util.c48 int width, height, target_width, target_height; in main() local
63 if (!parse_dim(argv[3], &target_width, &target_height)) { in main()
89 target_width, target_height); in main()
96 outbuf = (uint8_t*)malloc(target_width * target_height * 3 / 2); in main()
99 outbuf_u = outbuf + target_width * target_height; in main()
100 outbuf_v = outbuf_u + target_width * target_height / 4; in main()
109 target_height, target_width); in main()
110 fwrite(outbuf, target_width * target_height * 3 / 2, 1, fpout); in main()
/external/libvpx/libvpx/examples/
Dresize_util.c48 int width, height, target_width, target_height; in main() local
63 if (!parse_dim(argv[3], &target_width, &target_height)) { in main()
89 target_width, target_height); in main()
96 outbuf = (uint8_t*)malloc(target_width * target_height * 3 / 2); in main()
99 outbuf_u = outbuf + target_width * target_height; in main()
100 outbuf_v = outbuf_u + target_width * target_height / 4; in main()
109 target_height, target_width); in main()
110 fwrite(outbuf, target_width * target_height * 3 / 2, 1, fpout); in main()
/external/chromium_org/third_party/libvpx/source/libvpx/test/
Dresize_util.sh53 local target_height=$((${YUV_RAW_INPUT_HEIGHT} / 2))
55 resize_util "${target_width}x${target_height}"
61 local target_height=$((${YUV_RAW_INPUT_HEIGHT} * 2))
63 resize_util "${target_width}x${target_height}"
/external/chromium_org/third_party/webrtc/modules/video_capture/
Dvideo_capture_impl.cc288 int target_height = height; in IncomingFrame() local
292 target_height = width; in IncomingFrame()
300 abs(target_height), in IncomingFrame()
/external/chromium_org/ash/wm/dock/
Ddocked_window_layout_manager.cc266 int GetWindowHeightCloseTo(const aura::Window* window, int target_height) { in GetWindowHeightCloseTo() argument
281 target_height = std::max(target_height, minimum_height); in GetWindowHeightCloseTo()
283 target_height = std::min(target_height, maximum_height); in GetWindowHeightCloseTo()
284 return target_height; in GetWindowHeightCloseTo()
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtcvideoengine.cc3904 int target_height = new_height; in MaybeResetVieSendCodec() local
3908 target_height = target_codec.height; in MaybeResetVieSendCodec()
3942 target_width != cur_width || target_height != cur_height; in MaybeResetVieSendCodec()
3953 vie_codec.height = target_height; in MaybeResetVieSendCodec()