Home
last modified time | relevance | path

Searched refs:textRect (Results 1 – 5 of 5) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestime.c43 static SDL_Rect textRect, markedRect; variable
440 textRect.x = textRect.y = 100; in InitInput()
441 textRect.w = DEFAULT_WINDOW_WIDTH - 2 * textRect.x; in InitInput()
442 textRect.h = 50; in InitInput()
445 markedRect = textRect; in InitInput()
465 drawnTextRect = textRect; in _Redraw()
469 SDL_RenderFillRect(renderer,&textRect); in _Redraw()
478 drawnTextRect.y = textRect.y + (textRect.h - textSur->h) / 2; in _Redraw()
493 dstrect.x = textRect.x; in _Redraw()
494 dstrect.y = textRect.y + (textRect.h - 16 * UNIFONT_DRAW_SCALE) / 2; in _Redraw()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/android/
DSDL_androidvideo.h37 SDL_Rect textRect; member
DSDL_androidkeyboard.c367 Android_JNI_ShowTextInput(&videodata->textRect); in Android_StartTextInput()
386 videodata->textRect = *rect; in Android_SetTextInputRect()
/third_party/skia/gm/
Dwacky_yuv_formats.cpp695 SkRect textRect; in draw_col_label() local
699 font.measureText(colLabel.c_str(), colLabel.size(), SkTextEncoding::kUTF8, &textRect); in draw_col_label()
700 int y = textRect.height(); in draw_col_label()
706 font.measureText(colLabel.c_str(), colLabel.size(), SkTextEncoding::kUTF8, &textRect); in draw_col_label()
707 y += textRect.height(); in draw_col_label()
722 SkRect textRect; in draw_row_label() local
726 font.measureText(rowLabel.c_str(), rowLabel.size(), SkTextEncoding::kUTF8, &textRect); in draw_row_label()
727 y += kTileWidthHeight/2 + textRect.height()/2; in draw_row_label()
/third_party/flutter/skia/gm/
Dwacky_yuv_formats.cpp884 SkRect textRect; in draw_col_label() local
888 font.measureText(colLabel.c_str(), colLabel.size(), SkTextEncoding::kUTF8, &textRect); in draw_col_label()
889 int y = textRect.height(); in draw_col_label()
895 font.measureText(colLabel.c_str(), colLabel.size(), SkTextEncoding::kUTF8, &textRect); in draw_col_label()
896 y += textRect.height(); in draw_col_label()
911 SkRect textRect; in draw_row_label() local
915 font.measureText(rowLabel.c_str(), rowLabel.size(), SkTextEncoding::kUTF8, &textRect); in draw_row_label()
916 y += kTileWidthHeight/2 + textRect.height()/2; in draw_row_label()