/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
H A D | SuggestionClickListener.java | 27 * @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 D | CreateShortcut.java | 16 @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 D | ZonePicker.java | 50 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 D | ContactsSectionIndexer.java | 53 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 D | ShortcutsAdapter.java | 45 public View getView(int position, View convertView, ViewGroup parent) { argument 46 final ShortcutInfo info = getItem(position);
|
H A D | AddAdapter.java | 87 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 D | DeliveryReportAdapter.java | 40 public View getView(int position, View view, ViewGroup viewGroup) { argument 42 DeliveryReportItem item = this.getItem(position);
|
H A D | IconListAdapter.java | 46 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 D | VideoBrowserActivity.java | 79 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 D | StkMenuAdapter.java | 46 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 D | SyncActivityTooManyDeletes.java | 62 // 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 D | HistoryAdapter.java | 47 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 D | ShortcutRepository.java | 47 void reportClick(SuggestionCursor suggestions, int position); argument
|
H A D | Logger.java | 46 * @param position 0-based position of the suggestion in the UI. 52 void logSuggestionClick(int position, SuggestionCursor suggestionCursor, argument
|
H A D | NoLogger.java | 37 public void logSuggestionClick(int position, argument
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | MockShortcutRepository.java | 53 public void reportClick(SuggestionCursor suggestions, int position) { argument
|
H A D | SuggestionCursorUtil.java | 35 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 D | ApplicationLauncher.java | 71 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 D | PreferenceAdapter.java | 92 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 D | GroupingListAdapterTests.java | 230 // 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 D | AccountShortcutPicker.java | 93 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 D | NullInputStream.java | 66 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 D | NullReader.java | 66 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 D | PositionInputStream.java | 29 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 D | FdnList.java | 94 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)) {
|