/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/app/ |
H A D | DrawerItemClickListener.java | 26 * @param position Adapter position of the clicked item. 28 void onItemClick(int position); argument
|
/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 | OnContactBrowserActionListener.java | 34 * @param position The index of the contact that should be opened 37 void onViewContactAction(int position, Uri contactLookupUri, boolean isEnterpriseContact); argument
|
H A D | ContactsSectionIndexer.java | 56 int position = 0; 65 mPositions[i] = position; 66 position += counts[i]; 68 mCount = position; 87 public int getSectionForPosition(int position) { argument 88 if (position < 0 || position >= mCount) { 92 int index = Arrays.binarySearch(mPositions, position); 96 * position is 4. The section corresponding to position [all...] |
H A D | EmailAddressPickerFragment.java | 43 protected void onItemClick(int position, long id) { argument 45 if (getAdapter().getItem(position) == null) { 48 pickEmailAddress(adapter.getDataUri(position));
|
H A D | LegacyPhoneNumberPickerFragment.java | 35 protected Uri getPhoneUri(int position) { argument 37 return adapter.getPhoneUri(position); 41 protected String getLookupKey(int position) { argument
|
H A D | PostalAddressPickerFragment.java | 45 protected void onItemClick(int position, long id) { argument 46 if (getAdapter().getItem(position) == null) { 51 pickPostalAddress(adapter.getDataUri(position)); 54 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/DeskClock/src/com/android/deskclock/widget/selector/ |
H A D | AlarmSelectionAdapter.java | 43 public @NonNull View getView(int position, @Nullable View convertView, argument 52 final AlarmSelection selection = getItem(position);
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
H A D | CallComposerPagerAdapter.java | 39 public Fragment getItem(int position) { argument 40 switch (position) {
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
H A D | InCallPagerAdapter.java | 39 public Fragment getItem(int position) { argument 40 if (position == getButtonGridPosition()) {
|
/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/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/Car/Media/src/com/android/car/media/drawer/ |
H A D | MediaDrawerAdapter.java | 64 protected void populateViewHolder(DrawerItemViewHolder holder, int position) { argument 66 mCurrentFetcher.populateViewHolder(holder, position); 71 public void onItemClick(int position) { argument 73 mCurrentFetcher.onItemClick(position);
|
H A D | MediaItemsFetcher.java | 58 * @param position Item position. 60 void populateViewHolder(DrawerItemViewHolder holder, int position); argument 65 * @param position Item position. 67 void onItemClick(int position); argument
|
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
H A D | FileAdapter.java | 41 public View getView(int position, View convertView, ViewGroup parent) { argument 52 if (mLocations[position] != null) { 53 vh.textView.setText(mLocations[position].getAbsolutePath()); 54 if (mLocations[position].getAbsolutePath().endsWith(".zip") 55 || mLocations[position].isDirectory()) {
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | VerticalViewPager.java | 89 public void transformPage(View view, float position) { argument 92 if (position < -1) { 95 } else if (position <= 1) { 98 view.setTranslationX(pageWidth * -position); 99 // set Y position to swipe in from top 100 float yPosition = position * pageHeight;
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
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...] |