/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
|
H A D | CorporaAdapter.java | 87 public Corpus getItem(int position) { argument 88 if (position == 0) { 91 return mRankedEnabledCorpora.get(position - 1); 95 public long getItemId(int position) { argument 96 return position; 100 * Gets the position of the given corpus. 116 public View getView(int position, View convertView, ViewGroup parent) { argument 121 Corpus corpus = getItem(position); 131 if (DBG) Log.d(TAG, "Binding " + position + ", label=" + label);
|
H A D | SuggestionsAdapter.java | 139 public SuggestionPosition getItem(int position) { argument 141 return new SuggestionPosition(mCursor, position); 144 public long getItemId(int position) { argument 145 return position; 154 public int getItemViewType(int position) { argument 158 mCursor.moveTo(position); 162 public View getView(int position, View convertView, ViewGroup parent) { argument 166 mCursor.moveTo(position); 222 public void onIcon2Clicked(int position) { argument 224 mSuggestionClickListener.onSuggestionQueryRefineClicked(position); [all...] |
/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/Mms/src/com/android/mms/ui/ |
H A D | SlideshowEditor.java | 56 int position = mModel.size(); 57 return addNewSlide(position); 61 * Add a new slide at the specified position in the message. 64 * @throws IndexOutOfBoundsException - if position is out of range 65 * (position < 0 || position > size()). 67 public boolean addNewSlide(int position) { argument 77 mModel.add(position, slide); 88 * @param position 90 public void removeSlide(int position) { argument 109 removeText(int position) argument 113 removeImage(int position) argument 117 removeVideo(int position) argument 121 removeAudio(int position) argument 125 changeText(int position, String newText) argument 141 changeImage(int position, Uri newImage) argument 146 changeAudio(int position, Uri newAudio) argument 153 changeVideo(int position, Uri newVideo) argument 161 moveSlideUp(int position) argument 165 moveSlideDown(int position) argument 169 changeDuration(int position, int dur) argument [all...] |
H A D | SlideshowEditActivity.java | 140 protected void onListItemClick(ListView l, View v, int position, long id) { argument 141 if (position == (l.getCount() - 1)) { 144 openSlide(position); 225 int position = mList.getSelectedItemPosition(); 226 if ((position >= 0) && (position != (mList.getCount() - 1))) { 228 if (position > 0) { 232 if (position < (mSlideListAdapter.getCount() - 1)) { 253 int position = mList.getSelectedItemPosition(); 257 if ((position > 366 getView(int position, View convertView, ViewGroup parent) argument 370 createViewFromResource(int position, View convertView, int resource) argument [all...] |
/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...] |
H A D | GroupingListAdapter.java | 252 * Figures out whether the item at the specified position represents a 254 * corresponding cursor position. 256 public void obtainPositionMetadata(PositionMetadata metadata, int position) { argument 259 if (metadata.listPosition == position) { 267 // Check cache for the supplied position. What we are looking for is 268 // the group descriptor immediately preceding the supplied position. 269 // Once we have that, we will be able to tell whether the position 272 if (position <= mLastCachedListPosition) { 275 int index = mPositionCache.indexOfKey(position); 277 // If we get back a positive number, the position correspond 376 isGroupHeader(int position) argument 385 getGroupSize(int position) argument 393 toggleGroup(int position) argument 415 getItemViewType(int position) argument 420 getItem(int position) argument 433 getItemId(int position) argument 442 getView(int position, View convertView, ViewGroup parent) argument [all...] |
H A D | ContactEntryAdapter.java | 99 * Resets the section data and returns the position of the given entry. 102 * @param entry the entry to return the position for 103 * @return the position of entry, or -1 if it isn't found 110 int position = 0; 117 position += j; 118 return position; 121 position += sectionSize; 145 public final boolean isEnabled(int position) { argument 158 if (position == 0) { 162 position 170 getItem(int position) argument 181 getEntry(ArrayList<ArrayList<T>> sections, int position, boolean separators) argument 224 getItemId(int position) argument 236 getView(int position, View convertView, ViewGroup parent) argument 253 newView(int position, ViewGroup parent) argument [all...] |
H A D | PinnedHeaderListView.java | 55 * position of the first visible list item. Allowed return values are 59 int getPinnedHeaderState(int position); argument 65 * @param position position of the first visible list item. 68 void configurePinnedHeader(View header, int position, int alpha); argument 130 public void configureHeaderView(int position) { argument 135 int state = mAdapter.getPinnedHeaderState(position); 143 mAdapter.configurePinnedHeader(mHeaderView, position, MAX_ALPHA); 165 mAdapter.configurePinnedHeader(mHeaderView, position, alpha);
|
/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;
|
H A D | PartialInputStream.java | 40 if (limit > position)
61 return (int)Math.min(Integer.MAX_VALUE, limit - position);
|
/packages/apps/AlarmClock/src/com/android/alarmclock/ |
H A D | ClockPicker.java | 71 public void onItemSelected(AdapterView parent, View v, int position, long id) { argument 75 mClock = mFactory.inflate(AlarmClock.CLOCKS[position], null); 77 mPosition = position; 80 public void onItemClick(AdapterView parent, View v, int position, long id) { argument 81 selectClock(position); 84 private synchronized void selectClock(int position) { argument 86 ed.putInt(AlarmClock.PREF_CLOCK_FACE, position); 105 public Object getItem(int position) { argument 106 return position; 109 public long getItemId(int position) { argument 113 getView(final int position, View convertView, ViewGroup parent) argument [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | ActiveTabsPage.java | 52 int position, long id) { 54 position--; 57 if (position == -1) { 66 needToAttach = !mBrowserActivity.switchToTab(position); 120 public Object getItem(int position) { argument 123 public long getItemId(int position) { argument 124 return position; 129 public int getItemViewType(int position) { argument 131 position--; 134 return position 136 getView(int position, View convertView, ViewGroup parent) argument [all...] |
H A D | BrowserBookmarksAdapter.java | 102 * @param position Position in the list. 103 * @return Bundle Stores title, url of row position, favicon, and id 104 * for the url. Return a blank map if position is out of 107 public Bundle getRow(int position) { argument 109 if (position < mExtraOffset || position >= mCount) { 112 mCursor.moveToPosition(position- mExtraOffset); 135 int position = -1; 138 position = mCursor.getPosition(); 142 if (position < 174 deleteRow(int position) argument 350 isEnabled(int position) argument 359 getItem(int position) argument 368 getItemId(int position) argument 376 populateBookmarkItem(BookmarkItem b, int position) argument 398 getView(int position, View convertView, ViewGroup parent) argument 475 getTitle(int position) argument 482 getUrl(int position) argument 489 getScreenshot(int position) argument 496 getFavicon(int position) argument 500 getTouchIcon(int position) argument 504 getBitmap(int cursorIndex, int position) argument 519 getIsBookmark(int position) argument 530 getString(int cursorIndex, int position) argument 538 bind(BookmarkItem b, int position) argument [all...] |
/packages/apps/IM/src/com/android/im/app/ |
H A D | ImageListAdapter.java | 71 public Object getItem(int position) { argument 72 return mData.get(position); 75 public long getItemId(int position) { argument 76 return position; 79 public View getView(int position, View convertView, ViewGroup parent) { argument 86 setupView(position, v); 90 private void setupView(int position, View view) { argument 95 if (!isEnabled(position)) { 109 final ImageListItem item = mData.get(position); 127 public boolean isEnabled(int position) { argument [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
H A D | GridCameraManager.java | 51 final Vector3f position = pool.create(); 55 GridCameraManager.getSlotPositionForSlotIndex(slotIndex, camera, layout, deltaAnchorPosition, position); 56 position.x = (zoomValue == 1.0f) ? ((position.x) * camera.mOneByScale) : camera.mLookAtX; 57 position.y = (zoomValue == 1.0f) ? 0 : camera.mLookAtY; 59 position.y = -0.1f; 68 camera.moveTo(position.x, position.y, zoomin ? camera.getDistanceToFitRect(width * oneByZoom, height 71 pool.delete(position); 91 final Vector3f position [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | AgendaByDayAdapter.java | 71 public Object getItem(int position) { argument 73 RowInfo row = mRowInfo.get(position); 80 return mAgendaAdapter.getItem(position); 83 public long getItemId(int position) { argument 85 RowInfo row = mRowInfo.get(position); 87 return -position; 92 return mAgendaAdapter.getItemId(position); 101 public int getItemViewType(int position) { argument 102 return mRowInfo != null && mRowInfo.size() > position ? 103 mRowInfo.get(position) 106 getView(int position, View convertView, ViewGroup parent) argument 299 MultipleDayInfo(int position, int endDay) argument 349 findJulianDayFromPosition(int position) argument 397 isEnabled(int position) argument [all...] |
H A D | AgendaListView.java | 65 public void onItemClick(AdapterView<?> a, View v, int position, long id) { argument 68 EventInfo event = mWindowAdapter.getEventByPosition(position); 94 int position = getSelectedItemPosition(); 95 EventInfo event = mWindowAdapter.getEventByPosition(position); 133 int position = getSelectedItemPosition(); 134 if (position >= 0) { 135 EventInfo event = mWindowAdapter.getEventByPosition(position); 144 int position = getFirstVisiblePosition(); 146 Log.v(TAG, "getFirstVisiblePosition = " + position); 149 EventInfo event = mWindowAdapter.getEventByPosition(position); [all...] |
/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);
|
/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/Music/src/com/android/music/ |
H A D | IMediaPlaybackService.aidl | 26 void open(in long [] list, int position); 35 long position();
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
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/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | ShortcutRepository.java | 47 void reportClick(SuggestionCursor suggestions, int position); argument
|