Searched refs:position (Results 201 - 225 of 465) sorted by relevance

1234567891011>>

/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/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.java291 public Object getItem(int position) { argument
292 return mFolderRows.get(position);
296 public long getItemId(int position) { argument
297 return position;
301 public int getItemViewType(int position) { argument
311 public View getView(int position, View convertView, ViewGroup parent) { argument
318 final FolderRow row = (FolderRow) getItem(position);
H A DHierarchicalFolderSelectorAdapter.java55 public View getView(int position, View convertView, ViewGroup parent) { argument
56 final View view = super.getView(position, convertView, parent);
57 final FolderRow row = (FolderRow) getItem(position);
/packages/apps/Settings/src/com/android/settings/applications/
H A DManageApplications.java603 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
604 if (mApplications != null && mApplications.getCount() > position) {
605 ApplicationsState.AppEntry entry = mApplications.getAppEntry(position);
613 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
614 mFilter = mFilterAdapter.getFilter(position);
653 public int getFilter(int position) { argument
654 return mFilterOptions.get(position);
704 public CharSequence getItem(int position) { argument
705 return getFilterString(mFilterOptions.get(position));
717 * An index value on each AppInfo object indicates the correct position o
1099 getItem(int position) argument
1103 getAppEntry(int position) argument
1107 getItemId(int position) argument
1117 isEnabled(int position) argument
1125 getView(int position, View convertView, ViewGroup parent) argument
1221 getSectionForPosition(int position) argument
1273 final int position; field in class:ManageApplications.SectionInfo
1275 SectionInfo(String label, int position) argument
[all...]
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...]
H A DProcessStatsBase.java117 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
118 mDurationIndex = position;
119 mStatsManager.setDuration(sDurations[position]);
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarViewAdapter.java145 public Object getItem(int position) { argument
146 if (position < mButtonNames.length) {
147 return mButtonNames[position];
153 public long getItemId(int position) { argument
155 return position;
164 public View getView(int position, View convertView, ViewGroup parent) { argument
244 public int getItemViewType(int position) { argument
260 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
264 switch (position) {
/packages/apps/DeskClock/src/com/android/deskclock/
H A DClockFragment.java349 public Object getItem(int position) { argument
351 return position == 0 ? getHomeCity() : getCities().get(position - 1);
354 return getCities().get(position);
358 public long getItemId(int position) { argument
359 return position;
363 public View getView(int position, View view, ViewGroup parent) { argument
365 final City city = (City) getItem(position);
414 public boolean isEnabled(int position) { argument
/packages/apps/Dialer/src/com/android/dialer/list/
H A DSpeedDialFragment.java335 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
337 if (position <= contactTileAdapterCount) {
338 Log.e(TAG, "onItemClick() event for unexpected position. "
339 + "The position " + position + " is before \"all\" section. Ignored.");
356 final int position = firstVisiblePosition + i;
357 // Since we are getting the position from mListView and then querying
360 if (!mContactTileAdapter.isIndexInBound(position)) {
363 final long itemId = mContactTileAdapter.getItemId(position);
396 int position
[all...]
H A DRegularSearchListAdapter.java45 CachedNumberLookupService lookupService, int position) {
48 final Cursor item = (Cursor) getItem(position);
51 (DirectoryPartition) getPartition(getPartitionForPosition(position));
44 getContactInfo( CachedNumberLookupService lookupService, int position) argument
/packages/apps/DeskClock/src/com/android/alarmclock/
H A DDigitalWidgetViewsFactory.java110 public synchronized RemoteViews getViewAt(int position) { argument
112 final int leftIndex = position * 2 + homeClockOffset;
137 final boolean lastRow = position == getCount() - 1;
145 public long getItemId(int position) { argument
146 return position;
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallLogAdapter.java116 // Tracks the position of the currently expanded list item.
118 // Tracks the rowId of the currently expanded list item, so the position can be updated if there
446 * @param position The position of the entry.
449 public void onBindViewHolder(ViewHolder viewHolder, int position) { argument
450 Trace.beginSection("onBindViewHolder: " + position);
452 switch (getItemViewType(position)) {
457 bindCallLogListViewHolder(viewHolder, position);
481 * @param position The position o
484 bindCallLogListViewHolder(ViewHolder viewHolder, int position) argument
625 getItemViewType(int position) argument
640 getItem(int position) argument
647 getGroupSize(int position) argument
[all...]
/packages/apps/Settings/src/com/android/settings/voice/
H A DVoiceInputListPreference.java147 public boolean isEnabled(int position) { argument
148 return mAvailableIndexes.contains(position);
152 public View getView(int position, View convertView, ViewGroup parent) { argument
153 View view = super.getView(position, convertView, parent);
154 view.setEnabled(isEnabled(position));
/packages/apps/Stk/src/com/android/stk/
H A DStkLauncherActivity.java80 protected void onListItemClick(ListView l, View v, int position, long id) { argument
81 super.onListItemClick(l, v, position, id);
87 Item item = getSelectedItem(position);
144 private Item getSelectedItem(int position) { argument
148 item = mStkMenuList.get(position);
/packages/apps/Terminal/src/com/android/terminal/
H A DTerminalActivity.java89 public Object instantiateItem(ViewGroup container, int position) {
93 final Terminal term = mService.getTerminals().valueAt(position);
107 public void destroyItem(ViewGroup container, int position, Object object) {
140 public CharSequence getPageTitle(int position) {
141 return mService.getTerminals().valueAt(position).getTitle();
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DAlbumDataAdapter.java63 public boolean isSelected(int position) { argument
64 PhotoSource.AlbumData data = getItem(position);
82 public View getView(int position, View convertView, ViewGroup parent) { argument
87 PhotoSource.AlbumData data = getItem(position);
92 checkBox.setChecked(isSelected(position));
/packages/services/Car/car-support-lib/src/android/support/car/ui/
H A DQuantumInterpolator.java120 int position = Math.min(
124 float quantized = position * mStepSize;
128 return mValues[position] + weight * (mValues[position + 1] - mValues[position]);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppObexClientSession.java340 long position = 0;
404 if (!mInterrupted && (position != fileInfo.mLength)) {
417 position += readLength;
431 updateValues.put(BluetoothShare.CURRENT_BYTES, position);
439 while (!mInterrupted && okToProceed && (position < fileInfo.mLength)) {
453 position += readLength;
455 Log.v(TAG, "Sending file position = " + position
460 percent = position * 100 / fileInfo.mLength;
463 updateValues.put(BluetoothShare.CURRENT_BYTES, position);
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DPinnedHeaderListView.java62 * needs to change its position or visibility.
67 * Returns the list position to scroll to if the pinned header is touched.
208 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
229 setSelectionFromTop(position, windowTop);
231 setSelectionFromTop(position, windowBottom - selectedView.getHeight());
236 mOnItemSelectedListener.onItemSelected(parent, view, position, id);
256 * @param y is position of the header in pixels.
274 * @param y is position of the header in pixels.
306 * @param position is position o
308 setFadingHeader(int viewIndex, int position, boolean fade) argument
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DDisplay.java110 int position, long id) {
111 if (position == 0) {
113 } else if (position == 2) {
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationViewAdapter.java66 * to {@link ConversationContainer} so that it can position overlays properly.
583 public @ConversationViewType int getItemViewType(int position) { argument
584 return mItems.get(position).getType();
593 public ConversationOverlayItem getItem(int position) { argument
594 return mItems.get(position);
598 public long getItemId(int position) { argument
599 return position; // TODO: ensure this works well enough
603 public View getView(int position, View convertView, ViewGroup parent) { argument
604 return getView(getItem(position), convertView, parent, false /* measureOnly */);
682 // update position fo
[all...]

Completed in 641 milliseconds

1234567891011>>