Searched refs:index (Results 101 - 125 of 638) sorted by relevance

1234567891011>>

/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
H A DFolderAccessibilityHelper.java29 * 0-index position for the first cell in {@link #mView} in {@link #mParent}.
39 int index = mParent.indexOfChild(layout);
40 mStartPosition = index * layout.getCountX() * layout.getCountY();
H A DOverviewScreenAccessibilityDelegate.java57 int index = mWorkspace.indexOfChild(host);
58 mWorkspace.setCurrentPage(index);
86 int index = mWorkspace.indexOfChild(host);
87 if (index < mWorkspace.getChildCount() - 1) {
92 if (index > startIndex) {
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/
H A DSampleExtractor.java62 /** Selects the track at {@code index} for reading sample data. */
63 void selectTrack(int index); argument
65 /** Deselects the track at {@code index}, so no more samples will be read from that track. */
66 void deselectTrack(int index); argument
92 * Reads the next sample in the track at index {@code track} into {@code sampleHolder}, returning
97 * @param track the index of the track from which to read a sample
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
H A DInputPointers.java41 private void fillWithLastTimeUntil(final int index) { argument
48 final int fillLength = index - fromIndex + 1;
56 public void addPointerAt(final int index, final int x, final int y, final int pointerId, argument
58 mXCoordinates.addAt(index, x);
59 mYCoordinates.addAt(index, y);
60 mPointerIds.addAt(index, pointerId);
62 fillWithLastTimeUntil(index);
64 mTimes.addAt(index, time);
96 * @param startPos the starting index of the data in {@code times} and etc.
/packages/services/Telecomm/src/com/android/server/telecom/
H A DBluetoothHeadsetProxy.java39 public void clccResponse(int index, int direction, int status, int mode, boolean mpty, argument
42 mBluetoothHeadset.clccResponse(index, direction, status, mode, mpty, number, type);
/packages/apps/Camera2/src/com/android/camera/data/
H A DFilmstripDataAdapterProxy.java112 public AsyncTask updateMetadataAt(int index) { argument
113 return mAdapter.updateMetadataAt(index);
117 public boolean isMetadataUpdatedAt(int index) { argument
118 return mAdapter.isMetadataUpdatedAt(index);
H A DFilmstripItemList.java58 public FilmstripItem get(int index) { argument
59 return mList.get(index);
63 * Removes the item at the given index.
65 * @param index the item to delete
69 public synchronized FilmstripItem remove(int index) { argument
71 FilmstripItem removedItem = mList.remove(index);
75 Log.w(TAG, "Could not remove item. Not found: " + index, ex);
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactsSectionIndexer.java92 int index = Arrays.binarySearch(mPositions, position);
102 return index >= 0 ? index : -index - 2;
/packages/apps/Dialer/java/com/android/contacts/common/format/
H A DTextHighlighter.java82 int index = indexOfWordPrefix(text, trimmedPrefix);
83 if (index != -1) {
85 result.setSpan(mTextStyleSpan, index, index + trimmedPrefix.length(), 0 /* flags */);
93 * Finds the index of the first word that starts with the given prefix.
/packages/apps/Dialer/java/com/android/contacts/common/list/
H A DContactsSectionIndexer.java84 int index = Arrays.binarySearch(mPositions, position);
94 return index >= 0 ? index : -index - 2;
/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/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
H A DKeyboardTextsSetTests.java47 for (int index = 0; index < subtypeCount; index++) {
48 final InputMethodSubtype subtype = imi.getSubtypeAt(index);
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
H A DAoapInterface.java54 * index: 0
67 * index: string ID
82 * index: 0
114 public static void sendString(UsbDeviceConnection conn, int index, String string) argument
119 ACCESSORY_SEND_STRING, 0, index,
122 throw new IOException("Failed to send string " + index + ": \"" + string + "\"");
124 Log.i(TAG, "Sent string " + index + ": \"" + string + "\"");
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
H A DAoapInterface.java57 * index: 0
70 * index: string ID
85 * index: 0
113 public static void sendString(UsbDeviceConnection conn, int index, String string) argument
118 ACCESSORY_SEND_STRING, 0, index,
121 throw new IOException("Failed to send string " + index + ": \"" + string + "\"");
123 Log.i(TAG, "Sent string " + index + ": \"" + string + "\"");
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
H A DBasicParameterStyle.java93 public void getIcon(int index, BitmapCaller caller) { argument
94 mEditor.computeIcon(index, caller);
98 public String getStyleTitle(int index, Context context) { argument
/packages/apps/Settings/src/com/android/settings/accessibility/
H A DPresetPreference.java51 protected void onBindListItem(View view, int index) { argument
54 final int value = getValueAt(index);
61 final CharSequence title = getTitleAt(index);
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
H A DBackgroundDataCondition.java68 public void onActionClick(int index) { argument
69 if (index == 0) {
73 throw new IllegalArgumentException("Unexpected index " + index);
H A DBatterySaverCondition.java63 public void onActionClick(int index) { argument
64 if (index == 0) {
68 throw new IllegalArgumentException("Unexpected index " + index);
H A DNightDisplayCondition.java70 public void onActionClick(int index) { argument
71 if (index == 0) {
74 throw new IllegalArgumentException("Unexpected index " + index);
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
H A DSeriesScheduleRowAdapter.java144 int index = findRowIndexByProgramId(schedule.getProgramId());
145 if (index != -1) {
146 EpisodicProgramRow row = (EpisodicProgramRow) get(index);
149 notifyArrayItemRangeChanged(index, 1);
157 int index = findRowIndexByProgramId(schedule.getProgramId());
158 if (index != -1) {
159 EpisodicProgramRow row = (EpisodicProgramRow) get(index);
161 notifyArrayItemRangeChanged(index, 1);
168 int index = findRowIndexByProgramId(schedule.getProgramId());
169 if (index !
[all...]
/packages/services/Car/car-lib/src/android/car/
H A DVehicleZoneUtil.java28 * Change zone flag into index with available zones.
29 * For example with zoned of 0x80000001, 0x1 will be index 0 and 0x80000000 will be index 2.
31 * @param zone flag for the zone to get index, should not be zero and should be one of the flags
33 * @return index of desired zone.
43 int index = -1;
45 index++;
48 return index;
101 * Return array of zone with each active zone in one index. This can be useful for iterating
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumDataLoader.java54 public void onContentChanged(int index); argument
121 public MediaItem get(int index) { argument
122 if (!isActive(index)) {
123 return mSource.getMediaItem(index, 1).get(0);
125 return mData[index % mData.length];
132 public boolean isActive(int index) { argument
133 return index >= mActiveStart && index < mActiveEnd;
140 // Returns the index of the MediaItem with the given path or
263 int index
[all...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
H A DExpectedKey.java78 for (int index = 0; index < moreKeys.length; index++) {
79 final ExpectedKey moreKey = moreKeys[index];
83 firstAdditionalMoreKeyIndex = index;
154 for (int index = 0; index < moreKeys.length; index++) {
155 final ExpectedKey moreKey = moreKeys[index];
156 casePreservedMoreKeys[index]
[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 DIndicatorButton.java57 int index;
59 index = mPreference.findIndexOfValue(mPreference.getValue());
61 index = mPreference.findIndexOfValue(mOverrideValue);
62 if (index == -1) {
69 setImageResource(iconIds[index]);

Completed in 844 milliseconds

1234567891011>>