Searched refs:position (Results 176 - 200 of 295) sorted by relevance

1234567891011>>

/packages/apps/Settings/src/com/android/settings/quicklaunch/
H A DBookmarkPicker.java240 protected void onListItemClick(ListView l, View v, int position, long id) { argument
241 if (position >= mResolveList.size()) return;
243 ResolveInfo info = mResolveList.get(position);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DNameLookupBuilder.java176 int position = 0;
183 character = name.codePointAt(position++);
216 } while (position < stringLength);
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DKeyboardLayoutDialogFragment.java224 public void setCheckedItem(int position) { argument
225 mCheckedItem = position;
229 public View getView(int position, View convertView, ViewGroup parent) { argument
230 KeyboardLayout item = getItem(position);
240 boolean checked = (position == mCheckedItem);
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetService.java207 public RemoteViews getViewAt(int position) { argument
209 if (position < 0 || position >= getCount()) {
231 RowInfo rowInfo = mModel.mRowInfos.get(position);
341 public long getItemId(int position) { argument
342 if (mModel == null || mModel.mRowInfos.isEmpty() || position >= getCount()) {
345 RowInfo rowInfo = mModel.mRowInfos.get(position);
/packages/apps/Browser/src/com/android/browser/
H A DBrowserBookmarksPage.java461 private void loadUrl(BrowserBookmarksAdapter adapter, int position) { argument
463 mCallbacks.onBookmarkSelected(adapter.getItem(position), false);
467 private void openInNewWindow(BrowserBookmarksAdapter adapter, int position) { argument
469 Cursor c = adapter.getItem(position);
509 private void editBookmark(BrowserBookmarksAdapter adapter, int position) { argument
511 Cursor cursor = adapter.getItem(position);
533 int position) {
536 Cursor cursor = adapter.getItem(position);
543 private String getUrl(BrowserBookmarksAdapter adapter, int position) { argument
544 return getUrl(adapter.getItem(position));
532 displayRemoveBookmarkDialog(BrowserBookmarksAdapter adapter, int position) argument
[all...]
H A DSuggestionsAdapter.java134 public SuggestItem getItem(int position) { argument
138 return mMixedResults.items.get(position);
142 public long getItemId(int position) { argument
143 return position;
147 public View getView(int position, View convertView, ViewGroup parent) { argument
153 bindView(view, getItem(position));
H A DTabControl.java48 // Current position in mTabs.
115 * Return the tab at the specified position.
116 * @return The Tab for the specified position or null if the tab does not
119 Tab getTab(int position) { argument
120 if (position >= 0 && position < mTabs.size()) {
121 return mTabs.get(position);
135 * Return the current tab position.
136 * @return The current tab position
143 * Given a Tab, find it's position
[all...]
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailLayoutController.java379 // Update and show the tab carousel (also restore its last saved position)
526 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
530 // in the correct position.
533 int x = (int) ((position + positionOffset) *
539 public void onPageSelected(int position) {
542 mTabCarousel.setCurrentTab(position);
565 // Find the offset position of the first item in the list of the current page.
576 // previously logged position.
639 * in order to prevent other simultaneous changes to the Y position of the tab carousel which
694 public void onTabSelected(int position) {
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactEntryListFragment.java168 * @param position Please note that the position is already adjusted for
172 protected abstract void onItemClick(int position, long id); argument
528 public void setVerticalScrollbarPosition(int position) { argument
529 if (mVerticalScrollbarPosition != position) {
530 mVerticalScrollbarPosition = position;
822 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
825 int adjPosition = position - mListView.getHeaderViewsCount();
H A DPhoneFavoriteFragment.java458 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
460 if (position <= contactTileAdapterCount) {
461 Log.e(TAG, "onItemClick() event for unexpected position. "
462 + "The position " + position + " is before \"all\" section. Ignored.");
464 final int localPosition = position - mContactTileAdapter.getCount() - 1;
/packages/apps/Calculator/src/com/android/calculator2/
H A DCalculator.java307 public Object instantiateItem(View container, int position) { argument
308 final View page = position == 0 ? mSimplePage : mAdvancedPage;
314 public void destroyItem(View container, int position, Object object) { argument
/packages/apps/Contacts/tests/src/com/android/contacts/model/account/
H A DExternalAccountTypeTest.java239 private static String insertMarkerAt(String s, int position) { argument
241 if (position > s.length()) {
244 return new StringBuilder(s).insert(position, MARKER).toString();
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DSuggestionCursorUtil.java43 public static void assertSameSuggestion(String message, int position, argument
45 assertSameSuggestion(message, expected, position, observed, position);
222 assertNotNull(message + ", no extras at position " + i, extras);
224 assertNotNull(message + ", extras columns is null at position " + i, columns);
226 "' not reported by extras at position " + i, columns.contains(extraColumn));
/packages/screensavers/Basic/src/com/android/dreams/basic/
H A DColorsGLRenderer.java367 vertexBuffer.position(0);
380 drawListBuffer.position(0);
423 colorBuffer.position(0);
/packages/apps/Browser/src/com/android/browser/widget/
H A DBookmarkThumbnailWidgetService.java205 public long getItemId(int position) { argument
206 return position;
216 public RemoteViews getViewAt(int position) { argument
217 if (!mBookmarks.moveToPosition(position)) {
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthByWeekAdapter.java181 public View getView(int position, View convertView, ViewGroup parent) { argument
183 return super.getView(position, convertView, parent);
224 if (mSelectedWeek == position) {
234 drawingParams.put(SimpleWeekView.VIEW_PARAMS_WEEK, position);
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DActionBarAdapter.java111 public View getView (int position, View convertView, ViewGroup parent) { argument
112 TextView textView = (TextView) super.getView(position, convertView, parent);
118 public View getDropDownView (int position, View convertView, ViewGroup parent) { argument
119 TextView textView = (TextView) super.getDropDownView(position, convertView, parent);
197 * the appropriate tab from the navigation item position.
/packages/apps/Contacts/src/com/android/contacts/calllog/
H A DCallLogFragment.java422 int position = getListView().getSelectedItemPosition();
423 if (position < 0) {
427 position = 0;
429 final Cursor cursor = (Cursor)mAdapter.getItem(position);
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
H A DCitiesActivity.java123 public View getView(int position, View view, ViewGroup parent) { argument
124 if (position < 0 || position >= mAllTheCitiesList.length) {
127 CityObj c = (CityObj)mAllTheCitiesList [position];
/packages/apps/Email/src/com/android/email/activity/
H A DShortcutPickerFragment.java183 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
184 Cursor cursor = (Cursor) parent.getItemAtPosition(position);
366 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
367 Cursor cursor = (Cursor) parent.getItemAtPosition(position);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifOutputStream.java59 int byteNeeded = requestByteCount - mBuffer.position();
88 if (mBuffer.position() < 2) return;
102 if (mBuffer.position() == 2) {
109 if (mBuffer.position() < 4) return;
/packages/apps/Mms/src/com/android/mms/ui/
H A DMessageListAdapter.java164 int position = cursor.getPosition();
165 mli.bind(msgItem, mIsGroupConversation, position);
280 public int getItemViewType(int position) { argument
281 Cursor cursor = (Cursor)getItem(position);
/packages/apps/Nfc/src/com/android/nfc/handover/
H A DHandoverManager.java696 byte[] payloadBytes = new byte[payload.position()];
697 payload.position(0);
713 byte[] payloadBytes = new byte[payload.position()];
714 payload.position(0);
897 payload.position(1);
902 payload.position(14);
921 payload.position(2);
951 payload.position(payload.position() + len - 1);
/packages/inputmethods/LatinIME/native/jni/src/
H A Dbinary_format.h106 static int getProbability(const int position, const std::map<int, int> *bigramMap,
353 // This function gets the byte position of the last chargroup of the exact matching word in the
406 // we need to traverse children. Put the pointer on the children position, and
435 * address: the byte position of the last chargroup of the word we are searching for (this is
496 // Here comes the tricky part. First, read the children position.
590 inline int BinaryFormat::getProbability(const int position, const std::map<int, int> *bigramMap, argument
593 if (!isInFilter(bigramFilter, position)) return backoff(unigramFreq);
594 const std::map<int, int>::const_iterator bigramFreqIt = bigramMap->find(position);
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
H A DDownloadList.java261 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
262 mSizeSortedCursor.moveToPosition(position);
313 int position = checkedPositionList.keyAt(i);
314 if (checkedPositionList.get(position, false)) {
315 lv.setItemChecked(position, false);
316 onItemCheckedStateChanged(mode, position, 0, false);
331 public void onItemCheckedStateChanged(ActionMode mode, int position, long id, argument
336 long pos = ev.getExpandableListPosition(position);
340 ev.setItemChecked(position, false);

Completed in 1121 milliseconds

1234567891011>>