Searched defs:position (Results 1 - 25 of 427) sorted by relevance

1234567891011>>

/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/app/
H A DDrawerItemClickListener.java26 * @param position Adapter position of the clicked item.
28 void onItemClick(int position); argument
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
H A DScrollHandler.java30 * Perform smooth scroll to position.
32 void smoothScrollTo(int position); argument
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DCustomHeaderViewPagerAdapter.java28 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 Dbloom_filter.h38 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 DActionsViewContainer.java27 * 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 DOnContactBrowserActionListener.java34 * @param position The index of the contact that should be opened
37 void onViewContactAction(int position, Uri contactLookupUri, boolean isEnterpriseContact); argument
H A DContactsSectionIndexer.java56 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 DEmailAddressPickerFragment.java43 protected void onItemClick(int position, long id) { argument
45 if (getAdapter().getItem(position) == null) {
48 pickEmailAddress(adapter.getDataUri(position));
H A DLegacyPhoneNumberPickerFragment.java35 protected Uri getPhoneUri(int position) { argument
37 return adapter.getPhoneUri(position);
41 protected String getLookupKey(int position) { argument
H A DPostalAddressPickerFragment.java45 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 DNotifyingSpinner.java30 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 DSingleItemAdapter.java31 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 DAlarmSelectionAdapter.java43 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 DCallComposerPagerAdapter.java39 public Fragment getItem(int position) { argument
40 switch (position) {
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
H A DInCallPagerAdapter.java39 public Fragment getItem(int position) { argument
40 if (position == getButtonGridPosition()) {
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
H A DBuglePhotoPageAdapter.java34 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 DSuggestionView.java34 * @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 DStkMenuAdapter.java46 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 DBidiViewPagerHelper.java51 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 DSingleFolderSelectionDialog.java119 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 DMediaDrawerAdapter.java64 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 DMediaItemsFetcher.java58 * @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 DFileAdapter.java41 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 DVerticalViewPager.java89 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 DContactsSectionIndexer.java53 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...]

Completed in 810 milliseconds

1234567891011>>