Home
last modified time | relevance | path

Searched refs:format (Results 1 – 12 of 12) sorted by relevance

/bootable/recovery/
D.clang-format1 # bootable/recovery project uses repohook to apply `clang-format` to the changed lines, with the
2 # local style file in `.clang-format`. This will be triggered automatically with `repo upload`.
3 # Alternatively, one can stage and format a change with `git clang-format` directly.
6 # $ git clang-format --style file
8 # Or to format a committed change.
10 # $ git clang-format --style file HEAD~1
12 # `--style file` will pick up the local style file in `.clang-format`. This can be configured as the
17 # Note that `repo upload` calls the `clang-format` binary in Android repo (i.e.
18 # `$ANDROID_BUILD_TOP/prebuilts/clang/host/linux-x86/clang-stable/bin/clang-format`), which might
20 # `/usr/bin/clang-format`). Specifying the file with `--binary` will ensure consistent results.
[all …]
/bootable/recovery/minui/
Dgraphics_adf.cpp45 __u32 format, int* err) { in Create() argument
48 auto fd = adf_interface_simple_buffer_alloc(intf_fd, mode->hdisplay, mode->vdisplay, format, in Create()
57 new GRSurfaceAdf(mode->hdisplay, mode->vdisplay, pitch, (format == DRM_FORMAT_RGB565 ? 2 : 4), in Create()
77 surfaces[0] = GRSurfaceAdf::Create(intf_fd, &intf_data.current_mode, format, &result); in InterfaceInit()
83 surfaces[1] = GRSurfaceAdf::Create(intf_fd, &intf_data.current_mode, format, &result); in InterfaceInit()
98 int err = adf_find_simple_post_configuration(dev, &format, 1, &intf_id, &eng_id); in DeviceInit()
119 format = DRM_FORMAT_ABGR8888; in Init()
121 format = DRM_FORMAT_BGRA8888; in Init()
123 format = DRM_FORMAT_RGBX8888; in Init()
125 format = DRM_FORMAT_RGB565; in Init()
[all …]
Dgraphics_drm.cpp60 static int drm_format_to_bpp(uint32_t format) { in drm_format_to_bpp() argument
61 switch (format) { in drm_format_to_bpp()
74 printf("Unknown format %d\n", format); in drm_format_to_bpp()
80 uint32_t format; in Create() local
87 format = DRM_FORMAT_RGBA8888; in Create()
89 format = DRM_FORMAT_ARGB8888; in Create()
91 format = DRM_FORMAT_XBGR8888; in Create()
93 format = DRM_FORMAT_BGRA8888; in Create()
95 format = DRM_FORMAT_RGB565; in Create()
101 create_dumb.bpp = drm_format_to_bpp(format); in Create()
[all …]
Dgraphics_adf.h35 __u32 format, int* err);
71 __u32 format; variable
Dgraphics.cpp346 std::string format = android::base::GetProperty("ro.minui.pixel_format", ""); in gr_init() local
347 if (format == "ABGR_8888") { in gr_init()
349 } else if (format == "RGBX_8888") { in gr_init()
351 } else if (format == "ARGB_8888") { in gr_init()
353 } else if (format == "BGRA_8888") { in gr_init()
/bootable/recovery/edify/include/edify/
Dexpr.h144 Value* ErrorAbort(State* state, const char* format, ...)
145 __attribute__((format(printf, 2, 3), deprecated));
149 Value* ErrorAbort(State* state, CauseCode cause_code, const char* format, ...)
150 __attribute__((format(printf, 3, 4)));
/bootable/recovery/update_verifier/
Dcare_map_generator.py46 "line count must be multiple of {}: {}".format(step, len(lines))
112 format=logging_format)
/bootable/recovery/edify/
Dexpr.cpp404 Value* ErrorAbort(State* state, const char* format, ...) { in ErrorAbort() argument
406 va_start(ap, format); in ErrorAbort()
407 android::base::StringAppendV(&state->errmsg, format, ap); in ErrorAbort()
412 Value* ErrorAbort(State* state, CauseCode cause_code, const char* format, ...) { in ErrorAbort() argument
415 va_start(ap, format); in ErrorAbort()
416 android::base::StringAppendV(&err_message, format, ap); in ErrorAbort()
/bootable/recovery/tools/image_generator/
DREADME.md20 strings in xml format, e.g. bootable/recovery/tools/recovery_l10n/res/
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/services/
DPrepareUpdateService.java205 Log.w(TAG, String.format("ab_config.property_files doesn't contain %s", in verifyPayloadMetadata()
219 Log.w(TAG, String.format("Downloading %s from %s failed", in verifyPayloadMetadata()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/
DUpdateManager.java486 Log.d(TAG, String.format( in onStatusUpdate()
/bootable/recovery/updater_sample/
DREADME.md44 format, the size penalty is marginal.