HomeSort by relevance Sort by last modified time
    Searched refs:formatSize (Results 1 - 12 of 12) sorted by null

  /packages/apps/Email/tests/src/com/android/email/activity/
UiUtilitiesTests.java 33 assertEquals("0B", UiUtilities.formatSize(getContext(), 0));
34 assertEquals("1B", UiUtilities.formatSize(getContext(), 1));
35 assertEquals("1023B", UiUtilities.formatSize(getContext(), 1023));
36 assertEquals("1KB", UiUtilities.formatSize(getContext(), 1024));
37 assertEquals("1023KB", UiUtilities.formatSize(getContext(), 1024 * 1024 - 1));
38 assertEquals("1MB", UiUtilities.formatSize(getContext(), 1024 * 1024));
39 assertEquals("1023MB", UiUtilities.formatSize(getContext(), 1024 * 1024 * 1024 - 1));
40 assertEquals("1GB", UiUtilities.formatSize(getContext(), 1024 * 1024 * 1024));
41 assertEquals("5GB", UiUtilities.formatSize(getContext(), 5L * 1024 * 1024 * 1024));
  /frameworks/base/libs/hwui/
PixelBuffer.h 151 return mWidth * mHeight * formatSize(mFormat);
158 return (y * mWidth + x) * formatSize(mFormat);
168 static uint32_t formatSize(GLenum format) {
RenderBuffer.h 120 return (uint32_t) ((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f);
127 static uint32_t formatSize(GLenum format) {
PixelBuffer.cpp 52 mBuffer = new uint8_t[width * height * formatSize(format)];
FontRenderer.cpp 335 const size_t formatSize = PixelBuffer::formatSize(GL_RGBA);
336 const size_t borderSize = formatSize * TEXTURE_BORDER_SIZE;
337 size_t rowSize = formatSize * glyph.fWidth;
339 size_t dstStride = formatSize * cacheWidth;
  /external/aac/libSYS/include/
wav_file.h 144 UINT formatSize;
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageVolumePreferenceCategory.java 292 mItemTotal.setSummary(formatSize(totalSize));
293 mItemAvailable.setSummary(formatSize(availSize));
321 mItemTotal.setSummary(formatSize(details.totalSize));
322 mItemAvailable.setSummary(formatSize(details.availSize));
353 pref.setSummary(formatSize(size));
394 private String formatSize(long size) {
  /external/aac/libSYS/src/
wav_file.cpp 157 FDKfread_EL(&wav->header.formatSize, 4, 1, wav->fp); /* should be 16 for PCM-format (uncompressed) */
168 offset = wav->header.formatSize - 16;
199 FDKfread(&wav->header.formatSize, 1, 1, wav->fp);
413 wav->header.formatSize = LittleEndian32(16);
  /packages/apps/Email/src/com/android/email/activity/
UiUtilities.java 33 public static String formatSize(Context context, long size) {
  /frameworks/base/libs/hwui/font/
CacheTexture.h 108 return (y * mWidth + x) * PixelBuffer::formatSize(mFormat);
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_blit.c 218 GLint formatSize = _mesa_get_format_bytes(readRb->Format);
229 srcMap = map + srcYpos * rowStride + srcXpos * formatSize;
230 dstMap = map + dstYpos * rowStride + dstXpos * formatSize;
  /external/mesa3d/src/mesa/swrast/
s_blit.c 218 GLint formatSize = _mesa_get_format_bytes(readRb->Format);
229 srcMap = map + srcYpos * rowStride + srcXpos * formatSize;
230 dstMap = map + dstYpos * rowStride + dstXpos * formatSize;

Completed in 484 milliseconds