Searched defs:position (Results 1 - 25 of 116) sorted by relevance

12345

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DSuggestionClickListener.java27 * @param position Position of the clicked suggestion.
29 void onSuggestionClicked(int position); argument
34 * @param position Position of the suggestion.
36 void onSuggestionQuickContactClicked(int position); argument
41 * @param position Position of the long clicked suggestion.
43 boolean onSuggestionLongClicked(int position); argument
48 * @param position Position of the suggestion.
50 void onSuggestionQueryRefineClicked(int position); argument
/packages/apps/Settings/src/com/android/settings/
H A DCreateShortcut.java16 @Override protected void onListItemClick(ListView l, View v, int position, long id) { argument
17 Intent shortcutIntent = intentForPosition(position);
23 intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, itemForPosition(position).label);
H A DZonePicker.java50 protected void onListItemClick(ListView l, View v, int position, long id) { argument
51 String filter = (String) mFilterAdapter.getItem(position);
/packages/apps/Contacts/src/com/android/contacts/
H A DContactsSectionIndexer.java53 int position = 0;
61 mPositions[i] = position;
62 position += counts[i];
64 mCount = position;
79 public int getSectionForPosition(int position) { argument
80 if (position < 0 || position >= mCount) {
84 int index = Arrays.binarySearch(mPositions, position);
88 * position is 4. The section corresponding to position
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DShortcutsAdapter.java45 public View getView(int position, View convertView, ViewGroup parent) { argument
46 final ShortcutInfo info = getItem(position);
H A DAddAdapter.java87 public View getView(int position, View convertView, ViewGroup parent) { argument
88 ListItem item = (ListItem) getItem(position);
106 public Object getItem(int position) { argument
107 return mItems.get(position);
110 public long getItemId(int position) { argument
111 return position;
/packages/apps/Mms/src/com/android/mms/ui/
H A DDeliveryReportAdapter.java40 public View getView(int position, View view, ViewGroup viewGroup) { argument
42 DeliveryReportItem item = this.getItem(position);
H A DIconListAdapter.java46 public View getView(int position, View convertView, ViewGroup parent) { argument
59 text.setText(getItem(position).getTitle());
63 image.setImageResource(getItem(position).getResource());
/packages/apps/Music/src/com/android/music/
H A DVideoBrowserActivity.java79 protected void onListItemClick(ListView l, View v, int position, long id) argument
82 mCursor.moveToPosition(position);
/packages/apps/Stk/src/com/android/stk/
H A DStkMenuAdapter.java46 public View getView(int position, View convertView, ViewGroup parent) { argument
47 final Item item = getItem(position);
/packages/apps/AccountsAndSyncSettings/src/com/android/settings/
H A DSyncActivityTooManyDeletes.java62 // the order of these must match up with the constants for position used in onItemClick
110 public void onItemClick(AdapterView parent, View view, int position, long id) { argument
111 // the contants for position correspond to the items options array in onCreate()
112 if (position == 0) startSyncReallyDelete();
113 else if (position == 1) startSyncUndoDeletes();
/packages/apps/Calculator/src/com/android/calculator2/
H A DHistoryAdapter.java47 public Object getItem(int position) { argument
48 return mEntries.elementAt(position);
52 public long getItemId(int position) { argument
53 return position;
62 public View getView(int position, View convertView, ViewGroup parent) { argument
73 HistoryEntry entry = mEntries.elementAt(position);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DShortcutRepository.java47 void reportClick(SuggestionCursor suggestions, int position); argument
H A DLogger.java46 * @param position 0-based position of the suggestion in the UI.
52 void logSuggestionClick(int position, SuggestionCursor suggestionCursor, argument
H A DNoLogger.java37 public void logSuggestionClick(int position, argument
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DMockShortcutRepository.java53 public void reportClick(SuggestionCursor suggestions, int position) { argument
H A DSuggestionCursorUtil.java35 public static void assertSameSuggestion(String message, int position, argument
37 assertSameSuggestion(message, expected, position, observed, position);
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/
H A DApplicationLauncher.java71 protected void onListItemClick(ListView l, View v, int position, long id) { argument
73 Log.e(TAG, "Got click on position " + position + " but there is no cursor");
77 Log.e(TAG, "Got click on position " + position + " but the cursor is closed");
80 if (!mCursor.moveToPosition(position)) {
81 Log.e(TAG, "Failed to move to position " + position);
/packages/apps/Camera/src/com/android/camera/ui/
H A DPreferenceAdapter.java92 public void onItemSelected(GLView view, int position) { argument
96 if (position < values.length + 1) {
97 int index = position - 1;
/packages/apps/Contacts/tests/src/com/android/contacts/
H A DGroupingListAdapterTests.java230 // 4th to the 6th position
306 private void assertPositionMetadata(int position, int itemType, boolean isExpanded, argument
309 mAdapter.obtainPositionMetadata(metadata, position);
/packages/apps/Email/src/com/android/email/activity/
H A DAccountShortcutPicker.java93 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
94 Cursor cursor = (Cursor)parent.getItemAtPosition(position);
/packages/apps/Email/src/org/apache/commons/io/input/
H A DNullInputStream.java66 private long position; field in class:NullInputStream
101 * Return the current position.
103 * @return the current position.
106 return position;
124 long avail = size - position;
142 position = 0;
147 * Mark the current position.
149 * @param readlimit The number of bytes before this marked position
157 mark = position;
184 if (position
[all...]
H A DNullReader.java66 private long position; field in class:NullReader
101 * Return the current position.
103 * @return the current position.
106 return position;
126 position = 0;
131 * Mark the current position.
133 * @param readlimit The number of characters before this marked position
141 mark = position;
168 if (position == size) {
171 position
[all...]
/packages/apps/Email/src/org/apache/james/mime4j/util/
H A DPositionInputStream.java29 protected long position = 0; field in class:PositionInputStream
37 return position;
47 position++;
57 position = markedPosition;
66 markedPosition = position;
71 position += c;
77 position += c;
83 position += c;
/packages/apps/Phone/src/com/android/phone/
H A DFdnList.java94 public void onListItemClick(ListView l, View v, int position, long id) { argument
96 editSelected(position);
118 * Edit the item at the selected position in the list.
120 private void editSelected(int position) { argument
121 if (mCursor.moveToPosition(position)) {

Completed in 444 milliseconds

12345