/frameworks/base/core/java/android/view/inputmethod/ |
H A D | EditorInfo.java | 375 public EditorInfo[] newArray(int size) { 376 return new EditorInfo[size];
|
/frameworks/base/core/java/android/view/textservice/ |
H A D | SpellCheckerSubtype.java | 165 public SpellCheckerSubtype[] newArray(int size) { 166 return new SpellCheckerSubtype[size];
|
/frameworks/base/core/java/android/widget/ |
H A D | AdapterViewAnimator.java | 136 * The width and height of some child, used as a size reference in-case our 343 int modulo(int pos, int size) { argument 344 if (size > 0) { 345 return (size + (pos % size)) % size; 453 for (int i = 0; i < mPreviousViews.size(); i++) { 567 // to decide our own size. TODO: Do we want to update the size of the child that we're 568 // using for reference size [all...] |
H A D | SimpleExpandableListAdapter.java | 255 return mChildData.get(groupPosition).size(); 263 return mGroupData.size();
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DrawableHolder.java | 80 if (DBG) Log.v(TAG, "animationCount = " + mAnimators.size()); 148 for (int i = 0; i < mNeedToStart.size(); i++) {
|
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteDebug.cpp | 101 unsigned start = 0, size = 0, resident = 0; local 128 if (sscanf(line, "Size: %d kB", &size) != 1) return 0;
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
H A D | WifiConnectionTest.java | 114 log("number of access points: " + networks.size()); 165 for (int i = 0; i < networks.size(); i++) {
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | BandwidthTestUtil.java | 76 * @param size in bytes of the file to download 81 public static String buildDownloadUrl(String server, int size, String deviceId, argument 83 String downloadUrl = server + "/download?size=" + size + "&device_id=" + deviceId +
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 294 * @param size The size of the data to generate 299 protected byte[] generateData(int size, DataType type) { argument 300 return generateData(size, type, null); 306 * @param size The size of the data to generate 312 protected byte[] generateData(int size, DataType type, Random rng) { argument 321 byte[] result = new byte[size]; 322 Log.i(LOG_TAG, "Generating data of size: " + size); 340 verifyFileSize(ParcelFileDescriptor pfd, long size) argument [all...] |
H A D | DownloadManagerStressTest.java | 80 int size = r.nextInt(MAX_FILE_SIZE); 81 byte[] blobData = generateData(size, DataType.TEXT); 121 long fileSize = 50000000L; // note: kept relatively small to not exceed /cache dir size 122 Log.i(TAG, "creating a file of size: " + fileSize); 124 Log.i(TAG, "DONE creating a file of size: " + fileSize); 165 // fill cache to ensure we don't have enough space - take half the size of the 166 // download size, and leave that much freespace left on the cache partition
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | LruCacheTest.java | 205 assertEquals(0, cache.size()); 207 assertEquals(3, cache.size()); 209 assertEquals(8, cache.size()); 211 assertEquals(6, cache.size()); 253 // get the cache size out of sync 255 assertEquals(4, cache.size()); 308 assertEquals(0, cache.size()); 334 assertEquals(4, cache.size()); 342 assertEquals(2, cache.size());
|
/frameworks/base/drm/libdrmframework/include/ |
H A D | PlugInManager.h | 83 for (unsigned int i = 0; i < plugInFileList.size(); ++i) { 94 for (unsigned int i = 0; i < m_plugInIdList.size(); ++i) {
|
/frameworks/base/include/media/ |
H A D | AudioRecord.h | 72 size_t size; member in class:android::AudioRecord::Buffer 95 * more bytes than indicated by 'size' field and update 'size' if less bytes are 134 * frameCount: Total size of track PCM buffer in frames. This defines the 198 * This includes the latency due to AudioRecord buffer size 321 ssize_t read(void* buffer, size_t size);
|
/frameworks/base/include/media/stagefright/ |
H A D | MPEG4Writer.h | 52 void write(const void *data, size_t size); 171 inline size_t write(const void *ptr, size_t size, size_t nmemb);
|
/frameworks/base/include/ui/ |
H A D | GraphicBuffer.h | 142 status_t flatten(void* buffer, size_t size, 144 status_t unflatten(void const* buffer, size_t size,
|
/frameworks/base/libs/rs/ |
H A D | rsProgramStore.cpp | 45 for (uint32_t ct = 0; ct < mRSC->mStateFragmentStore.mStorePrograms.size(); ct++) { 94 for (uint32_t ct = 0; ct < rsc->mStateFragmentStore.mStorePrograms.size(); ct++) {
|
H A D | rsSampler.cpp | 52 for (uint32_t ct = 0; ct < mRSC->mStateSampler.mAllSamplers.size(); ct++) { 87 for (uint32_t ct = 0; ct < rsc->mStateSampler.mAllSamplers.size(); ct++) {
|
/frameworks/base/libs/utils/ |
H A D | Looper.cpp | 179 while (mResponseIndex < mResponses.size()) { 253 size_t requestedCount = mRequestedFds.size(); 369 while (mMessageEnvelopes.size() != 0) { 405 for (size_t i = 0; i < mResponses.size(); i++) { 637 size_t requestCount = mRequestedFds.size(); 686 size_t messageCount = mMessageEnvelopes.size(); 717 for (size_t i = mMessageEnvelopes.size(); i != 0; ) { 734 for (size_t i = mMessageEnvelopes.size(); i != 0; ) {
|
/frameworks/base/location/java/android/location/ |
H A D | Criteria.java | 343 public Criteria[] newArray(int size) { 344 return new Criteria[size];
|
/frameworks/base/media/java/android/media/ |
H A D | MediaMetadataRetriever.java | 74 String[] keys = new String[headers.size()]; 75 String[] values = new String[headers.size()];
|
/frameworks/base/media/libstagefright/ |
H A D | VBRISeeker.cpp | 147 int64_t segmentDurationUs = mDurationUs / mSegments.size(); 152 while (segmentIndex < mSegments.size() && nowUs < *timeUs) {
|
/frameworks/base/media/libstagefright/codecs/avc/enc/ |
H A D | AVCEncoder.cpp | 141 void *userData, int32_t size, int32_t attrs) { 142 return reinterpret_cast<int32_t>(malloc(size)); 229 LOGE("Video frame size %dx%d must be a multiple of 16", 400 for (size_t i = 0; i < mOutputBuffers.size(); ++i) { 422 uint32_t dataLength = outputBuffer->size(); 449 dataLength = outputBuffer->size() - 485 if (mInputBuffer->size() - ((mVideoWidth * mVideoHeight * 3) >> 1) != 0) { 556 dataLength = outputBuffer->size(); // Reset the output buffer length 606 CHECK(index < (int32_t) mOutputBuffers.size()); 140 MallocWrapper( void *userData, int32_t size, int32_t attrs) argument
|
/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
H A D | avcenc_api.h | 117 uint run_length_minus1[MAX_NUM_SLICE_GROUP]; /* array of size num_slice_group, in round robin fasion */ 125 uint *slice_group; /* array of size MBWidth*MBHeight */ 201 Since the output buffer size is not known prior to encoding a frame, users need to 203 the size of the output buffer to be allocated by the users that guarantees to hold one frame. 206 copied out in small chunks, i.e. users can allocate any size of output buffer. 208 \param "size" "Pointer to the size to be modified." 212 OSCL_IMPORT_REF AVCEnc_Status PVAVCEncGetMaxOutputBufferSize(AVCHandle *avcHandle, int* size); 241 \param "buf_nal_size" "As input, the size of the buffer in bytes. 242 This is the physical limitation of the buffer. As output, the size o [all...] |
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | EvaluationTestBench.c | 82 /* check size of the input file -> length of the stream in bytes */ 140 /* picture size in pixels */ 301 void* H264SwDecMalloc(u32 size) argument 303 return malloc(size);
|
/frameworks/base/media/libstagefright/timedtext/ |
H A D | TimedTextParser.cpp | 205 int64_t lastEndTimeUs = mTextVector.valueAt(mTextVector.size() - 1).endTimeUs; 215 ssize_t high = mTextVector.size() - 1;
|