/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
H A D | AnswerFragment.java | 275 int position, long id) { 276 Log.d(this, "RespondViaSmsItemClickListener.onItemClick(" + position + ")..."); 277 final String message = (String) parent.getItemAtPosition(position); 283 if (position == (parent.getCount() - 1)) { 273 onItemClick(AdapterView<?> parent, View view, int position, long id) argument
|
H A D | InCallContactInteractions.java | 387 public View getView(int position, View convertView, ViewGroup parent) { argument 389 ContactContextInfo item = getItem(position);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | CallLogActivity.java | 69 public long getItemId(int position) { argument 70 return getRtlPosition(position); 74 public Fragment getItem(int position) { argument 75 switch (getRtlPosition(position)) { 82 throw new IllegalStateException("No fragment at position " + position); 86 public Object instantiateItem(ViewGroup container, int position) { argument 88 (CallLogFragment) super.instantiateItem(container, position); 89 switch (position) { 101 public CharSequence getPageTitle(int position) { argument 208 onPageScrolled(int position, float positionOffset, int positionOffsetPixels) argument 213 onPageSelected(int position) argument 225 sendScreenViewForChildFragment(int position) argument 229 getRtlPosition(int position) argument [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
H A D | DialerPhoneNumberListAdapter.java | 79 public int getItemViewType(int position) { argument 80 final int shortcut = getShortcutTypeFromPosition(position); 85 return super.getItemViewType(position); 96 public View getView(int position, View convertView, ViewGroup parent) { argument 97 final int shortcutType = getShortcutTypeFromPosition(position); 109 return super.getView(position, convertView, parent); 115 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { 116 final ContactListItemView view = super.newView(context, partition, cursor, position, 124 * @param position The position o 114 newView( Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument 128 getShortcutTypeFromPosition(int position) argument 151 isEnabled(int position) argument [all...] |
H A D | SearchFragment.java | 238 protected void onItemClick(int position, long id) { argument 240 final int shortcutType = adapter.getShortcutTypeFromPosition(position); 249 super.onItemClick(position, id); 290 * Updates the position and padding of the search fragment, depending on whether the dialpad is
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ImageGetter.java | 75 // The base position that's being retrieved. The actual images retrieved 102 private Runnable callback(final int position, final int offset, argument 111 mCB.imageLoaded(position, offset, bitmap, isThumb); 267 public synchronized void setPosition(int position, ImageGetterCallback cb, argument 273 mCurrentPosition = position;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
H A D | CategoryAdapter.java | 91 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);
|
H A D | MainPanel.java | 53 private void selection(int position, boolean value) { argument 56 activity.setCurrentPanel(position); 58 switch (position) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
H A D | MtpDeviceIndex.java | 39 * - get/getAscending/getDescending: get an item at a specified list position 237 * @param position Index of item to fetch, where 0 is the first item in the 240 * @return the bucket label or IngestObjectInfo at the specified position and 243 public Object get(int position, SortOrder order) { argument 249 DateBucket bucket = results.buckets[results.unifiedLookupIndex[position]]; 250 if (bucket.unifiedStartIndex == position) { 253 return results.mtpObjects[bucket.itemsStartIndex + position - 1 257 int zeroIndex = results.unifiedLookupIndex.length - 1 - position; 269 * @param position Index of item to fetch from a view of the data that does not 271 * @return position 273 getWithoutLabels(int position, SortOrder order) argument 292 getPositionFromPositionWithoutLabels(int position, SortOrder order) argument 334 getPositionWithoutLabelsFromPosition(int position, SortOrder order) argument 386 getBucketNumberForPosition(int position, SortOrder order) argument 403 isFirstInBucket(int position, SortOrder order) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | DialogDetailsView.java | 255 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));
|
H A D | PopupList.java | 105 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 120 // Need to update the position of the popup window 186 public Object getItem(int position) { argument 187 return mItems.get(position); 191 public long getItemId(int position) { argument 192 return mItems.get(position).id; 196 public View getView(int position, View convertView, ViewGroup parent) { argument 202 text.setText(mItems.get(position).title);
|
/packages/apps/Gallery2/src/com/android/photos/ |
H A D | GalleryActivity.java | 136 public Fragment getItem(int position) { argument 137 TabInfo info = mTabs.get(position); 143 public void onPageScrolled(int position, float positionOffset, argument 148 public void onPageSelected(int position) { argument 149 mActionBar.setSelectedNavigationItem(position); 153 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument 154 super.setPrimaryItem(container, position, object);
|
H A D | MultiChoiceManager.java | 58 public Object getItemAtPosition(int position); argument 59 public Object getPathForItemAtPosition(int position); argument 109 public void onItemCheckedStateChanged(ActionMode mode, int position, long id, argument 112 Object item = mDelegate.getItemAtPosition(position);
|
H A D | MultiSelectGridFragment.java | 113 * getGridView().getItemAtPosition(position) if they need to access the data 118 * @param position The position of the view in the grid 121 public void onGridItemClick(GridView g, View v, int position, long id) { argument 141 * Set the currently selected grid item to the specified position with the 144 * @param position 146 public void setSelection(int position) { argument 148 mGrid.setSelection(position); 152 * Get the position of the currently selected grid item. 323 public Object getItemAtPosition(int position) { argument 328 getPathForItemAtPosition(int position) argument 345 onItemClick(AdapterView<?> parent, View v, int position, long id) argument [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
H A D | HeaderGridView.java | 307 public boolean isEnabled(int position) { argument 310 if (position < numHeadersAndPlaceholders) { 311 return (position % mNumColumns == 0) 312 && mHeaderViewInfos.get(position / mNumColumns).isSelectable; 316 final int adjPosition = position - numHeadersAndPlaceholders; 325 throw new ArrayIndexOutOfBoundsException(position); 329 public Object getItem(int position) { argument 332 if (position < numHeadersAndPlaceholders) { 333 if (position % mNumColumns == 0) { 334 return mHeaderViewInfos.get(position / mNumColumn 353 getItemId(int position) argument 374 getView(int position, View convertView, ViewGroup parent) argument 408 getItemViewType(int position) argument [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | InstallWidgetReceiver.java | 110 public Object getItem(int position) { argument 115 public long getItemId(int position) { argument 116 return position; 125 public View getView(int position, View convertView, ViewGroup parent) { argument 140 final WidgetMimeTypeHandlerData data = mActivities.get(position); 161 public int getItemViewType(int position) { argument 181 public boolean isEnabled(int position) { argument
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | AllAppsRecyclerView.java | 78 * Sets the list of apps in this view, used to determine the fastscroll position. 212 int position = getChildPosition(icon); 213 if (position != NO_POSITION) { 215 AlphabeticalAppsList.AdapterItem item = items.get(position); 245 * Maps the touch (from 0..1) to the adapter position that should be visible. 323 // Calculate the current scroll position, the scrollY of the recycler view accounts 334 // current scroll position. We do this by mapping the difference in movement 335 // from the original scroll bar position to the difference in movement necessary 336 // in the detached thumb position to ensure that both speed towards the same 337 // position a 387 getCurrentScrollY(int position, int offset) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
H A D | PageIndicatorDots.java | 96 * The current position of the active dot including the animation progress. 98 * 0.0 => Active dot is at position 0 99 * 0.33 => Active dot is at position 0 and is moving towards 1 100 * 0.50 => Active dot is at position [0, 1] 101 * 0.77 => Active dot has left position 0 and is collapsing towards position 1 102 * 1.0 => Active dot is at position 1 154 private void animateToPostion(float position) { argument 155 mFinalPosition = position;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | ImageUtils.cpp | 364 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 D | Pyramid.cpp | 40 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/src/com/android/camera/ui/ |
H A D | SharePopup.java | 82 public View getView(int position, View convertView, ViewGroup parent) { argument 83 View v = super.getView(position, convertView, parent);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | CompositeAdapter.java | 143 public int getPartitionAtPosition(final int position) { argument 148 if (position >= start && position < end) { 149 int offset = position - start; 194 public Object getItem(final int position) { argument 199 if (position >= start && position < end) { 200 final int offset = position - start; 216 public long getItemId(final int position) { argument 221 if (position > 238 isEnabled(int position) argument 259 getView(final int position, final View convertView, final ViewGroup parentView) argument [all...] |
H A D | CursorRecyclerAdapter.java | 163 public Object getItem(final int position) { argument 165 mCursor.moveToPosition(position); 176 public long getItemId(final int position) { argument 178 if (mCursor.moveToPosition(position)) { 194 public void onBindViewHolder(final VH holder, final int position) { argument 198 if (!mCursor.moveToPosition(position)) { 199 throw new IllegalStateException("couldn't move cursor to position " + position); 208 * moved to the correct position.
|
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/ |
H A D | AttachmentChooserFragment.java | 168 public View getView(final int position, final View convertView, final ViewGroup parent) { argument 170 final MessagePartData item = getItem(position);
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
H A D | ContactRecipientAdapter.java | 382 * the {@link BaseRecipientAdapter}. Please notice that we need to fix the position 387 public View getView(int position, View convertView, ViewGroup parent) { argument 389 if (isDirectoryEntry(position)) { 398 return super.getView(fixPosition(position), convertView, parent); 402 public RecipientEntry getItem(int position) { argument 403 if (isDirectoryEntry(position)) { 406 return super.getItem(fixPosition(position)); 415 public int getItemViewType(int position) { argument 416 if (isDirectoryEntry(position)) { 419 return super.getItemViewType(fixPosition(position)); 423 isEnabled(int position) argument 435 isDirectoryEntry(int position) argument 442 fixPosition(int position) argument [all...] |