/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
H A D | ScrollHandler.java | 30 * Perform smooth scroll to position. 32 void smoothScrollTo(int position); argument
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | CustomHeaderViewPagerAdapter.java | 28 public CharSequence getPageTitle(int position) { argument 29 // The tab strip will handle RTL internally so we should use raw position. 30 return getViewHolder(position, false /* rtlAware */)
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | bloom_filter.h | 38 AK_FORCE_INLINE void setInFilter(const int position) { argument 39 mFilter.set(getIndex(position)); 42 AK_FORCE_INLINE bool isInFilter(const int position) const { 43 return mFilter.test(getIndex(position)); 49 AK_FORCE_INLINE size_t getIndex(const int position) const { 50 return static_cast<size_t>(position) % BIGRAM_FILTER_MODULO;
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
H A D | ActionsViewContainer.java | 27 * Custom {@link LinearLayout} which remembers its position in the {@link ListView}. Should be 46 public void setPosition(int position) { argument 47 mContextMenuInfo = new AdapterView.AdapterContextMenuInfo(this, position, -1);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | GroupMemberTileAdapter.java | 55 public int getItemViewType(int position) { argument 75 public ArrayList<ContactEntry> getItem(int position) { argument 77 int contactIndex = position * mColumnCount;
|
H A D | EmailAddressPickerFragment.java | 46 protected void onItemClick(int position, long id) { argument 48 if (getAdapter().getItem(position) == null) { 51 pickEmailAddress(adapter.getDataUri(position));
|
H A D | LegacyPhoneNumberPickerFragment.java | 39 protected Uri getPhoneUri(int position) { argument 41 return adapter.getPhoneUri(position); 45 protected String getLookupKey(int position) { argument
|
H A D | PostalAddressPickerFragment.java | 48 protected void onItemClick(int position, long id) { argument 49 if (getAdapter().getItem(position) == null) { 54 pickPostalAddress(adapter.getDataUri(position)); 57 pickPostalAddress(adapter.getContactMethodUri(position));
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | NotifyingSpinner.java | 30 void onSetSelection(NotifyingSpinner view, int position); argument 48 public void setSelection(int position) { argument 49 super.setSelection(position); 52 mListener.onSetSelection(this, position);
|
H A D | SingleItemAdapter.java | 31 public Object getItem(int position) { argument 35 public long getItemId(int position) { argument 39 public View getView(int position, View convertView, ViewGroup parent) { argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | AutoScrollListView.java | 25 * position. This class takes advantage of similar functionality that exists 51 * Brings the specified position to view by optionally performing a jump-scroll maneuver: 52 * first it jumps to some position near the one requested and then does a smooth 53 * scroll to the requested position. This creates an impression of full smooth 57 public void requestPositionToScreen(int position, boolean smoothScroll) { argument 58 mRequestedScrollPosition = position; 70 final int position = mRequestedScrollPosition; 75 if (position >= firstPosition && position <= lastPosition) { 81 setSelectionFromTop(position, offse [all...] |
H A D | ContactsSectionIndexer.java | 55 int position = 0; 63 mPositions[i] = position; 64 position += counts[i]; 66 mCount = position; 81 public int getSectionForPosition(int position) { argument 82 if (position < 0 || position >= mCount) { 86 int index = Arrays.binarySearch(mPositions, position); 90 * position is 4. The section corresponding to position [all...] |
H A D | ViewPagerTabStrip.java | 59 * and selection offset for interpolating the position and width of selection 62 void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument 63 mIndexForSelection = position;
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/selector/ |
H A D | AlarmSelectionAdapter.java | 39 public View getView(int position, View convertView, ViewGroup parent) { argument 47 final AlarmSelection selection = getItem(position);
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
H A D | RegularSearchListAdapter.java | 45 CachedNumberLookupService lookupService, int position) { 48 final Cursor item = (Cursor) getItem(position); 51 (DirectoryPartition) getPartition(getPartitionForPosition(position)); 44 getContactInfo( CachedNumberLookupService lookupService, int position) argument
|
H A D | BlockedListSearchAdapter.java | 69 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument 70 super.bindView(itemView, partition, cursor, position); 76 final String number = getPhoneNumber(position);
|
H A D | SmartDialNumberListAdapter.java | 101 * Gets Uri for the list item at the given position. 102 * @param position Location of the data of interest. 105 public Uri getDataUri(int position) { argument 106 Cursor cursor = ((Cursor)getItem(position));
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
H A D | BuglePhotoPageAdapter.java | 34 protected PhotoViewFragment createPhotoViewFragment(Intent intent, int position, argument 36 return BuglePhotoViewFragment.newInstance(intent, position, onlyShowSpinner);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
H A D | SuggestionView.java | 34 * @param position The position of this view with the list. 36 void bindAdapter(SuggestionsAdapter<?> adapter, long position); argument
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | CreateShortcut.java | 51 protected void onListItemClick(ListView l, View v, int position, long id) { argument 52 Intent shortcutIntent = intentForPosition(position); 58 intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, itemForPosition(position).label); 59 ResolveInfo resolveInfo = itemForPosition(position).resolveInfo;
|
/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/UnifiedEmail/src/com/android/mail/ui/ |
H A D | BidiViewPagerHelper.java | 51 private int clampToBounds(int position) { argument 52 return Math.max(0, Math.min(mViewPager.getAdapter().getCount() - 1, position)); 55 private int getBidiIndex(int position) { argument 57 return mViewPager.getAdapter().getCount() - 1 - position; 59 return position; 64 private int getIndexFromBidiIndex(int position) { argument 66 return getBidiIndex(position);
|
H A D | SingleFolderSelectionDialog.java | 119 protected void onListItemClick(int position) { argument 120 final Object item = mAdapter.getItem(position);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/ |
H A D | CheckBroker.java | 37 public void onCheckedChanged(int position, boolean isChecked); argument 42 public abstract void setItemChecked(int position, boolean checked); argument 44 public void onCheckedChange(int position, boolean checked) { argument 45 if (isItemChecked(position) != checked) { 47 l.onCheckedChanged(position, checked); 58 public abstract boolean isItemChecked(int position); argument
|
/packages/apps/Gallery2/src/com/android/photos/adapters/ |
H A D | PhotoThumbnailAdapter.java | 64 public float getIntrinsicAspectRatio(int position) { argument 65 Cursor cursor = getItem(position); 72 public Cursor getItem(int position) { argument 73 return (Cursor) super.getItem(position);
|