/packages/apps/Camera2/jni/feature_mos/src/mosaic_renderer/ |
FrameBuffer.cpp | 24 bool FrameBuffer::Init(int width, int height, GLenum format) { 35 format, 39 format, 66 mFormat = format;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
FrameBuffer.cpp | 24 bool FrameBuffer::Init(int width, int height, GLenum format) { 35 format, 39 format, 64 mFormat = format;
|
/prebuilts/tools/common/m2/internal/org/slf4j/slf4j-api/1.7.2/ |
slf4j-api-1.7.2.jar | |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
TestColor.java | 34 return String.format("#%6x", mRgb);
|
/system/vold/ |
Fat.h | 29 static int format(const char *fsPath, unsigned int numSectors, bool wipe);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
plurfmt.h | 81 * <code>applyPattern()</code> method. The <code>format()</code> 109 * format patterns. <code>PluralFormat</code> preserves these so that you 113 * automatically evaluate the resulting format pattern.<br> 115 * in message texts to define a nested format pattern.<br> 120 * <code>format()</code> method. It will be formatted using a 139 * msgFmt->format(args1, 1, result, ignore, status); 142 * msgFmt->format(args2, 1, result, ignore, status); 153 * If you use plural format strings with <code>MessageFormat</code> and want 158 * <code>'</code> in the number format pattern. Since 168 * constructor, this locale will be used to format the number in the messag [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_resource_texture.c | 93 align_nblocksx(enum pipe_format format, unsigned width, unsigned align_to) 95 return align(util_format_get_nblocksx(format, width), align_to); 99 align_nblocksy(enum pipe_format format, unsigned width, unsigned align_to) 101 return align(util_format_get_nblocksy(format, width), align_to); 105 get_pot_stride(enum pipe_format format, unsigned width) 107 return util_next_power_of_two(util_format_get_stride(format, width)); 151 * util_format_get_blocksize(tex->b.b.format); 184 if (util_format_is_s3tc(tex->b.b.format)) 207 if (pt->last_level > 0 || util_format_get_blocksize(pt->format) != 4) 214 tex->stride = align(util_format_get_stride(pt->format, pt->width0), 64) 793 enum pipe_format format = resource->format; local 862 enum pipe_format format = tex->b.b.format; local [all...] |
/external/chromium_org/tools/gyp/buildbot/ |
buildbot_run.py | 38 """Prepare an Android tree to run 'android' format tests.""" 71 def GypTestFormat(title, format=None, msvs_version=None): 72 """Run the gyp tests for a given format, emitting annotator tags. 77 format: gyp format to test. 81 if not format: 82 format = title 93 '--format', format, 95 if format == 'android' [all...] |
/external/dropbear/ |
svr-session.c | 126 /* failure exit - format must be <= 100 chars */ 127 void svr_dropbear_exit(int exitcode, const char* format, va_list param) { 134 "premature exit: %s", format); 139 ses.authstate.printableuser, format); 144 ses.authstate.printableuser, ses.authstate.failcount, format); 148 "exit before auth: %s", format); 161 void svr_dropbear_log(int priority, const char* format, va_list param) { 168 vsnprintf(printbuf, sizeof(printbuf), format, param);
|
/external/icu4c/i18n/unicode/ |
plurfmt.h | 85 * <code>applyPattern()</code> method. The <code>format()</code> 127 * If you need a custom format and have a non-zero offset, then you need to pass the 136 * constructor, this locale will be used to format the number in the message 147 class U_I18N_API PluralFormat : public Format { 304 * Sets the pattern used by this plural format. 305 * The method parses the pattern and creates a map of format strings 309 * @param pattern the pattern for this plural format 318 using Format::format; 332 UnicodeString format(int32_t number, UErrorCode& status) const [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_resource_texture.c | 93 align_nblocksx(enum pipe_format format, unsigned width, unsigned align_to) 95 return align(util_format_get_nblocksx(format, width), align_to); 99 align_nblocksy(enum pipe_format format, unsigned width, unsigned align_to) 101 return align(util_format_get_nblocksy(format, width), align_to); 105 get_pot_stride(enum pipe_format format, unsigned width) 107 return util_next_power_of_two(util_format_get_stride(format, width)); 151 * util_format_get_blocksize(tex->b.b.format); 184 if (util_format_is_s3tc(tex->b.b.format)) 207 if (pt->last_level > 0 || util_format_get_blocksize(pt->format) != 4) 214 tex->stride = align(util_format_get_stride(pt->format, pt->width0), 64) 793 enum pipe_format format = resource->format; local 862 enum pipe_format format = tex->b.b.format; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/windx5/ |
SDL_dx5audio.c | 196 error = "Unsupported audio format"; 430 DSBUFFERDESC format; local 445 SDL_memset(&format, 0, sizeof(format)); 446 format.dwSize = sizeof(format); 447 format.dwFlags=(DSBCAPS_PRIMARYBUFFER|DSBCAPS_GETCURRENTPOSITION2); 448 format.dwFlags |= DSBCAPS_STICKYFOCUS; 450 format.dwFlags |= DSBCAPS_CTRLPOSITIONNOTIFY; 452 result = IDirectSound_CreateSoundBuffer(sndObj, &format, sndbuf, NULL) 506 DSBUFFERDESC format; local [all...] |
/frameworks/base/libs/hwui/ |
GammaFontRenderer.h | 38 virtual uint32_t getFontRendererSize(uint32_t fontRenderer, GLenum format) const = 0; 84 uint32_t getFontRendererSize(uint32_t fontRenderer, GLenum format) const { 85 return mRenderer ? mRenderer->getCacheSize(format) : 0; 131 uint32_t getFontRendererSize(uint32_t fontRenderer, GLenum format) const { 132 return mRenderer ? mRenderer->getCacheSize(format) : 0; 165 uint32_t getFontRendererSize(uint32_t fontRenderer, GLenum format) const { 171 return renderer->getCacheSize(format);
|
PixelBuffer.cpp | 36 CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height); 50 CpuPixelBuffer::CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height): 51 PixelBuffer(format, width, height) { 52 mBuffer = new uint8_t[width * height * formatSize(format)]; 85 GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height); 101 GpuPixelBuffer::GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height): 102 PixelBuffer(format, width, height), mMappedPointer(0), mCaches(Caches::getInstance()) { 161 PixelBuffer* PixelBuffer::create(GLenum format, uint32_t width, uint32_t height, BufferType type) { 163 return new GpuPixelBuffer(format, width, height); 165 return new CpuPixelBuffer(format, width, height) [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
JPEGInputStream.java | 39 public JPEGInputStream(InputStream in, int format) { 41 setConfig(format); 44 public boolean setConfig(int format) { 45 // Make sure format is valid 46 switch (format) { 55 mFormat = format; 104 throw new ArrayIndexOutOfBoundsException(String.format( 182 native private int setup(Point dimens, InputStream in, int format);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
StringUtils.java | 120 return String.format("%02d:%02d:%02d.%01d", hours, mins, sec, time);
137 return String.format("%02d:%02d:%02d", hours, mins, sec);
157 return String.format(context.getString(R.string.seconds), sec);
159 return String.format(context.getString(R.string.minute_and_seconds), sec);
161 return String.format(context.getString(R.string.minutes), mins);
164 return String.format(context.getString(R.string.hour_and_minutes), mins);
166 return String.format(context.getString(R.string.hours_and_minutes), hours, mins);
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
GLESvalidate.cpp | 50 bool GLESvalidate::pixelOp(GLenum format,GLenum type) { 54 return format == GL_RGBA; 56 return format == GL_RGB; 61 bool GLESvalidate::pixelFrmt(GLEScontext* ctx ,GLenum format) { 62 if (ctx && ctx->getCaps()->GL_EXT_TEXTURE_FORMAT_BGRA8888 && format == GL_BGRA_EXT) 64 if (ctx && ctx->getCaps()->GL_EXT_PACKED_DEPTH_STENCIL && format == GL_DEPTH_STENCIL_OES) 66 switch(format) {
|
/external/chromium-trace/trace-viewer/examples/stream_server/handlers/ |
stream_wsh.py | 15 out.append('\"l\": \"{0}\",'.format(label)) 16 out.append('\"s\": {0},'.format(start_time)) 17 out.append('\"e\": {0}'.format(start_time+elapsed_time)) 25 out.append('\"n\": \"{0}\",'.format(thread_name)) 35 out.append('\"pid\": \"{0}\",'.format(pid)) 51 out.append('\"t\": {0},'.format(start_time)) 52 out.append('\"v\": [{0}]'.format(value)) 60 out.append('\"n\": \"{0}\",'.format(counter_name)) 61 out.append('\"sn\": [\"{0}\"],'.format(series_name)) 74 out.append('\"pid\": \"{0}\",'.format(pid) [all...] |
/external/esd/include/ |
esd.h | 65 ESD_PROTO_SERVER_INFO, /* get server info (ver, sample rate, format) */ 129 /* rate, format = (bits | channels | stream | func) */ 145 int esd_play_stream( esd_format_t format, int rate, 147 int esd_play_stream_fallback( esd_format_t format, int rate, 149 int esd_monitor_stream( esd_format_t format, int rate, 151 /* int esd_monitor_stream_fallback( esd_format_t format, int rate ); */ 152 int esd_record_stream( esd_format_t format, int rate, 154 int esd_record_stream_fallback( esd_format_t format, int rate, 156 int esd_filter_stream( esd_format_t format, int rate, 160 int esd_sample_cache( int esd, esd_format_t format, const int rate, 200 esd_format_t format; \/* magic int with the format info *\/ member in struct:esd_server_info 216 esd_format_t format; \/* magic int with the format info *\/ member in struct:esd_player_info 231 esd_format_t format; \/* magic int with the format info *\/ member in struct:esd_sample_info [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/nds/ |
SDL_ndsaudio.c | 81 // if(soundsystem->format == 8) 149 if(soundsystem->format == 8) 283 int format = 0; local 284 //switch(spec->format&0xff) { 285 //case 8: spec->format = AUDIO_S8;format=8; break; 286 //case 16: spec->format = AUDIO_S16LSB;format=16; break; 288 // SDL_SetError("Unsupported audio format"); 291 switch (spec->format&~0x1000) [all...] |
/external/stressapptest/src/ |
sattypes.h | 76 void logprintf(int priority, const char *format, ...); 131 string format; local 138 format += char(digit <= 9 ? '0' + digit: 'A' + digit - 10); 140 last_non_zero_size = format.size(); 146 format += char(digit <= 9 ? '0' + digit: 'A' + digit - 10); 147 last_non_zero_size = format.size(); 149 format.erase(last_non_zero_size); 150 reverse(format.begin(), format.end()); 151 return format; [all...] |
/external/valgrind/main/drd/tests/ |
unit_vc.c | 20 Int line, const Char* function, const HChar* format, 41 UInt VG_(printf)(const HChar *format, ...) 42 { UInt ret; va_list vargs; va_start(vargs, format); ret = vprintf(format, vargs); va_end(vargs); return ret; } 43 UInt VG_(snprintf)(Char* buf, Int size, const HChar *format, ...) 44 { UInt ret; va_list vargs; va_start(vargs, format); ret = vsnprintf(buf, size, format, vargs); va_end(vargs); return ret; } 46 UInt VG_(message)(VgMsgKind kind, const HChar* format, ...) 47 { UInt ret; va_list vargs; va_start(vargs, format); ret = vprintf(format, vargs); va_end(vargs); printf("\n"); return ret; [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
InputStreamBuffer.java | 102 String.format("Buffer size %d must be positive.", bufferSize)); 138 String.format("Index %d beyond length.", index)); 164 String.format("Index %d is before buffer %d", index, mOffset)); 235 Log.d(TAG, String.format("advanceTo %d buffer: %s", i, this)); 264 String.format("Index %d is before buffer %d", index, mOffset)); 282 Log.w(TAG, String.format( 304 Log.d(TAG, String.format("fill %d buffer: %s", i, this)); 319 String.format("Index %d out of bounds. Length %d", i, mBuffer.length)); 331 return String.format("+%d+%d [%d]", mOffset, mBuffer.length, mFilled); 345 sb.append(String.format("%02X", mBuffer[i])) [all...] |
/hardware/samsung_slsi/exynos5/include/ |
gralloc_priv.h | 87 int format; member in struct:private_handle_t 110 int h, int format, int stride, int vstride) : 112 offset(0), format(format), width(w), height(h), stride(stride), 122 int h, int format, int stride, int vstride) : 124 offset(0), format(format), width(w), height(h), stride(stride), 134 int h, int format, int stride, int vstride) : 136 offset(0), format(format), width(w), height(h), stride(stride) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
esd.h | 65 ESD_PROTO_SERVER_INFO, /* get server info (ver, sample rate, format) */ 129 /* rate, format = (bits | channels | stream | func) */ 145 int esd_play_stream( esd_format_t format, int rate, 147 int esd_play_stream_fallback( esd_format_t format, int rate, 149 int esd_monitor_stream( esd_format_t format, int rate, 151 /* int esd_monitor_stream_fallback( esd_format_t format, int rate ); */ 152 int esd_record_stream( esd_format_t format, int rate, 154 int esd_record_stream_fallback( esd_format_t format, int rate, 156 int esd_filter_stream( esd_format_t format, int rate, 160 int esd_sample_cache( int esd, esd_format_t format, const int rate, 200 esd_format_t format; \/* magic int with the format info *\/ member in struct:esd_server_info 216 esd_format_t format; \/* magic int with the format info *\/ member in struct:esd_player_info 231 esd_format_t format; \/* magic int with the format info *\/ member in struct:esd_sample_info [all...] |