/frameworks/base/core/java/android/text/style/ |
H A D | TextAppearanceSpan.java | 29 * Sets the text color, size, style, and typeface to match a TextAppearance 110 * Makes text be drawn with the specified typeface, size, style, 113 public TextAppearanceSpan(String family, int style, int size, argument 117 mTextSize = size; 189 * Returns the text size specified by this span, or <code>-1</code>
|
/frameworks/base/core/java/android/util/ |
H A D | LongSparseArray.java | 206 public int size() { method in class:LongSparseArray 215 * Given an index in the range <code>0...size()-1</code>, returns 228 * Given an index in the range <code>0...size()-1</code>, returns 242 * Given an index in the range <code>0...size()-1</code>, sets a new
|
H A D | SparseArray.java | 206 public int size() { method in class:SparseArray 215 * Given an index in the range <code>0...size()-1</code>, returns 228 * Given an index in the range <code>0...size()-1</code>, returns 242 * Given an index in the range <code>0...size()-1</code>, sets a new
|
H A D | SparseLongArray.java | 141 public int size() { method in class:SparseLongArray 146 * Given an index in the range <code>0...size()-1</code>, returns 155 * Given an index in the range <code>0...size()-1</code>, returns
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | StatusBarIconList.java | 84 public StatusBarIconList[] newArray(int size) 86 return new StatusBarIconList[size]; 109 public int size() { method in class:StatusBarIconList
|
/frameworks/base/include/androidfw/ |
H A D | BackupHelpers.h | 33 int dataSize; // size of the data, not including the padding, -1 means delete 47 int size; member in struct:android::FileState 81 status_t WriteEntityData(const void* data, size_t size); 115 ssize_t ReadEntityData(void* data, size_t size);
|
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.h | 95 uint32_t size = 0; local 96 for (uint32_t i = 0; i < mCacheTextures.size(); i++) { 99 size += cacheTexture->getWidth() * cacheTexture->getHeight(); 102 return size;
|
H A D | TextureCache.cpp | 42 INIT_LOGD(" Setting texture cache size to %sMB", property); 45 INIT_LOGD(" Using default texture cache size of %.2fMB", DEFAULT_TEXTURE_CACHE_SIZE); 110 TEXTURE_LOGD("TextureCache::callback: name, removed size, mSize = %d, %d, %d", 113 ALOGD("Texture deleted, size = %d", texture->bitmapSize); 134 const uint32_t size = bitmap->rowBytes() * bitmap->height(); local 136 if (size < mMaxSize) { 137 while (mSize + size > mMaxSize) { 143 texture->bitmapSize = size; 146 if (size < mMaxSize) { 147 mSize += size; [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardCircleFramedDrawable.java | 52 public KeyguardCircleFramedDrawable(Bitmap bitmap, int size, argument 57 mSize = size;
|
/frameworks/base/services/java/com/android/server/ |
H A D | SystemBackupAgent.java | 125 public void onRestoreFile(ParcelFileDescriptor data, long size, argument 149 FullBackup.restoreFile(data, size, type, mode, mtime, outFile);
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | LayoutTestController.java | 67 public void setAppCacheMaximumSize(long size) { argument 68 Log.i(LOG_TAG, "setAppCacheMaximumSize() called with: " + size); 69 android.webkit.WebStorageClassic.getInstance().setAppCacheMaximumSize(size);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | DisplayListLayersActivity.java | 78 private int dipToPx(int size) { argument 79 return (int) (getResources().getDisplayMetrics().density * size + 0.5f);
|
/frameworks/base/tools/aapt/ |
H A D | ZipFile.h | 111 status_t add(const void* data, size_t size, const char* storageName, argument 114 return addCommon(NULL, data, size, storageName, 164 int getNumEntries(void) const { return mEntries.size(); } 224 status_t addCommon(const char* fileName, const void* data, size_t size, 232 const void* data, size_t size, unsigned long* pCRC32); 240 const void* data, size_t size, unsigned long* pCRC32);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | SparseWeakArray.java | 214 public int size() { method in class:SparseWeakArray 223 * Given an index in the range <code>0...size()-1</code>, returns 236 * Given an index in the range <code>0...size()-1</code>, returns 249 * Given an index in the range <code>0...size()-1</code>, sets a new
|
/frameworks/compile/linkloader/ |
H A D | main.cpp | 38 size_t &size); 42 size_t size); 44 void dump_and_run_file(unsigned char const *image, size_t size, 182 void dump_and_run_file(unsigned char const *image, size_t size, argument 184 if (size < EI_NIDENT) { 203 ArchiveReaderLE AR(image, size); 206 ArchiveReaderBE AR(image, size); 214 size_t &size) { 227 size = (size_t)sb.st_size; 238 mmap(0, size, PROT_REA 211 open_mmap_file(char const *filename, int &fd, unsigned char const *&image, size_t &size) argument 249 close_mmap_file(int fd, unsigned char const *image, size_t size) argument [all...] |
/frameworks/compile/linkloader/utils/ |
H A D | serialize.h | 69 ArchiveReader(unsigned char const *buf = NULL, size_t size = 0) 70 : buf_begin(buf), buf_end(buf + size), 74 void prologue(size_t size) { argument 79 void epilogue(size_t size) { argument 81 rsl_assert(cursor_base + size >= cursor); 82 cursor = cursor_base + size; 94 void readBytes(void *array, size_t size) { argument 95 if (!good || cursor + size > buf_end) { 98 memcpy(array, cursor, size); 102 template <size_t size> [all...] |
/frameworks/compile/mclinker/include/mcld/MC/ |
H A D | SymbolCategory.h | 129 size_t size() const function in class:mcld::SymbolCategory::Category
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFObjectReader.cpp | 118 pInput.fileOffset() + (*section)->offset(), (*section)->size()); 122 size_t size = region->size() / sizeof(llvm::ELF::Elf32_Word); local 124 for (size_t index = 1; index < size; ++index) 181 /* value, valsize, size*/ 182 FillFragment* frag = new FillFragment(0x0, 1, (*section)->size()); 184 uint64_t size = m_Linker.getLayout().appendFragment(*frag, local 187 output_bss.setSize(output_bss.size() + size); 230 pInput.fileOffset() + symtab_shdr->offset(), symtab_shdr->size()); [all...] |
/frameworks/compile/mclinker/lib/Target/ |
H A D | ELFDynamic.cpp | 59 size_t ELFDynamic::size() const function in class:ELFDynamic 61 return (m_NeedList.size() + m_EntryList.size()); 66 return size()*entrySize(); 71 return m_pEntryFactory->size(); 82 assert(m_Idx < m_EntryList.size()); 193 applyOne(llvm::ELF::DT_INIT_ARRAYSZ, pFormat.getInitArray().size()); 201 applyOne(llvm::ELF::DT_FINI_ARRAYSZ, pFormat.getFiniArray().size()); 214 applyOne(llvm::ELF::DT_STRSZ, pFormat.getDynStrTab().size()); // DT_STRSZ 226 applyOne(llvm::ELF::DT_PLTRELSZ, pFormat.getRelPlt().size()); // DT_PLTRELS [all...] |
/frameworks/ex/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseFragmentPagerAdapter.java | 47 /** The default size of {@link #mFragmentCache} */ 175 public FragmentCache(int size) { argument 176 super(size);
|
/frameworks/ex/variablespeed/jni/ |
H A D | ring_buffer.cc | 23 void RingBuffer::Init(int size, int num_channels, int num_readers) { argument 24 size_ = size;
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
H A D | learning_rate_controller-inl.h | 60 void SetMiniBatchSize(uint64 size) { argument 61 //CHECK_GT(size, 0); 62 mini_batch_size_ = size;
|
/frameworks/native/include/binder/ |
H A D | Parcel.h | 55 status_t setDataSize(size_t size); 57 status_t setDataCapacity(size_t size); 252 inline size_t size() const { return mSize; } function in class:android::Parcel::Blob 255 void init(bool mapped, void* data, size_t size); 281 size_t size(val.getSize()); 283 status_t err = writeInt32(size); 288 if (size) { 289 void* buffer = writeInplace(size); 298 size_t size; local 300 size [all...] |
/frameworks/native/include/utils/ |
H A D | String8.h | 58 inline size_t size() const; 116 char* lockBuffer(size_t size); 118 status_t unlockBuffer(size_t size); 256 inline size_t String8::size() const function in class:android::String8
|
/frameworks/native/libs/binder/ |
H A D | MemoryHeapBase.cpp | 49 MemoryHeapBase::MemoryHeapBase(size_t size, uint32_t flags, char const * name) argument 54 size = ((size + pagesize-1) & ~(pagesize-1)); 55 int fd = ashmem_create_region(name == NULL ? "MemoryHeapBase" : name, size); 58 if (mapfd(fd, size) == NO_ERROR) { 66 MemoryHeapBase::MemoryHeapBase(const char* device, size_t size, uint32_t flags) argument 78 size = ((size + pagesize-1) & ~(pagesize-1)); 79 if (mapfd(fd, size) == NO_ERROR) { 85 MemoryHeapBase::MemoryHeapBase(int fd, size_t size, uint32_ argument 91 mapfd(dup(fd), size, offset); local 94 init(int fd, void *base, int size, int flags, const char* device) argument 107 mapfd(int fd, size_t size, uint32_t offset) argument [all...] |