Searched refs:size (Results 276 - 300 of 4682) sorted by relevance

<<11121314151617181920>>

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DSimpleCache.java36 return super.size() > mMaxEntries;
/frameworks/base/tools/aapt2/unflatten/
H A DResChunkPullParser.cpp34 return StringPrintf("(type=%02" PRIx16 " header_size=%" PRIu16 " size=%" PRIu32 ")",
36 util::DeviceToHost32(header->size));
49 util::DeviceToHost32(current_chunk_->size));
69 } else if (util::DeviceToHost32(current_chunk_->size) <
71 error_ = "chunk's total size is smaller than header " + ChunkHeaderDump(current_chunk_);
74 } else if (offset + util::DeviceToHost32(current_chunk_->size) > len_) {
/frameworks/base/tools/incident_report/
H A Dprinter.h40 int reallocate(int size);
/frameworks/base/tools/streaming_proto/
H A Dstring_utils.cpp14 const int N = str.size();
43 const int N = str.size();
74 end = str.size();
83 const int N = result.size();
/frameworks/compile/mclinker/include/mcld/Fragment/
H A DNullFragment.h26 /// size -
27 size_t size() const { return 0x0; } function in class:mcld::NullFragment
/frameworks/compile/mclinker/unittests/
H A DStringTableTest.cpp41 int size = 127 - 32; local
48 ASSERT_EQ(m_pTestee->size(), size);
71 ASSERT_EQ(m_pTestee->size(), 1);
/frameworks/hardware/interfaces/sensorservice/1.0/
H A DISensorManager.hal63 * 0x0000 int32_t size (SensorsEventFormatOffset::TOTAL_LENGTH)
73 * @param size the intended size to be used. The following must be true:
74 * SensorsEventFormatOffset::TOTAL_LENGTH <= size <= mem.size
78 * BAD_VALUE if size > mem.size();
79 * BAD_VALUE if size < TOTAL_LENGTH;
84 createAshmemDirectChannel(memory mem, uint64_t size)
94 * @param size th
[all...]
/frameworks/native/libs/vr/libperformance/include/dvr/
H A Dperformance_client_api.h50 /// @param size Size of the string buffer in bytes, including space for the NULL
53 int dvrGetCpuPartition(pid_t task_id, char* partition, size_t size);
/frameworks/rs/
H A DrsDevice.cpp35 for (size_t idx=0; idx < mContexts.size(); idx++) {
/frameworks/support/compat/java/android/support/v4/os/
H A DParcelableCompatCreatorCallbacks.java45 * @param size Size of the array.
49 T[] newArray(int size); argument
/frameworks/support/compat/java/android/support/v4/util/
H A DContainerHelpers.java45 static int binarySearch(int[] array, int size, int value) { argument
47 int hi = size - 1;
64 static int binarySearch(long[] array, int size, long value) { argument
66 int hi = size - 1;
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DSpace.java58 * If mode is AT_MOST, return the child size instead of the parent size
61 private static int getDefaultSize2(int size, int measureSpec) { argument
62 int result = size;
68 result = size;
71 result = Math.min(size, specSize);
/frameworks/wilhelm/src/android/include/
H A DAacBqToPcmCbRenderer.h44 static SLresult validateBufferStartEndOnFrameBoundaries(void* data, size_t size);
/frameworks/av/media/libstagefright/
H A DUtils.cpp84 if (((*buffer)->size() + 4 + length) > ((*buffer)->capacity() - (*buffer)->offset())) {
85 sp<ABuffer> tmpBuffer = new (std::nothrow) ABuffer((*buffer)->size() + 4 + length + 1024);
89 memcpy(tmpBuffer->data(), (*buffer)->data(), (*buffer)->size());
90 tmpBuffer->setRange(0, (*buffer)->size());
94 memcpy((*buffer)->data() + (*buffer)->size(), "\x00\x00\x00\x01", 4);
95 memcpy((*buffer)->data() + (*buffer)->size() + 4, ptr, length);
96 (*buffer)->setRange((*buffer)->offset(), (*buffer)->size() + 4 + length);
168 if (csd->size() < 2) {
198 static void parseAvcProfileLevelFromAvcc(const uint8_t *ptr, size_t size, sp<AMessage> &format) { argument
199 if (size <
251 parseH263ProfileLevelFromD263(const uint8_t *ptr, size_t size, sp<AMessage> &format) argument
293 parseHevcProfileLevelFromHvcc(const uint8_t *ptr, size_t size, sp<AMessage> &format) argument
360 parseMpeg2ProfileLevelFromHeader( const uint8_t *data, size_t size, sp<AMessage> &format) argument
615 size_t size; local
715 size_t size; local
1123 int size = i - lastparamoffset; local
1155 int size = i - lastparamoffset; local
1236 size_t size = hvccSize; local
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DABitReader.cpp23 ABitReader::ABitReader(const uint8_t *data, size_t size) argument
25 mSize(size),
135 NALBitReader::NALBitReader(const uint8_t *data, size_t size) argument
136 : ABitReader(data, size),
141 // check against raw size and reservoir bits first
149 size_t size = mSize; local
152 while (size > 0 && numBitsRemaining > 0) {
166 --size;
/frameworks/base/core/java/android/bluetooth/le/
H A DBluetoothLeUtils.java42 if (array.size() == 0) {
47 for (int i = 0; i < array.size(); ++i) {
89 if (array.size() != otherArray.size()) {
94 for (int i = 0; i < array.size(); ++i) {
113 if (map.size() != otherMap.size()) {
/frameworks/base/libs/hwui/thread/
H A DTaskManager.cpp47 for (size_t i = 0; i < mThreads.size(); i++) {
53 return mThreads.size() > 0;
57 for (size_t i = 0; i < mThreads.size(); i++) {
63 if (mThreads.size() > 0) {
69 for (size_t i = 0; i < mThreads.size(); i++) {
98 for (size_t i = 0; i < tasks.size(); i++) {
124 return mTasks.size();
/frameworks/native/libs/binder/
H A DIPermissionController.cpp62 const int32_t size = reply.readInt32(); local
63 if (size <= 0) {
66 for (int i = 0; i < size; i++) {
108 size_t size = packages.size(); local
109 reply->writeInt32(size);
110 for (size_t i = 0; i < size; i++) {
/frameworks/native/libs/vr/libperformance/
H A Dperformance_client.cpp74 std::size_t size) {
81 auto wrapper = WrapString(partition_out, size);
87 if (wrapper.size() < size)
88 partition_out[wrapper.size()] = '\0';
113 extern "C" int dvrGetCpuPartition(pid_t task_id, char* partition, size_t size) { argument
116 return client->GetCpuPartition(task_id, partition, size);
73 GetCpuPartition(pid_t task_id, char* partition_out, std::size_t size) argument
/frameworks/rs/tests/lldb/cpp/KernelVariables/
H A DKernelVariables.cpp23 static const int size = 64; local
30 tb.setX(size);
31 tb.setY(size);
81 uint32_t * output = new uint32_t[size*size];
82 b->copy2DRangeTo(0, 0, size, size, output);
/frameworks/rs/tests/lldb/jni/KernelVariables/jnikernelvariables/
H A Djnikernelvariables.cpp30 static const int size = 64; local
39 tb.setX(size);
40 tb.setY(size);
90 uint32_t * output = new uint32_t[size*size];
91 b->copy2DRangeTo(0, 0, size, size, output);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DVolumeCurve.cpp29 size_t nbCurvePoints = mCurvePoints.size();
71 for (size_t i = 0; i < mCurvePoints.size(); i++) {
75 result.append(i == (mCurvePoints.size() - 1) ? " }\n" : ", ");
77 write(fd, result.string(), result.size());
90 for (size_t i = 0; i < mIndexCur.size(); i++) {
95 write(fd, result.string(), result.size());
99 for (size_t i = 0; i < size(); i++) {
108 write(fd, result.string(), result.size());
121 for (size_t i = 0; i < size(); i++) {
128 for (size_t i = 0; i < size();
[all...]
/frameworks/base/core/java/android/animation/
H A DAnimationHandler.java55 if (mAnimationCallbacks.size() > 0) {
94 if (mAnimationCallbacks.size() == 0) {
139 final int size = mAnimationCallbacks.size();
140 for (int i = 0; i < size; i++) {
206 for (int i = mAnimationCallbacks.size() - 1; i >= 0; i--) {
219 for (int i = mAnimationCallbacks.size() - 1; i >= 0; i--) {
230 int size = mAnimationCallbacks.size();
231 for (int i = size
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DImageGradientColorizer.java40 int size = Math.min(width, height);
41 int widthInset = (width - size) / 2;
42 int heightInset = (height - size) / 2;
45 Bitmap newBitmap = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888);
74 LinearGradient linearGradient = new LinearGradient(0, 0, size, 0,
78 Bitmap fadeIn = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888);
85 fadeInCanvas.translate(size, 0);
96 linearGradient = new LinearGradient(0, 0, size,
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DBranchIsland.cpp60 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...]

Completed in 3878 milliseconds

<<11121314151617181920>>