Searched defs:index (Results 51 - 75 of 355) sorted by relevance

1234567891011>>

/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
H A DImapResponse.java68 * @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 DImapResponse.java81 * @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 DSingleImageList.java65 public boolean removeImageAt(int index) { argument
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
H A DMockImageList.java14 public void checkThumbnail(int index) { argument
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DClusterAlbumSet.java46 public MediaSet getSubMediaSet(int index) { argument
47 return mAlbums.get(index);
134 public void consume(int index, MediaItem item) {
H A DFilterTypeSet.java47 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 DPathMatcher.java60 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 DSizeClustering.java59 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 DFilterPointRepresentation.java58 public Object getCandidate(int index) { argument
59 return this.mCandidates.get(index);
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
H A DMtpPagerAdapter.java53 public void setMtpDeviceIndex(MtpDeviceIndex index) { argument
54 mModel = index;
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
H A DMtpDeviceIndexRunnable.java19 * 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 DAllAppsList.java80 public ApplicationInfo get(int index) { argument
81 return data.get(index);
/packages/apps/Launcher3/src/com/android/launcher3/compat/
H A DAlphabeticIndexCompat.java23 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 DStackFolderIconLayoutRule.java51 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 DWidgetsDiffReporter.java39 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 DBasicSettingPopup.java83 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 DInLineSettingItem.java66 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 DPduBody.java92 * @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 DConversationListItemViewTest.java75 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 DAirplaneModeCondition.java92 public void onActionClick(int index) { argument
93 if (index == 0) {
97 throw new IllegalArgumentException("Unexpected index " + index);
H A DCellularDataCondition.java87 public void onActionClick(int index) { argument
88 if (index == 0) {
94 throw new IllegalArgumentException("Unexpected index " + index);
H A DHotspotCondition.java108 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 DRtlCompatibleViewPager.java37 * 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 DActionFragment.java45 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 DTracker.java33 void setCustomDimension(int index, String value); argument
40 void setCustomMetric(int index, Long value); argument

Completed in 9535 milliseconds

1234567891011>>