Searched refs:size (Results 126 - 150 of 3680) sorted by relevance

1234567891011>>

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDisplay.java32 Point size = new Point();
33 activity.getWindowManager().getDefaultDisplay().getSize(size);
34 return size.x;
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DStroke.java43 mLength += mPoints.get(mPoints.size() - 1).dist(point);
49 return mPoints.size();
57 return mPoints.get(0).dist(mPoints.get(mPoints.size() - 1));
H A DHistoryEvaluator.java57 int size = list.size();
58 for (int i = 0; i < size; i++) {
84 int size = list.size();
85 for (int i = 0; i < size; i++) {
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
H A DUtils.java67 * @param size
70 public static int wrapIndex(int i, int size) { argument
71 int m = i % size;
73 m += size;
/frameworks/compile/mclinker/lib/ADT/
H A DStringEntry.cpp33 char* data = reinterpret_cast<char*>(malloc(pVal.size() + 1));
34 ::memcpy(data, pVal.data(), pVal.size());
35 m_Value = llvm::StringRef(data, pVal.size());
/frameworks/compile/mclinker/lib/LD/
H A DMergedStringTable.cpp23 offset += it->getKey().size() + 1;
32 ::memcpy(ptr, it->getKey().data(), it->getKey().size());
33 ptr += it->getKey().size() + 1;
/frameworks/compile/mclinker/lib/Script/
H A DOutputFormatCmd.cpp36 assert(m_FormatList.size() == 1 || m_FormatList.size() == 3);
37 for (size_t i = 0; i < m_FormatList.size(); ++i) {
H A DScriptReader.cpp46 size_t size = input.memArea()->size(); local
47 llvm::StringRef region = input.memArea()->request(input.fileOffset(), size);
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
H A DStaggeredGridDefaultTest.java36 8, mStaggeredGrid.mLocations.size());
40 9, mStaggeredGrid.mLocations.size());
52 9, mStaggeredGrid.mLocations.size());
/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp46 AString::AString(const char *s, size_t size) argument
50 setTo(s, size);
64 setTo(from, 0, from.size());
80 setTo(from, 0, from.size());
86 size_t AString::size() const { function in class:android::AString
102 void AString::setTo(const char *s, size_t size) { argument
104 append(s, size);
177 void AString::append(const char *s, size_t size) { argument
180 if (mSize + size + 1 > mAllocSize) {
181 mAllocSize = (mAllocSize + size
278 insert(const char *from, size_t size, size_t insertionPos) argument
356 size_t size = static_cast<size_t>(parcel.readInt32()); local
[all...]
/frameworks/av/media/libstagefright/include/
H A DHevcUtils.h79 status_t addNalUnit(const uint8_t* data, size_t size);
86 inline size_t getNumNalUnits() { return mNalUnits.size(); }
91 bool write(size_t index, uint8_t* dest, size_t size);
97 status_t parseVps(const uint8_t* data, size_t size);
98 status_t parseSps(const uint8_t* data, size_t size);
99 status_t parsePps(const uint8_t* data, size_t size);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegProcessor.cpp93 // Find out buffer size for JPEG
96 ALOGE("%s: Camera %d: Jpeg buffer size (%zu) is invalid ",
112 // Since ashmem heaps are rounded up to page size, don't reallocate if
113 // the capture heap isn't exactly the same size as the required JPEG buffer
275 // Find size of JPEG image
277 if (jpegSize == 0) { // failed to find size, default to whole buffer
363 // Return the size of the JPEG, 0 indicates failure
365 size_t size; local
371 size = blob->jpeg_size;
372 if (size >
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconList.java33 if (mIcons.size() < mSlots.size()) {
40 final int N = mSlots.size();
52 public int size() { method in class:StatusBarIconList
53 return mSlots.size();
83 final int N = mSlots.size();
/frameworks/base/tools/aapt2/flatten/
H A DChunkWriter.h44 mStartSize = mBuffer->size();
65 inline size_t size() { function in class:aapt::ChunkWriter
66 return mBuffer->size() - mStartSize;
71 mHeader->size = util::hostToDevice32(mBuffer->size() - mStartSize);
78 mStartSize = mBuffer->size();
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DAbstractCache.java42 if (mCacheMap.size() >= MAX_CACHED_ITEMS) {
46 Log.v(TAG, "Failed! size limitation reached.");
57 Log.v(TAG, key + " cached, " + mCacheMap.size() + " items total.");
90 Log.v(TAG, mCacheMap.size() + " items cached.");
98 Log.v(TAG, "Purging cache, " + mCacheMap.size()
104 public int size() { method in class:AbstractCache
105 return mCacheMap.size();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DArrayObjectAdapter.java50 public int size() { method in class:ArrayObjectAdapter
51 return mItems.size();
88 add(mItems.size(), item);
93 * If the index is >= {@link #size} an exception will be thrown.
105 * given index. If the index is >= {@link #size} an exception will be thrown.
111 int itemsCount = items.size();
155 int itemsToRemove = Math.min(count, mItems.size() - position);
171 int itemCount = mItems.size();
/frameworks/av/camera/camera2/
H A DCaptureRequest.cpp48 int32_t size; local
49 if ((err = parcel->readInt32(&size)) != OK) {
50 ALOGE("%s: Failed to read surface list size from parcel", __FUNCTION__);
53 ALOGV("%s: Read surface list size = %d", __FUNCTION__, size);
56 for (int i = 0; i < size; ++i) {
108 int32_t size = static_cast<int32_t>(mSurfaceList.size()); local
111 parcel->writeInt32(size);
113 for (int32_t i = 0; i < size;
[all...]
/frameworks/av/include/media/stagefright/
H A DDataURISource.h32 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
33 virtual status_t getSize(off64_t *size);
/frameworks/av/media/libstagefright/httplive/
H A DHTTPDownloader.cpp71 * | `url` file |<--------- buffer size --------->|<--- `block_size` -->| | |
83 uint32_t block_size, /* download block size */
90 off64_t size; local
126 status_t getSizeErr = mDataSource->getSize(&size);
133 size = 65536;
136 sp<ABuffer> buffer = *out != NULL ? *out : new ABuffer(size);
143 if (block_size > 0 && (range_length == -1 || (int64_t)(buffer->size() + block_size) < range_length)) {
144 range_length = buffer->size() + block_size;
147 // Only resize when we don't know the size.
148 size_t bufferRemaining = buffer->capacity() - buffer->size();
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DParameters.h25 static sp<Parameters> Parse(const char *data, size_t size);
36 status_t parse(const char *data, size_t size);
/frameworks/base/core/java/android/bluetooth/
H A DOobData.java69 public OobData[] newArray(int size) {
70 return new OobData[size];
/frameworks/base/core/java/android/os/
H A DBatteryProperty.java69 public BatteryProperty[] newArray(int size) {
70 return new BatteryProperty[size];
/frameworks/base/core/java/com/android/internal/content/
H A DReferrerIntent.java47 public ReferrerIntent[] newArray(int size) {
48 return new ReferrerIntent[size];
/frameworks/base/core/java/com/android/internal/util/
H A DParcelableString.java48 public ParcelableString[] newArray(int size) {
49 return new ParcelableString[size];
/frameworks/base/libs/androidfw/tests/
H A DTypeWrappers_test.cpp35 t.header.size = t.entriesStart;
40 e1.size = sizeof(e1);
42 t.header.size += sizeof(e1);
46 t.header.size += sizeof(v1);
53 e2.size = sizeof(e2);
55 t.header.size += sizeof(e2);
59 t.header.size += sizeof(v2);
61 uint8_t* data = (uint8_t*)malloc(t.header.size);

Completed in 3429 milliseconds

1234567891011>>