Searched refs:position (Results 151 - 175 of 420) sorted by relevance

1234567891011>>

/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DFromAddressSpinnerAdapter.java76 public View getView(int position, View convertView, ViewGroup parent) { argument
77 ReplyFromAccount fromItem = getItem(position);
93 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
94 ReplyFromAccount fromItem = getItem(position);
117 // Get the position of the current account
/packages/services/Telephony/src/com/android/phone/
H A DFdnList.java115 public void onListItemClick(ListView l, View v, int position, long id) { argument
117 editSelected(position);
139 * Edit the item at the selected position in the list.
141 private void editSelected(int position) { argument
142 if (mCursor.moveToPosition(position)) {
/packages/apps/Calendar/src/com/android/calendar/month/
H A DSimpleDayPickerFragment.java145 // This allows us to update our position when a day is tapped
328 int position = (offset + i) % 7;
329 label.setText(mDayLabels[position]);
331 if (position == Time.SATURDAY) {
333 } else if (position == Time.SUNDAY) {
391 // current position, so return after setting the selected day.
403 int position = Utils.getWeeksSinceEpochFromJulianDay(
421 // Compute the first and last position visible
438 Log.d(TAG, "GoTo position " + position);
[all...]
H A DSimpleWeeksAdapter.java195 public Object getItem(int position) { argument
200 public long getItemId(int position) { argument
201 return position;
206 public View getView(int position, View convertView, ViewGroup parent) { argument
228 if (mSelectedWeek == position) {
239 drawingParams.put(SimpleWeekView.VIEW_PARAMS_WEEK, position);
/packages/apps/Contacts/tests/src/com/android/contacts/widget/
H A DCompositeListAdapterTest.java51 public View getView(int position, View convertView, ViewGroup parent) { argument
52 return new MockView(getContext(), position);
61 public boolean isEnabled(int position) { argument
62 return enabledItems.contains(position);
71 public int getItemViewType(int position) { argument
72 return viewTypes.get(position);
77 public MockView(Context context, int position) { argument
79 setTag(position);
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DViewPagerTabStrip.java59 * 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/Nfc/src/com/android/nfc/cardemulation/
H A DAppChooserActivity.java167 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
168 DisplayAppInfo info = (DisplayAppInfo) mListAdapter.getItem(position);
226 public Object getItem(int position) { argument
227 return mList.get(position);
231 public long getItemId(int position) { argument
232 return position;
236 public View getView(int position, View convertView, ViewGroup parent) { argument
254 DisplayAppInfo appInfo = mList.get(position);
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppOpsCategory.java270 public AppOpEntry getItem(int position) { argument
271 return mList.get(position);
275 public long getItemId(int position) { argument
276 return position;
282 @Override public View getView(int position, View convertView, ViewGroup parent) { argument
291 AppOpEntry item = getItem(position);
341 @Override public void onListItemClick(ListView l, View v, int position, long id) { argument
342 AppOpEntry entry = mAdapter.getItem(position);
H A DRunningProcessesView.java271 public Object getItem(int position) { argument
272 return mItems.get(position);
275 public long getItemId(int position) { argument
276 return mItems.get(position).hashCode();
283 public boolean isEnabled(int position) { argument
284 return !mItems.get(position).mIsProcess;
287 public View getView(int position, View convertView, ViewGroup parent) { argument
294 bindView(v, position);
304 public void bindView(View view, int position) { argument
306 if (position >
400 onItemClick(AdapterView<?> parent, View v, int position, long id) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationOverlayItem.java159 public void setPosition(int position) { argument
160 mPosition = position;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DCategoryAdapter.java91 public View getView(int position, View convertView, ViewGroup parent) { argument
97 Action action = getItem(position);
114 view.setTag(position);
132 private void invalidateView(int position) { argument
136 child = lv.getChildAt(position - lv.getFirstVisiblePosition());
139 child = ct.getChildAt(position);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DLiveWallpaperListAdapter.java76 public LiveWallpaperTile getItem(int position) { argument
77 return mWallpapers.get(position);
80 public long getItemId(int position) { argument
81 return position;
84 public View getView(int position, View convertView, ViewGroup parent) { argument
95 LiveWallpaperTile wallpaperInfo = mWallpapers.get(position);
/packages/experimental/BugReportSender/src/com/android/bugreportsender/
H A DBugReportListActivity.java106 protected void onListItemClick(ListView l, View v, int position, long id) { argument
107 super.onListItemClick(l, v, position, id);
108 if (position < mFiles.size()) {
109 File file = mFiles.get(position);
130 if (info.position >= mFiles.size()) {
139 File file = mFiles.get(info.position);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictDecoderUtils.java45 public int position(); method in interface:BinaryDictDecoderUtils.DictBuffer
46 public void position(int newPosition); method in interface:BinaryDictDecoderUtils.DictBuffer
83 public int position() { method in class:BinaryDictDecoderUtils.ByteBufferDictBuffer
84 return mBuffer.position();
88 public void position(int newPos) { method in class:BinaryDictDecoderUtils.ByteBufferDictBuffer
89 mBuffer.position(newPos);
281 * Finds, as a string, the word at the position passed as an argument.
285 * @param pos the position to seek.
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
H A DLiveWallpaperListAdapter.java90 public Object getItem(int position) { argument
91 return mWallpapers.get(position);
94 public long getItemId(int position) { argument
95 return position;
98 public View getView(int position, View convertView, ViewGroup parent) { argument
111 LiveWallpaperInfo wallpaperInfo = mWallpapers.get(position);
/packages/apps/Gallery2/src/com/android/photos/views/
H A DGalleryThumbnailView.java44 * @param position Position to get the intrinsic aspect ratio for
47 float getIntrinsicAspectRatio(int position); argument
231 * @param startPosition Logical position in the list to start from
233 * @param forward If true, align left edge to x and increase position.
234 * If false, align right edge to x and decrease position.
257 int position = startPosition + (forward ? i : -i);
258 View child = obtainView(position, null);
266 int heightSize = (int) (.5f + (mAdapter.getIntrinsicAspectRatio(position) >= 1f
435 * is always the view corresponding to position mFirstPosition + i.
597 * @param position positio
601 obtainView(int position, View optScrap) argument
712 int position; field in class:GalleryThumbnailView.LayoutParams
835 getTransientStateView(int position) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DPeopleActivity.java615 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
617 mViewPagerTabs.onPageScrolled(position, positionOffset, positionOffsetPixels);
622 public void onPageSelected(int position) { argument
623 // Make sure not in the search mode, in which case position != TabState.ordinal().
625 mActionBarAdapter.setCurrentTab(position, false);
626 mViewPagerTabs.onPageSelected(position);
627 showEmptyStateForTab(position);
694 private Fragment getFragment(int position) { argument
695 position = getTabPositionForTextDirection(position);
715 instantiateItem(ViewGroup container, int position) argument
728 destroyItem(ViewGroup container, int position, Object object) argument
750 setPrimaryItem(ViewGroup container, int position, Object object) argument
773 getPageTitle(int position) argument
1276 getTabPositionForTextDirection(int position) argument
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DGalleryPicker.java94 int position, long id) {
95 launchFolderGallery(position);
197 private void launchFolderGallery(int position) { argument
198 mAdapter.mItems.get(position).launch(this);
203 int position = ((AdapterContextMenuInfo) menuInfo).position;
204 menu.setHeaderTitle(mAdapter.baseTitleForPosition(position));
206 if ((mAdapter.getIncludeMediaTypes(position)
227 int position = info.position;
895 getItem(int position) argument
899 getItemId(int position) argument
903 baseTitleForPosition(int position) argument
907 getIncludeMediaTypes(int position) argument
911 getView(final int position, View convertView, ViewGroup parent) argument
[all...]
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DImageUtils.cpp364 unsigned char *position = 0; local
382 position = block;
391 mapYUVInfoToImage(yuv, position);
396 // position = starting pixel in image.
397 void YUVinfo::mapYUVInfoToImage(YUVinfo *img, unsigned char *position) argument
400 for (i = 0; i < img->Y.height; i++, position += img->Y.width)
401 img->Y.ptr[i] = position;
402 for (i = 0; i < img->V.height; i++, position += img->V.width)
403 img->V.ptr[i] = position;
404 for (i = 0; i < img->U.height; i++, position
[all...]
H A DPyramid.cpp40 ImageTypeShort position = (ImageTypeShort) &y[lines]; local
49 for (int j = height + border2; j--; y++, position += curr->pitch) {
50 *y = position + border;
71 short *position = (short *) &y[height + border2]; local
77 position += border; // Move position down to origin of real image
80 for (int j = height + border2; j--; y++, position += img->pitch) {
81 *y = position;
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DImageUtils.cpp364 unsigned char *position = 0; local
382 position = block;
391 mapYUVInfoToImage(yuv, position);
396 // position = starting pixel in image.
397 void YUVinfo::mapYUVInfoToImage(YUVinfo *img, unsigned char *position) argument
400 for (i = 0; i < img->Y.height; i++, position += img->Y.width)
401 img->Y.ptr[i] = position;
402 for (i = 0; i < img->V.height; i++, position += img->V.width)
403 img->V.ptr[i] = position;
404 for (i = 0; i < img->U.height; i++, position
[all...]
H A DPyramid.cpp40 ImageTypeShort position = (ImageTypeShort) &y[lines]; local
49 for (int j = height + border2; j--; y++, position += curr->pitch) {
50 *y = position + border;
71 short *position = (short *) &y[height + border2]; local
77 position += border; // Move position down to origin of real image
80 for (int j = height + border2; j--; y++, position += img->pitch) {
81 *y = position;
/packages/apps/Camera2/src/com/android/camera/ui/
H A DDetailsDialog.java214 public boolean isEnabled(int position) { argument
224 public Object getItem(int position) { argument
225 return mMediaDetails.getDetail(position);
229 public long getItemId(int position) { argument
230 return position;
234 public View getView(int position, View convertView, ViewGroup parent) { argument
242 tv.setText(mItems.get(position));
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DDialogDetailsView.java255 public boolean isEnabled(int position) { argument
265 public Object getItem(int position) { argument
266 return mDetails.getDetail(position);
270 public long getItemId(int position) { argument
271 return position;
275 public View getView(int position, View convertView, ViewGroup parent) { argument
283 tv.setText(mItems.get(position));
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DFolderSelectorAdapter.java290 public Object getItem(int position) { argument
291 return mFolderRows.get(position);
295 public long getItemId(int position) { argument
296 return position;
300 public int getItemViewType(int position) { argument
310 public View getView(int position, View convertView, ViewGroup parent) { argument
317 final FolderRow row = (FolderRow) getItem(position);

Completed in 3089 milliseconds

1234567891011>>