/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/ |
H A D | ImapResponse.java | 68 * @param index where {@code responseType} should appear. e.g. 1 for "FETCH" 71 public final boolean isDataResponse(int index, String responseType) { argument 72 return !isTagged() && getStringOrEmpty(index).is(responseType);
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
H A D | ImapResponse.java | 81 * @param index where {@code responseType} should appear. e.g. 1 for "FETCH" 84 public final boolean isDataResponse(int index, String responseType) { argument 85 return !isTagged() && getStringOrEmpty(index).is(responseType);
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | SingleImageList.java | 65 public boolean removeImageAt(int index) { argument
|
/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
H A D | MockImageList.java | 14 public void checkThumbnail(int index) { argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | ClusterAlbumSet.java | 46 public MediaSet getSubMediaSet(int index) { argument 47 return mAlbums.get(index); 134 public void consume(int index, MediaItem item) {
|
H A D | FilterTypeSet.java | 47 public MediaSet getSubMediaSet(int index) { argument 48 return mAlbums.get(index); 104 public void consume(int index, MediaItem item) { 106 if (index < 0 || index >= total) return; 108 buf[index] = path; 129 public void consume(int index, MediaItem item) {
|
H A D | PathMatcher.java | 60 public String getVar(int index) { argument 61 return mVariables.get(index); 64 public int getIntVar(int index) { argument 65 return Integer.parseInt(mVariables.get(index)); 68 public long getLongVar(int index) { argument 69 return Long.parseLong(mVariables.get(index));
|
H A D | SizeClustering.java | 59 public void consume(int index, MediaItem item) { 114 private String getSizeString(int index) { argument 115 long bytes = SIZE_LEVELS[index]; 129 public ArrayList<Path> getCluster(int index) { argument 130 return mClusters[index]; 134 public String getClusterName(int index) { argument 135 return mNames[index]; 138 public long getMinSize(int index) { argument 139 return mMinSizes[index];
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | FilterPointRepresentation.java | 58 public Object getCandidate(int index) { argument 59 return this.mCandidates.get(index);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/ |
H A D | MtpPagerAdapter.java | 53 public void setMtpDeviceIndex(MtpDeviceIndex index) { argument 54 mModel = index;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
H A D | MtpDeviceIndexRunnable.java | 19 * Runnable used by the {@link MtpDeviceIndex} to populate its index. 21 * Implementation note: this is the way the index supports a lot of its operations in 26 * Let's say the data we have in the index is the following: 30 * In this case, the lookup index array would be 36 * that correspond to indices in this lookup index array, allowing us to calculate the 46 public MtpDeviceIndexRunnable createMtpDeviceIndexRunnable(MtpDeviceIndex index) { argument 47 return new MtpDeviceIndexRunnable(index); 85 MtpDeviceIndexRunnable(MtpDeviceIndex index) { argument 86 mIndex = index; 87 mDevice = index [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | AllAppsList.java | 80 public ApplicationInfo get(int index) { argument 81 return data.get(index);
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
H A D | AlphabeticIndexCompat.java | 23 BaseIndex index = null; 27 index = new AlphabeticIndexVN(context); 30 Log.d(TAG, "Unable to load the system index", e); 32 if (index == null) { 34 index = new AlphabeticIndexV16(context); 36 Log.d(TAG, "Unable to load the system index", e); 40 mBaseIndex = index == null ? new BaseIndex() : index; 90 * Returns the index of the bucket in which the given string should appear. 96 int index 106 getBucketLabel(int index) argument 151 getBucketLabel(int index) argument 193 getBucketLabel(int index) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
H A D | StackFolderIconLayoutRule.java | 51 public PreviewItemDrawingParams computePreviewItemDrawingParams(int index, int curNumItems, argument 53 float scale = scaleForItem(index, curNumItems); 55 index = MAX_NUM_ITEMS_IN_PREVIEW - index - 1; 56 float r = (index * 1.0f) / (MAX_NUM_ITEMS_IN_PREVIEW - 1); 89 public float scaleForItem(int index, int numItems) { argument 91 index = MAX_NUM_ITEMS_IN_PREVIEW - index - 1; 92 float r = (index * 1.0f) / (MAX_NUM_ITEMS_IN_PREVIEW - 1);
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
H A D | WidgetsDiffReporter.java | 39 void notifyItemChanged(int index); argument 40 void notifyItemInserted(int index); argument 41 void notifyItemRemoved(int index); argument 78 int index = -1; 80 index = currentEntries.indexOf(orgRowEntry); 81 mListener.notifyItemRemoved(index); 83 Log.d(TAG, String.format("notifyItemRemoved called (%d)%s", index, 86 currentEntries.remove(index); 89 index = orgRowEntry != null? currentEntries.indexOf(orgRowEntry): 91 currentEntries.add(index, newRowEntr [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | BasicSettingPopup.java | 83 int index = mPreference.findIndexOfValue(mPreference.getValue()); 84 if (index != -1) { 85 ((AbsListView) mSettingList).setItemChecked(index, true); 98 int index, long id) { 99 mPreference.setValueIndex(index); 97 onItemClick(AdapterView<?> parent, View view, int index, long id) argument
|
H A D | InLineSettingItem.java | 66 protected boolean changeIndex(int index) { argument 67 if (index >= mPreference.getEntryValues().length || index < 0) return false; 68 mIndex = index;
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
H A D | PduBody.java | 92 * @param index index at which the specified part is to be inserted 96 public void addPart(int index, PduPart part) { argument 102 mParts.add(index, part); 108 * @param index index of the part to return 109 * @return part at the specified index 111 public PduPart removePart(int index) { argument 112 return mParts.remove(index); 125 * @param index inde 128 getPart(int index) argument [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/ |
H A D | ConversationListItemViewTest.java | 75 final ConversationListItemView view, final FakeCursor cursor, final int index) { 78 final String name = (String) cursor.getAt(conversationQueryColumnsName, index); 82 final String snippet = (String) cursor.getAt(conversationQueryColumnsSnippetText, index); 87 (Long) cursor.getAt(conversationQueryColumnsSortTimestamp, index)).toString(); 89 final boolean unread = !isRead(cursor, index); 133 protected boolean isRead(final FakeCursor cursor, final int index) { argument 134 return 1 == ((Integer) cursor.getAt("read", index)).intValue(); 74 verifyContent( final ConversationListItemView view, final FakeCursor cursor, final int index) argument
|
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/ |
H A D | AirplaneModeCondition.java | 92 public void onActionClick(int index) { argument 93 if (index == 0) { 97 throw new IllegalArgumentException("Unexpected index " + index);
|
H A D | CellularDataCondition.java | 87 public void onActionClick(int index) { argument 88 if (index == 0) { 94 throw new IllegalArgumentException("Unexpected index " + index);
|
H A D | HotspotCondition.java | 108 public void onActionClick(int index) { argument 109 if (index == 0) { 122 throw new IllegalArgumentException("Unexpected index " + index);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | RtlCompatibleViewPager.java | 37 * that is, the 0 index corresponds to the left-most page in LTR and the 77 * Get a "RTL friendly" index. If the locale is LTR, the index is returned as is. 78 * Otherwise it's transformed so view pager can render views using the new index for RTL. For 81 * @param index The logical index. 83 public int getRtlAwareIndex(int index) { argument 88 return getAdapter().getCount() - index - 1; 90 return index;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
H A D | ActionFragment.java | 45 public static ActionFragment newInstance(ArrayList<Action> actions, int index) { argument 47 fragment.setArguments(BaseActionFragment.buildArgs(actions, index)); 51 public static ActionFragment newInstance(ArrayList<Action> actions, String name, int index) { argument 53 fragment.setArguments(BaseActionFragment.buildArgs(actions, name, index));
|
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/ |
H A D | Tracker.java | 33 void setCustomDimension(int index, String value); argument 40 void setCustomMetric(int index, Long value); argument
|