/frameworks/base/core/tests/coretests/src/android/text/ |
PackedIntVectorTest.java | 42 at = p.size() - i; 55 assertEquals(p.size(), i + 1); 128 while (p.size() > 0) { 129 int osize = p.size(); 139 assertEquals(p.size(), osize - del); 147 for (int i = at; i < p.size(); i++) { 149 assertEquals(p.getValue(i, j), (i + height - p.size()) * j); 154 assertEquals(0, p.size());
|
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
InputMethodSubtypeArrayTest.java | 35 assertEquals(subtypes.size(), array.getCount()); 41 assertEquals(subtypes.size(), clonedArray.getCount());
|
/frameworks/base/libs/hwui/ |
TextureCache.cpp | 54 // Size management 73 TEXTURE_LOGD("TextureCache::callback: name, removed size, mSize = %d, %d, %d", 76 ALOGD("Texture deleted, size = %d", texture->bitmapSize); 126 const uint32_t size = bitmap->rowBytes() * bitmap->height(); local 127 bool canCache = size < mMaxSize; 129 while (canCache && mSize + size > mMaxSize) { 140 texture->bitmapSize = size; 144 mSize += size; 145 TEXTURE_LOGD("TextureCache::get: create texture(%p): name, size, mSize = %d, %d, %d", 146 bitmap, texture->id, size, mSize) 182 const uint32_t size = bitmap->rowBytes() * bitmap->height(); local [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
NativeBuffer.java | 59 public int size() { method in class:NativeBuffer 126 private native boolean allocate(int size);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
AssertHelpers.java | 45 int size = data.length; local 48 for (i = 0; i < size; ++i) { 54 assertTrue(message, i < size);
|
/frameworks/base/obex/javax/obex/ |
PrivateOutputStream.java | 69 public int size() { method in class:PrivateOutputStream 70 return mArray.size(); 86 if (mArray.size() == mMaxPacketSize) { 110 while ((mArray.size() + remainLength) >= mMaxPacketSize) { 111 int bufferLeft = mMaxPacketSize - mArray.size(); 124 * @param size the size of the array to return 127 public synchronized byte[] readBytes(int size) { 128 if (mArray.size() > 0) { 131 byte[] result = new byte[size]; [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
SectionedListAdapter.java | 56 final int size = mSections.size(); local 57 for (int i = 0; i < size; i++) { 65 final int size = mSections.size(); local 66 for (int i = 0; i < size; i++) { 90 final int size = mSections.size(); local 91 for (int i = 0; i < size; i++) { 115 final int size = mSections.size() local 136 final int size = mSections.size(); local 158 final int size = mSections.size(); local [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
DocumentStack.java | 43 if (size() == 1 && root != null) { 45 } else if (size() > 1) { 53 return size() == 0; 112 final int size = in.readInt(); local 113 for (int i = 0; i < size; i++) { 133 final int size = size(); local 134 out.writeInt(size); 135 for (int i = 0; i < size; i++) { 160 public DocumentStack[] newArray(int size) { [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
RestrictedLockImageSpan.java | 66 int size = super.getSize(paint, text, start, end, fontMetrics); local 67 size += 2 * mExtraPadding; 68 return size;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
AnimationFilter.java | 97 int size = events.size(); local 98 for (int i = 0; i < size; i++) {
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CellNetworkScanResult.java | 90 if (mOperators != null && mOperators.size() > 0) { 91 out.writeInt(mOperators.size()); 122 public CellNetworkScanResult[] newArray(int size) { 123 return new CellNetworkScanResult[size];
|
/frameworks/base/tools/aapt2/ |
StringPool.h | 175 inline size_t size() const; 209 inline size_t StringPool::size() const { function in class:aapt::StringPool 210 return mStrings.size();
|
/frameworks/base/tools/aapt2/util/ |
StringPiece.h | 56 size_t size() const; 153 inline size_t BasicStringPiece<TChar>::size() const { function in class:aapt::BasicStringPiece 196 android::String8 utf8(str.data(), str.size()); 197 return out.write(utf8.string(), utf8.size()); 250 return out.write(str.data(), str.size()); 256 android::String8 utf8(str.data(), str.size()); 257 return out.write(utf8.string(), utf8.size());
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/io/ |
MemoryMappedFile_Delegate.java | 69 long size = file.length(); local 72 MemoryMappedFile mmFile = new MemoryMappedFile(filePointer, size); 103 // It's weird that map() takes size as long, but returns MappedByteBuffer which uses an int
|
/frameworks/base/tools/preload/ |
LoadedClass.java | 85 int size = operations.size(); local 86 if (size == 0) { 90 int[] times = new int[size]; 91 for (int i = 0; i < size; i++) { 96 int middle = size / 2; 97 if (size % 2 == 1) {
|
Operation.java | 128 if (subops.size() > 0) { 130 sb.append(subops.size());
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiConnectionStatistics.java | 121 dest.writeInt(untrustedNetworkHistory.size()); 153 public WifiConnectionStatistics[] newArray(int size) { 154 return new WifiConnectionStatistics[size];
|
/frameworks/compile/mclinker/include/mcld/LD/ |
EhFrameReader.h | 51 uint64_t size; member in struct:mcld::EhFrameReader::Token
|
LDSymbol.h | 106 SizeType size() const { return m_pResolveInfo->size(); } function in class:mcld::LDSymbol
|
RelocData.h | 69 size_t size() const { return m_Relocations.size(); } function in class:mcld::RelocData
|
SectionData.h | 60 size_t size() const { return m_Fragments.size(); } function in class:mcld::SectionData
|
/frameworks/compile/mclinker/include/mcld/Target/ |
ELFDynamic.h | 38 virtual size_t size() const = 0; 64 size_t size() const { return sizeof(Pair); } function in class:mcld::elf_dynamic::Entry 95 size_t size() const { return sizeof(Pair); } function in class:mcld::elf_dynamic::Entry 130 size_t size() const;
|
PLT.h | 50 template <size_t SIZE, typename EntryBase = PLTEntryBase> 53 enum { EntrySize = SIZE }; 60 size_t size() const { return EntrySize; } function in class:mcld::PLT::Entry 68 // finalizeSectionSize - set LDSection size
|
/frameworks/compile/mclinker/lib/Fragment/ |
Relocation.cpp | 138 Relocation::Size Relocation::size(Relocator& pRelocator) const { function in class:mcld::Relocation
|
/frameworks/compile/mclinker/lib/LD/ |
BranchIsland.cpp | 60 return m_Entry.getOffset() + m_Entry.size(); 63 size_t BranchIsland::size() const { function in class:mcld::BranchIsland 64 size_t size = 0x0; local 66 size = m_pRear->getOffset() + m_pRear->size() - 69 return size; 115 align_frag->getPrevNode()->size()); 121 pStub.getPrevNode()->size()); 141 align_frag->getPrevNode()->size()); 147 pStub.getPrevNode()->size()); [all...] |