/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | AspectRatio.java | 55 public static AspectRatio of(Size size) { argument 56 return of(size.width(), size.height());
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | JoinContactsDialogFragment.java | 65 if (contactIds.size() <= 1) { 88 final Long[] contactIdsArray = contactIds.toArray(new Long[contactIds.size()]); 90 for (int i = 0; i < contactIds.size(); i++) {
|
H A D | SmsInteractionsLoader.java | 106 if (threadIds.size() == 0) { 110 + ContactInteractionUtil.questionMarks(threadIds.size()); 116 threadIds.toArray(new String[threadIds.size()]),
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
H A D | SelectAccountActivity.java | 62 if (accountList.size() == 0) { 66 } else if (accountList.size() == 1) { 77 Log.i(LOG_TAG, "The number of available accounts: " + accountList.size());
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/history/ |
H A D | HistoryManager.java | 41 return mHistoryItems.size(); 45 if (position > mHistoryItems.size() - 1) { 142 for (int i = 0; i < oldItems.size(); i++) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
H A D | ImportTask.java | 77 int total = mObjectsToImport.size(); 106 private static boolean hasSpaceForSize(long size) { argument 115 return stat.getAvailableBlocks() * (long) stat.getBlockSize() > size;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | DeferredHandler.java | 44 if (mQueue.size() == 0) { 84 if (mQueue.size() == 1) { 135 if (mQueue.size() > 0) {
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | IconListPreference.java | 101 if (mIconIds != null) mIconIds = iconIds.toArray(new int[iconIds.size()]); 103 mLargeIconIds = largeIconIds.toArray(new int[largeIconIds.size()]); 105 if (mImageIds != null) mImageIds = imageIds.toArray(new int[imageIds.size()]);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
H A D | AvatarGroupRequestDescriptor.java | 40 Assert.isTrue(descriptors.size() <= MAX_GROUP_SIZE); 47 new ArrayList<AvatarRequestDescriptor>(participantUriStrings.size()); 69 * the size of the group and the size of the overall group avatar size. 72 final int groupSize = mDescriptors.size();
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
H A D | HandoverClient.java | 127 int size = sock.receive(partial); 128 if (size < 0) { 131 byteStream.write(partial, 0, size);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | ZenModeScheduleDaysSelection.java | 84 final SparseBooleanArray rt = new SparseBooleanArray(mDays.size()); 85 for (int i = 0; i < mDays.size(); i++) { 90 final int[] rta = new int[rt.size()];
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
H A D | AndFileFilter.java | 119 if (this.fileFilters.size() == 0) { 136 if (this.fileFilters.size() == 0) { 159 for (int i = 0; i < fileFilters.size(); i++) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | SuggestionSpanUtils.java | 82 for (int i = 0; i < suggestedWords.size(); ++i) { 83 if (suggestionsList.size() >= SuggestionSpan.SUGGESTIONS_MAX_SIZE) { 96 suggestionsList.toArray(new String[suggestionsList.size()]), 0 /* flags */, null);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
H A D | WordComposerTests.java | 45 assertEquals(wc.size(), STR_WITHIN_BMP.codePointCount(0, STR_WITHIN_BMP.length())); 55 assertEquals(wc.size(), 6); 75 assertEquals(wc.size(), CODEPOINTS_WITH_SUPPLEMENTARY_CHAR.length);
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
H A D | CircleBitmapDrawable.java | 115 * @param size The target size of the bitmap in pixels. 118 public Bitmap toBitmap(int size) { argument 119 Bitmap largeIcon = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | CallAudioManager.java | 100 for (int i = 0; i < mCallStateToCalls.size(); i++) { 160 for (int i = 0; i < mCallStateToCalls.size(); i++) { 499 if (mActiveDialingOrConnectingCalls.size() == 0) { 507 if (mRingingCalls.size() == 0) { 515 if (mHoldingCalls.size() == 0) { 523 if (mActiveDialingOrConnectingCalls.size() == 1) { 531 if (mRingingCalls.size() == 1) { 539 if (mHoldingCalls.size() == 1) { 548 if (mActiveDialingOrConnectingCalls.size() > 0) { 558 } else if (mRingingCalls.size() > [all...] |
/packages/services/Car/vehicle_network_service/ |
H A D | VehicleNetworkService.cpp | 105 if (nonFreeList->size() > 0) { 111 } else if (freeList->size() > 0) { 117 EVENT_LOG("doHandleHalEvent, num events:%d", events->size()); 132 if (mHalErrors.size() > 0) { 167 for (size_t i = 0; i < mCache.size(); i++) { 217 write(fd, msg.string(), msg.size()); 233 for (size_t i = 0; i < mBinderToClientMap.size(); i++) { 238 for (size_t i = 0; i < mPropertyToClientsMap.size(); i++) { 241 for (size_t j = 0; j < clients->size(); j++) { 247 for (size_t i = 0; i < mSubscriptionInfos.size(); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapConvoListing.java | 63 return mList.size(); 125 count = Math.min(count, mList.size() - offset); 132 if(offset > mList.size()) { 134 Log.d(TAG, "offset greater than list size. Returning empty list"); 136 mList = mList.subList(offset, mList.size());
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | EventInfoActivity.java | 96 int size = pathSegments.size(); 97 if (size > 2 && "EventTime".equals(pathSegments.get(2))) { 101 if (size > 4) {
|
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
H A D | AndroidTotalCaptureResultProxy.java | 60 ArrayList<CaptureResultProxy> proxies = new ArrayList<>(partialResults.size());
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
H A D | ResolveCache.java | 140 final int size = matches.size(); 141 if (size == 1) { 143 } else if (size > 1) {
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/ |
H A D | AccountWithDataSetTest.java | 67 assertEquals(0, stringifyListAndUnstringify().size()); 71 assertEquals(1, listA.size()); 76 assertEquals(2, listB.size()); 82 assertEquals(3, listC.size());
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
H A D | CityDAO.java | 65 final int size = prefs.getInt(NUMBER_OF_CITIES, 0); 66 final List<City> selectedCities = new ArrayList<>(size); 68 for (int i = 0; i < size; i++) { 85 editor.putInt(NUMBER_OF_CITIES, cities.size());
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | IntArray.java | 39 public int size() { method in class:IntArray
|
H A D | Profile.java | 88 for (int i = 0; i < mList.size(); i++) { 104 if (mList.size() == 0) return; 140 for (int i = 0; i < mList.size(); i++) { 170 for (int i = 0; i < stacks.size(); i++) {
|