Home
last modified time | relevance | path

Searched refs:h (Results 1 – 15 of 15) sorted by relevance

/bootable/recovery/recovery_ui/
Dvr_ui.cpp37 void VrRecoveryUI::DrawSurface(const GRSurface* surface, int sx, int sy, int w, int h, int dx, in DrawSurface() argument
39 gr_blit(surface, sx, sy, w, h, dx + stereo_offset_, dy); in DrawSurface()
40 gr_blit(surface, sx, sy, w, h, dx - stereo_offset_ + ScreenWidth(), dy); in DrawSurface()
69 void VrRecoveryUI::DrawFill(int x, int y, int w, int h) const { in DrawFill()
70 gr_fill(x + stereo_offset_, y, w, h); in DrawFill()
71 gr_fill(x - stereo_offset_ + ScreenWidth(), y, w, h); in DrawFill()
Dscreen_ui.cpp608 void ScreenRecoveryUI::DrawSurface(const GRSurface* surface, int sx, int sy, int w, int h, int dx, in DrawSurface() argument
610 gr_blit(surface, sx, sy, w, h, dx, dy); in DrawSurface()
622 void ScreenRecoveryUI::DrawFill(int x, int y, int w, int h) const { in DrawFill()
623 gr_fill(x, y, w, h); in DrawFill()
/bootable/recovery/tools/recovery_l10n/src/com/android/recovery_l10n/
DMain.java231 int h = b.getHeight();
233 height += h+1;
234 if (h > maxHeight) maxHeight = h;
253 int h = bm.getHeight();
256 bm.getPixels(pixels, 0, w, 0, 0, w, h);
265 for (int j = 0; j < h; ++j) {
281 for (int j = 0; j < h; ++j) {
303 Log.i(TAG, "encoding \"" + loc + "\" as \"" + lang + "\": " + tw + " x " + h);
307 out.setPixel(2, p, colorFor(h & 0xff));
308 out.setPixel(3, p, colorFor(h >>> 8));
[all …]
/bootable/recovery/recovery_ui/include/recovery_ui/
Dvr_ui.h36 void DrawSurface(const GRSurface* surface, int sx, int sy, int w, int h, int dx,
40 void DrawFill(int x, int y, int w, int h) const override;
Dscreen_ui.h63 virtual void DrawSurface(const GRSurface* surface, int sx, int sy, int w, int h, int dx,
67 virtual void DrawFill(int x, int y, int w, int h) const = 0;
327 void DrawSurface(const GRSurface* surface, int sx, int sy, int w, int h, int dx,
329 void DrawFill(int x, int y, int w, int h) const override;
/bootable/recovery/edify/
Dparser.yy18 #include <stdio.h>
19 #include <stdlib.h>
20 #include <string.h>
26 #include <android-base/macros.h>
28 #include "edify/expr.h"
29 #include "yydefs.h"
30 #include "parser.h"
Dlexer.ll18 #include <string.h>
21 #include "edify/expr.h"
22 #include "yydefs.h"
23 #include "parser.h"
/bootable/recovery/tests/unit/
Dresources_test.cpp113 int h = (row[3] << 8) | row[2]; in TEST_P() local
116 EXPECT_LT(0, h); in TEST_P()
120 ASSERT_GE(png_->height(), y + 1 + h) << "Locale: " << kLocale << " is not found in the file."; in TEST_P()
126 for (int i = 0; i < h; ++i, ++y) { in TEST_P()
Dupdater_test.cpp1050 std::string h(4096, 'h'); in GenerateTransferList() local
1157 std::string new_data = i + h + f; in GenerateTransferList()
1165 g_target_image = zero + i + h + g + f + e + d + c + b + a; in GenerateTransferList()
/bootable/recovery/minui/
Dresources.cpp381 int h = (row[3] << 8) | row[2]; in get_locales_in_png() local
386 for (int i = 0; i < h; ++i, ++y) { in get_locales_in_png()
417 int h = (row[3] << 8) | row[2]; in res_create_localized_alpha_surface() local
422 if (y + 1 + h > height) { in res_create_localized_alpha_surface()
423 printf("Read exceeds the image boundary, y %u, h %d, height %u\n", y, h, height); in res_create_localized_alpha_surface()
428 printf(" %20s: %s (%d x %d @ %d)\n", name, loc, w, h, y); in res_create_localized_alpha_surface()
430 auto surface = GRSurface::Create(w, h, w, 1); in res_create_localized_alpha_surface()
435 for (int i = 0; i < h; ++i, ++y) { in res_create_localized_alpha_surface()
444 for (int i = 0; i < h; ++i, ++y) { in res_create_localized_alpha_surface()
Dgraphics.cpp261 void gr_blit(const GRSurface* source, int sx, int sy, int w, int h, int dx, int dy) { in gr_blit() argument
272 if (outside(dx, dy) || outside(dx + w - 1, dy + h - 1)) return; in gr_blit()
281 for (int y = 0; y < h; y += 1) { in gr_blit()
295 for (int i = 0; i < h; ++i) { in gr_blit()
/bootable/recovery/
Dinterlace-frames.py44 w, h = sizes.pop()
47 out = Image.new("RGB", (w, h*N))
48 for j in range(h):
DPREUPLOAD.cfg6 clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
/bootable/recovery/recovery_utils/
DAndroid.bp69 // roots.h includes <fstab/fstab.h>.
/bootable/recovery/minui/include/minui/
Dminui.h137 void gr_blit(const GRSurface* source, int sx, int sy, int w, int h, int dx, int dy);