Searched defs:position (Results 101 - 125 of 357) sorted by relevance

1234567891011>>

/packages/apps/Email/src/com/android/email/activity/setup/
H A DEmailPreferenceActivity.java234 * @param position The header's position in the list.
237 public void onHeaderClick(@NonNull Header header, int position) { argument
239 if (position == 0) {
253 super.onHeaderClick(header, position);
/packages/apps/EmergencyInfo/src/com/android/emergency/
H A DEmergencyTabActivity.java143 public Fragment getItem(int position) { argument
144 return mFragments.get(position).second;
153 public CharSequence getPageTitle(int position) { argument
154 return mFragments.get(position).first;
159 // The default implementation assumes that items will never change position and always
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/history/
H A DHistoryManager.java44 public HistoryItem getItem(int position) { argument
45 if (position > mHistoryItems.size() - 1) {
48 return mHistoryItems.elementAt(position);
134 private void insert(HistoryItem preset, int position) { argument
145 mCurrentPresetPosition = position;
148 mHistoryItems.insertElementAt(preset, position);
149 mCurrentPresetPosition = position;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
H A DUserPresetsAdapter.java93 public View getView(int position, View convertView, ViewGroup parent) { argument
108 Action action = getItem(position);
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetService.java94 public long getItemId(int position) { argument
95 return position;
118 public RemoteViews getViewAt(int position) { argument
119 Bitmap bitmap = mSource.getImage(position);
127 .setData(mSource.getContentUri(position)));
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
H A DMtpAdapter.java93 public Object getItem(int position) { argument
94 return mModel.get(position, mSortOrder);
103 public boolean isEnabled(int position) { argument
108 public long getItemId(int position) { argument
109 return position;
118 public int getItemViewType(int position) { argument
119 // If the position is the first in its section, then it corresponds to
121 if (position == getPositionForSection(getSectionForPosition(position))) {
128 public boolean itemAtPositionIsBucket(int position) { argument
132 itemAtPositionIsMedia(int position) argument
137 getView(int position, View convertView, ViewGroup parent) argument
176 getSectionForPosition(int position) argument
196 translatePositionWithoutLabels(int position) argument
[all...]
/packages/apps/Gallery2/src/com/android/photos/
H A DAlbumFragment.java103 public void onGridItemClick(GridView g, View v, int position, long id) { argument
108 Cursor item = (Cursor) getItemAtPosition(position);
H A DAlbumSetFragment.java91 public void onGridItemClick(GridView g, View v, int position, long id) { argument
96 Cursor item = (Cursor) getItemAtPosition(position);
H A DPhotoSetFragment.java69 public void onGridItemClick(GridView g, View v, int position, long id) { argument
74 Cursor item = (Cursor) getItemAtPosition(position);
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DOtherSettingsPopup.java73 public View getView(int position, View convertView, ViewGroup parent) { argument
76 ListPreference pref = mListItem.get(position);
137 public void onItemClick(AdapterView<?> parent, View view, int position, argument
139 if ((position == mListItem.size() - 1) && (mListener != null)) {
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DSmsStorageLowWarningFragment.java131 public View getView(final int position, final View view, final ViewGroup parent) { argument
141 final String action = getItem(position);
147 ((SmsStorageLowWarningFragment) getTargetFragment()).confirm(position);
H A DViewPagerTabs.java157 private void addTab(CharSequence tabTitle, final int position) { argument
165 mPager.setCurrentItem(getRtlPosition(position));
184 if (position == 0) {
191 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
192 position = getRtlPosition(position);
194 if ((tabStripChildCount == 0) || (position < 0) || (position >= tabStripChildCount)) {
198 mTabStrip.onPageScrolled(position, positionOffset, positionOffsetPixels);
202 public void onPageSelected(int position) { argument
225 getRtlPosition(int position) argument
[all...]
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DSimSelectorView.java144 public View getView(final int position, final View convertView, final ViewGroup parent) { argument
155 itemView.bind(getItem(position));
/packages/apps/Messaging/src/com/android/messaging/widget/
H A DBaseWidgetFactory.java203 public long getItemId(int position) { argument
204 return position;
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
H A DFakeCursor.java74 public boolean moveToPosition(final int position) { argument
75 if (position < 0 || position >= mData.length) {
78 mIndex = position;
/packages/apps/Music/src/com/android/music/
H A DMediaPickerActivity.java96 protected void onListItemClick(ListView l, View v, int position, long id) argument
98 mCursor.moveToPosition(position);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DTabsAdapter.java101 public Object instantiateItem(ViewGroup container, int position) { argument
102 View view = mTabs.get(position).view;
108 public void destroyItem(ViewGroup container, int position, Object object) { argument
119 int position = mTabHost.getCurrentTab();
120 mViewPager.setCurrentItem(position);
124 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
128 public void onPageSelected(int position) { argument
137 mTabHost.setCurrentTab(position);
141 View tab = widget.getChildTabViewAt(position);
146 final View contentView = mTabs.get(position)
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DLevenshteinDistance.java102 * string. The position of the token indicates the position in the source string of the
103 * token that was unchanged/replaced, or the position in the source after which a target
137 public EditOperation(int type, int position) { argument
139 mPosition = position;
/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/apps/Settings/src/com/android/settings/
H A DAppPicker.java78 protected void onListItemClick(ListView l, View v, int position, long id) { argument
79 MyApplicationInfo app = mAdapter.getItem(position);
152 public View getView(int position, View convertView, ViewGroup parent) { argument
157 MyApplicationInfo info = getItem(position);
H A DDateTimeSettingsSetupWizard.java233 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
234 final TimeZone tz = ZonePicker.obtainTimeZoneFromItem(parent.getItemAtPosition(position));
H A DPreviewSeekBarPreferenceFragment.java176 * Creates new configuration based on the current position of the SeekBar.
196 private void setPagerIndicatorContentDescription(int position) { argument
199 position + 1, mPreviewSampleResIds.length));
209 public void onPageScrolled(int position, float positionOffset,
215 public void onPageSelected(int position) {
227 public void onPageScrolled(int position, float positionOffset,
233 public void onPageSelected(int position) {
234 setPagerIndicatorContentDescription(position);
H A DSmsDefaultDialog.java176 public Object getItem(int position) { argument
177 return mItems != null && position < mItems.size() ? mItems.get(position) : null;
181 public long getItemId(int position) { argument
182 return position;
186 public View getView(int position, View convertView, ViewGroup parent) { argument
187 Item item = ((Item) getItem(position));
192 if (position == mSelectedIndex) {
205 * @param position the index of the item in the list
208 public String getPackageName(int position) { argument
222 isSelected(int position) argument
[all...]
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppOpsSummary.java66 public Fragment getItem(int position) { argument
67 return new AppOpsCategory(sPageTemplates[position]);
76 public CharSequence getPageTitle(int position) { argument
77 return mPageNames[position];
81 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
85 public void onPageSelected(int position) { argument
86 mCurPos = position;
H A DProcessStatsBase.java117 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
118 mDurationIndex = position;
119 mStatsManager.setDuration(sDurations[position]);

Completed in 1101 milliseconds

1234567891011>>