Home
last modified time | relevance | path

Searched refs:y_pos (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/chrome/browser/ui/
Dntp_background_util.cc24 int y_pos = 0; in PaintThemeBackground() local
29 y_pos += area.height() + tab_contents_height - ntp_background->height(); in PaintThemeBackground()
33 y_pos += std::floor(area.height() + tab_contents_height / 2.0 - in PaintThemeBackground()
56 } else if (y_pos > 0) { in PaintThemeBackground()
57 y_pos = y_pos % ntp_background->height() - ntp_background->height(); in PaintThemeBackground()
61 y_pos += area.y(); in PaintThemeBackground()
63 canvas->TileImageInt(*ntp_background, x_pos, y_pos, width, height); in PaintThemeBackground()
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
Dmedia_galleries_dialog_cocoa.mm174 CGFloat y_pos = kCheckboxMargin;
176 y_pos = CreateAttachedCheckboxes(y_pos, controller_->AttachedPermissions());
179 y_pos = CreateCheckboxSeparator(y_pos);
181 y_pos = CreateUnattachedCheckboxes(
182 y_pos, controller_->UnattachedPermissions());
185 [checkbox_container_ setFrame:NSMakeRect(0, 0, kCheckboxMaxWidth, y_pos + 2)];
208 CGFloat y_pos,
211 y_pos += kCheckboxMargin;
217 UpdateGalleryCheckbox(permission.pref_info, permission.allowed, y_pos);
218 y_pos = NSMaxY([[checkboxes_ lastObject] frame]) + kCheckboxMargin;
[all …]
Dmedia_galleries_dialog_cocoa.h61 CGFloat y_pos);
66 CGFloat y_pos,
70 CGFloat y_pos,
73 CGFloat CreateCheckboxSeparator(CGFloat y_pos);
/external/chromium/chrome/browser/
Dntp_background_util.cc21 int y_pos = 0; in PaintThemeBackground() local
26 y_pos += area.height() + tab_contents_height - ntp_background->height(); in PaintThemeBackground()
46 } else if (y_pos > 0) { in PaintThemeBackground()
47 y_pos = y_pos % ntp_background->height() - ntp_background->height(); in PaintThemeBackground()
51 y_pos += area.y(); in PaintThemeBackground()
53 canvas->TileImageInt(*ntp_background, x_pos, y_pos, width, height); in PaintThemeBackground()
/external/chromium_org/third_party/freetype/src/sfnt/
Dttsbit.c388 FT_Int y_pos );
395 FT_Int y_pos );
404 FT_Int y_pos ) in tt_sbit_decoder_load_byte_aligned() argument
427 y_pos < 0 || y_pos + height > bit_height ) in tt_sbit_decoder_load_byte_aligned()
443 line += y_pos * pitch + ( x_pos >> 3 ); in tt_sbit_decoder_load_byte_aligned()
545 FT_Int y_pos ) in tt_sbit_decoder_load_bit_aligned() argument
569 y_pos < 0 || y_pos + height > bit_height ) in tt_sbit_decoder_load_bit_aligned()
587 line += y_pos * pitch + ( x_pos >> 3 ); in tt_sbit_decoder_load_bit_aligned()
671 FT_Int y_pos ) in tt_sbit_decoder_load_compound() argument
706 x_pos + dx, y_pos + dy ); in tt_sbit_decoder_load_compound()
[all …]
Dttsbit0.c360 FT_Int y_pos );
366 FT_Int y_pos );
374 FT_Int y_pos ) in tt_sbit_decoder_load_byte_aligned() argument
400 y_pos < 0 || y_pos + height > bit_height ) in tt_sbit_decoder_load_byte_aligned()
413 line += y_pos * pitch + ( x_pos >> 3 ); in tt_sbit_decoder_load_byte_aligned()
512 FT_Int y_pos ) in tt_sbit_decoder_load_bit_aligned() argument
539 y_pos < 0 || y_pos + height > bit_height ) in tt_sbit_decoder_load_bit_aligned()
554 line += y_pos * pitch + ( x_pos >> 3 ); in tt_sbit_decoder_load_bit_aligned()
635 FT_Int y_pos ) in tt_sbit_decoder_load_compound() argument
671 x_pos + dx, y_pos + dy ); in tt_sbit_decoder_load_compound()
[all …]
/external/freetype/src/sfnt/
Dttsbit.c388 FT_Int y_pos );
395 FT_Int y_pos );
404 FT_Int y_pos ) in tt_sbit_decoder_load_byte_aligned() argument
427 y_pos < 0 || y_pos + height > bit_height ) in tt_sbit_decoder_load_byte_aligned()
443 line += y_pos * pitch + ( x_pos >> 3 ); in tt_sbit_decoder_load_byte_aligned()
545 FT_Int y_pos ) in tt_sbit_decoder_load_bit_aligned() argument
569 y_pos < 0 || y_pos + height > bit_height ) in tt_sbit_decoder_load_bit_aligned()
587 line += y_pos * pitch + ( x_pos >> 3 ); in tt_sbit_decoder_load_bit_aligned()
671 FT_Int y_pos ) in tt_sbit_decoder_load_compound() argument
706 x_pos + dx, y_pos + dy ); in tt_sbit_decoder_load_compound()
[all …]
/external/chromium_org/media/cast/test/
Dlinux_output_window.cc17 int y_pos, in LinuxOutputWindow() argument
21 CreateWindow( x_pos, y_pos, width, height, name); in LinuxOutputWindow()
36 int y_pos, in CreateWindow() argument
69 y_pos, width, height, 0, visual_info.depth, in CreateWindow()
Dlinux_output_window.h31 int y_pos,
41 int y_pos,
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dfakevideorenderer.h103 const uint8* y_pos = y_plane; in CheckFrameColorYuv() local
107 uint8 y_value = *(y_pos + j); in CheckFrameColorYuv()
112 y_pos += y_pitch; in CheckFrameColorYuv()
/external/webp/src/dec/
Dvp8l.c456 static void ConvertToYUVA(const uint32_t* const src, int width, int y_pos, in ConvertToYUVA() argument
462 uint8_t* const y = buf->y + y_pos * buf->y_stride; in ConvertToYUVA()
471 uint8_t* const u = buf->u + (y_pos >> 1) * buf->u_stride; in ConvertToYUVA()
472 uint8_t* const v = buf->v + (y_pos >> 1) * buf->v_stride; in ConvertToYUVA()
483 if (!(y_pos & 1)) { // even lines: store values in ConvertToYUVA()
499 if (!(y_pos & 1)) { // even lines in ConvertToYUVA()
513 uint8_t* const a = buf->a + y_pos * buf->a_stride; in ConvertToYUVA()
518 static int ExportYUVA(const VP8LDecoder* const dec, int y_pos) { in ExportYUVA() argument
525 ConvertToYUVA(src, dst_width, y_pos, dec->output_); in ExportYUVA()
526 ++y_pos; in ExportYUVA()
[all …]
Dio.c361 static int ExportRGB(WebPDecParams* const p, int y_pos) { in ExportRGB() argument
365 uint8_t* dst = buf->rgba + (p->last_y + y_pos) * buf->stride; in ExportRGB()
371 assert(p->last_y + y_pos + num_lines_out < p->output->height); in ExportRGB()
408 static int ExportAlpha(WebPDecParams* const p, int y_pos) { in ExportAlpha() argument
410 uint8_t* const base_rgba = buf->rgba + (p->last_y + y_pos) * buf->stride; in ExportAlpha()
422 assert(p->last_y + y_pos + num_lines_out < p->output->height); in ExportAlpha()
439 static int ExportAlphaRGBA4444(WebPDecParams* const p, int y_pos) { in ExportAlphaRGBA4444() argument
441 uint8_t* const base_rgba = buf->rgba + (p->last_y + y_pos) * buf->stride; in ExportAlphaRGBA4444()
451 assert(p->last_y + y_pos + num_lines_out < p->output->height); in ExportAlphaRGBA4444()
Dwebpi.h29 typedef int (*OutputRowFunc)(WebPDecParams* const p, int y_pos);
/external/chromium_org/third_party/libwebp/dec/
Dvp8l.c457 static void ConvertToYUVA(const uint32_t* const src, int width, int y_pos, in ConvertToYUVA() argument
463 uint8_t* const y = buf->y + y_pos * buf->y_stride; in ConvertToYUVA()
472 uint8_t* const u = buf->u + (y_pos >> 1) * buf->u_stride; in ConvertToYUVA()
473 uint8_t* const v = buf->v + (y_pos >> 1) * buf->v_stride; in ConvertToYUVA()
484 if (!(y_pos & 1)) { // even lines: store values in ConvertToYUVA()
500 if (!(y_pos & 1)) { // even lines in ConvertToYUVA()
514 uint8_t* const a = buf->a + y_pos * buf->a_stride; in ConvertToYUVA()
519 static int ExportYUVA(const VP8LDecoder* const dec, int y_pos) { in ExportYUVA() argument
526 ConvertToYUVA(src, dst_width, y_pos, dec->output_); in ExportYUVA()
527 ++y_pos; in ExportYUVA()
[all …]
Dio.c361 static int ExportRGB(WebPDecParams* const p, int y_pos) { in ExportRGB() argument
365 uint8_t* dst = buf->rgba + (p->last_y + y_pos) * buf->stride; in ExportRGB()
371 assert(p->last_y + y_pos + num_lines_out < p->output->height); in ExportRGB()
408 static int ExportAlpha(WebPDecParams* const p, int y_pos) { in ExportAlpha() argument
410 uint8_t* const base_rgba = buf->rgba + (p->last_y + y_pos) * buf->stride; in ExportAlpha()
422 assert(p->last_y + y_pos + num_lines_out < p->output->height); in ExportAlpha()
439 static int ExportAlphaRGBA4444(WebPDecParams* const p, int y_pos) { in ExportAlphaRGBA4444() argument
441 uint8_t* const base_rgba = buf->rgba + (p->last_y + y_pos) * buf->stride; in ExportAlphaRGBA4444()
451 assert(p->last_y + y_pos + num_lines_out < p->output->height); in ExportAlphaRGBA4444()
Dwebpi.h29 typedef int (*OutputRowFunc)(WebPDecParams* const p, int y_pos);
/external/harfbuzz_ng/src/hb-old/
Dharfbuzz-buffer.h50 HB_Fixed y_pos; member
Dharfbuzz-gpos.c497 gd->y_pos += y_scale * vr->YPlacement / 0x10000; in Get_ValueRecord()
515 gd->y_pos += pixel_value << 6; in Get_ValueRecord()
546 gd->y_pos += value; in Get_ValueRecord()
1985 POSITION( gpi->last )->y_pos = entry_y - gpi->anchor_y; in Lookup_CursivePos()
1990 POSITION( buffer->in_pos )->y_pos = gpi->anchor_y - entry_y; in Lookup_CursivePos()
2317 o->y_pos = y_base_value - y_mark_value; in Lookup_MarkBasePos()
2743 o->y_pos = y_lig_value - y_mark_value; in Lookup_MarkLigPos()
3056 o->y_pos = y_mark2_value - y_mark1_value; in Lookup_MarkMarkPos()
5934 positions[j].y_pos += positions[j - positions[j].cursive_chain].y_pos; in Position_CursiveChain()
5943 positions[j].y_pos += positions[j - positions[j].cursive_chain].y_pos; in Position_CursiveChain()
Dharfbuzz-shaper.cpp937 offsets[i].y = positions[i].y_pos; in HB_OpenTypePosition()
941 offsets[i].y += positions[i - back].y_pos; in HB_OpenTypePosition()
/external/harfbuzz/src/
Dharfbuzz-buffer.h50 HB_Fixed y_pos; member
Dharfbuzz-gpos.c497 gd->y_pos += y_scale * vr->YPlacement / 0x10000; in Get_ValueRecord()
515 gd->y_pos += pixel_value << 6; in Get_ValueRecord()
546 gd->y_pos += value; in Get_ValueRecord()
1985 POSITION( gpi->last )->y_pos = entry_y - gpi->anchor_y; in Lookup_CursivePos()
1990 POSITION( buffer->in_pos )->y_pos = gpi->anchor_y - entry_y; in Lookup_CursivePos()
2317 o->y_pos = y_base_value - y_mark_value; in Lookup_MarkBasePos()
2743 o->y_pos = y_lig_value - y_mark_value; in Lookup_MarkLigPos()
3056 o->y_pos = y_mark2_value - y_mark1_value; in Lookup_MarkMarkPos()
5934 positions[j].y_pos += positions[j - positions[j].cursive_chain].y_pos; in Position_CursiveChain()
5943 positions[j].y_pos += positions[j - positions[j].cursive_chain].y_pos; in Position_CursiveChain()
Dharfbuzz-shaper.cpp1299 offsets[i].y = positions[i].y_pos; in HB_OpenTypePosition()
1303 offsets[i].y += positions[i - back].y_pos; in HB_OpenTypePosition()
/external/qemu/android/skin/
Dwindow.c959 int y_pos; member
1245 window->y_pos = y; in skin_window_create()
1341 int window_y = window->y_pos; in skin_window_resize()
1470 SDL_WM_GetPos(&window->x_pos, &window->y_pos); in skin_window_reset()
1638 SDL_WM_GetPos( &window->x_pos, &window->y_pos ); in skin_window_toggle_fullscreen()
/external/chromium/chrome/browser/ui/views/
Dabout_chrome_view.cc377 int y_pos = background_image_height + views::kRelatedControlVerticalSpacing; in Layout() local
382 y_pos, in Layout()
/external/chromium_org/ash/wm/dock/
Ddocked_window_layout_manager.cc1065 float y_pos = work_area.y() + ((delta > 0) ? delta : kMinDockGap); in FanOutChildren() local
1107 static_cast<int>(y_pos + 0.5)))); in FanOutChildren()
1108 y_pos += bounds.height() + delta; in FanOutChildren()