Searched defs:position (Results 176 - 200 of 357) sorted by relevance

1234567891011>>

/packages/apps/Dialer/InCallUI/src/com/android/incallui/
H A DAnswerFragment.java275 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 DInCallContactInteractions.java387 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 DCallLogActivity.java69 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 DDialerPhoneNumberListAdapter.java79 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 DSearchFragment.java238 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 DImageGetter.java75 // 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 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);
H A DMainPanel.java53 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 DMtpDeviceIndex.java39 * - 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 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));
H A DPopupList.java105 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 DGalleryActivity.java136 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 DMultiChoiceManager.java58 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 DMultiSelectGridFragment.java113 * 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 DHeaderGridView.java307 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 DInstallWidgetReceiver.java110 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 DAllAppsRecyclerView.java78 * 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 DPageIndicatorDots.java96 * 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 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/src/com/android/camera/ui/
H A DSharePopup.java82 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 DCompositeAdapter.java143 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 DCursorRecyclerAdapter.java163 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 DAttachmentChooserFragment.java168 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 DContactRecipientAdapter.java382 * 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...]

Completed in 1405 milliseconds

1234567891011>>