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

1234567891011>>

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactEntryListAdapter.java119 Context context, int partition, Cursor cursor, int position, ViewGroup parent) {
127 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
205 public abstract String getContactDisplayName(int position); argument
525 public int getItemViewType(int partitionIndex, int position) { argument
526 int type = super.getItemViewType(partitionIndex, position);
527 if (!isUserProfile(position)
530 Placement placement = getItemPlacementInSection(position);
648 * Checks whether the contact entry at the given position represents the user's profile.
650 protected boolean isUserProfile(int position) { argument
651 // The profile only ever appears in the first position i
118 newView( Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppTransferHistory.java196 mTransferCursor.moveToPosition(info.position);
197 mContextMenuPosition = info.position;
268 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
272 mTransferCursor.moveToPosition(position);
281 * appropriate position before calling this function
H A DBluetoothOppObexServerSession.java453 int position = 0;
464 while ((!mInterrupted) && (position != fileInfo.mLength)) {
471 if (D) Log.d(TAG, "Receive file reached stream end at position" + position);
476 position += readLength;
479 Log.v(TAG, "Receive file position = " + position + " readLength "
485 updateValues.put(BluetoothShare.CURRENT_BYTES, position);
504 if (position == fileInfo.mLength) {
508 if (D) Log.d(TAG, "Reading file failed at " + position
[all...]
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DImageUtils.h155 static void mapYUVInfoToImage(YUVinfo *img, unsigned char *position);
/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/LegacyCamera/jni/feature_mos/src/mosaic/
H A DImageUtils.h155 static void mapYUVInfoToImage(YUVinfo *img, unsigned char *position);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DQueryTextView.java101 void onCommitCompletion(int position); argument
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DVer2DictEncoder.java119 public void setPosition(final int position) { argument
120 if (mBuffer == null || position < 0 || position >= mBuffer.length) return;
121 mPosition = position;
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DRingtonePickerActivity.java62 /** The position in the list of the 'Silent' item. */
65 /** The position in the list of the 'Default' item. */
68 /** The position in the list of the last clicked item. */
71 /** The position in the list of the ringtone to sample. */
115 // Save the position of most recently clicked item
224 * @return The position of the inserted item.
290 public void onItemSelected(AdapterView parent, View view, int position, long id) { argument
291 playRingtone(position, DELAY_MS_SELECTION_PLAYED);
297 private void playRingtone(int position, int delayMs) { argument
299 mSampleRingtonePos = position;
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DPieControl.java307 public Tab getItem(int position) { argument
308 return mTabs.get(position);
312 public long getItemId(int position) { argument
313 return position;
317 public View getView(int position, View convertView, ViewGroup parent) { argument
318 final Tab tab = mTabs.get(position);
328 if (position > mCurrent) {
H A DNavTabScroller.java46 public void onRemovePosition(int position); argument
273 final int position = mContentView.indexOfChild(v);
291 translate = (position > 0) ? gap : 0;
292 newpos = position;
296 if (position < mAdapter.getCount() - 1) {
302 if (position < mAdapter.getCount() - 1) {
308 mGapPosition = position;
350 mRemoveListener.onRemovePosition(position);
/packages/apps/Dialer/src/com/android/dialer/list/
H A DSpeedDialFragment.java296 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
298 if (position <= contactTileAdapterCount) {
299 Log.e(TAG, "onItemClick() event for unexpected position. "
300 + "The position " + position + " is before \"all\" section. Ignored.");
317 final int position = firstVisiblePosition + i;
318 final long itemId = mContactTileAdapter.getItemId(position);
352 int position = firstVisiblePosition + i;
354 final long itemId = mContactTileAdapter.getItemId(position);
H A DPhoneFavoritesTileAdapter.java80 /** New position of the temporarily removed contact in the cache. */
82 /** New position of the temporarily entered contact in the cache. */
304 * Returns position of the first NON Starred Contact
339 * on the row for the given position.
342 public ContactEntry getItem(int position) { argument
343 return mContactEntries.get(position);
347 * For the top row of tiled contacts, the item id is the position of the row of
354 public long getItemId(int position) { argument
355 return getItem(position).id;
369 public boolean isEnabled(int position) { argument
382 getView(int position, View convertView, ViewGroup parent) argument
411 getItemViewType(int position) argument
[all...]
H A DSmartDialNumberListAdapter.java103 * Gets Uri for the list item at the given position.
104 * @param position Location of the data of interest.
107 public Uri getDataUri(int position) { argument
108 Cursor cursor = ((Cursor)getItem(position));
/packages/apps/Mms/src/com/android/mms/widget/
H A DMmsWidgetService.java203 * @return the {@link RemoteViews} for a specific position in the list.
206 public RemoteViews getViewAt(int position) { argument
208 Log.v(TAG, "getViewAt position: " + position);
213 || (mShouldShowViewMore && position >= getConversationCount())) {
217 if (!mConversationCursor.moveToPosition(position)) {
218 // If we ever fail to move to a position, return the "View More conversations"
220 Log.w(TAG, "Failed to move to position: " + position);
322 public long getItemId(int position) { argument
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSearchActivity.java379 int position = pos.getPosition();
384 if (position < 0 || position >= count) {
385 Log.w(TAG, "Invalid suggestion position " + position + ", count = " + count);
388 suggestions.moveTo(position);
423 protected void launchSuggestion(SuggestionCursor suggestions, int position) { argument
424 suggestions.moveTo(position);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
H A DSelectFromListWizardFragment.java254 public View getView(int position, View convertView, ViewGroup parent) {
255 View v = super.getView(position, convertView, parent);
256 ListItem item = getItem(position);
307 public void onItemClick(AdapterView<?> pare, View view, int position, long id) {
310 ((Listener) a).onListSelectionComplete(mListItems.get(position));
317 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
318 mLastSelected = mListItems.get(position);
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DLabeledEditorView.java100 AdapterView<?> parent, View view, int position, long id) {
101 onTypeSelectionChange(position);
459 protected void onTypeSelectionChange(int position) { argument
460 EditType selected = mEditTypeAdapter.getItem(position);
544 public View getView(int position, View convertView, ViewGroup parent) { argument
546 position, convertView, parent, android.R.layout.simple_spinner_item);
550 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
552 position, convertView, parent, android.R.layout.simple_spinner_dropdown_item);
555 private View createViewFromResource(int position, View convertView, ViewGroup parent, argument
570 EditType type = getItem(position);
[all...]
H A DPhotoActionPopup.java109 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
110 final ChoiceListItem choice = choices.get(position);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
H A DEmojiCategory.java222 // Returns the view pager's page position for the categoryId
248 // position. The category page id is numbered in each category. And the view page position
249 // is the position of the current shown page in the view pager which contains all pages of
251 public Pair<Integer, Integer> getCategoryIdAndPageIdFromPagePosition(final int position) { argument
256 if (sum > position) {
257 return new Pair<>(properties.mCategoryId, position - temp);
263 // Returns a keyboard from the view pager's page position.
264 public DynamicGridKeyboard getKeyboardFromPagePosition(final int position) { argument
266 getCategoryIdAndPageIdFromPagePosition(position);
[all...]
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackService.java468 ed.putLong("seekpos", mPlayer.position());
569 Log.d(LOGTAG, "restored queue, currently at position "
570 + position() + "/" + duration()
653 if (position() < 2000) {
723 // party-shuffle or because the play-position changed)
845 // insert the list of songs at the specified position in the playlist
846 private void addToPlayList(long [] list, int position) { argument
848 if (position < 0) { // overwrite
850 position = 0;
853 if (position > mPlayListLe
917 open(long [] list, int position) argument
1822 public long position() { method in class:MediaPlaybackService
2008 public long position() { method in class:MediaPlaybackService.MultiPlayer
2093 open(long [] list, int position) argument
2150 public long position() { method in class:MediaPlaybackService.ServiceStub
[all...]
/packages/apps/Nfc/src/com/android/nfc/handover/
H A DHandoverManager.java320 byte[] payloadBytes = new byte[payload.position()];
321 payload.position(0);
340 byte[] payloadBytes = new byte[payload.position()];
341 payload.position(0);
604 payload.position(1);
609 payload.position(14);
628 payload.position(2); // length
650 payload.position(payload.position() + len - 1);
677 payload.position(payloa
[all...]
/packages/apps/Browser/src/com/android/browser/widget/
H A DBookmarkWidgetConfigure.java76 protected void onListItemClick(ListView l, View v, int position, long id) { argument
77 BookmarkAccount account = mAccountAdapter.getItem(position);
/packages/apps/Contacts/src/com/android/contacts/list/
H A DJoinContactListFragment.java157 protected void onItemClick(int position, long id) { argument
158 final Uri contactUri = getAdapter().getContactUri(position);
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DPinnedHeaderListDemoActivity.java68 protected View newView(Context context, int partition, Cursor cursor, int position, argument
75 protected void bindView(View v, int partition, Cursor cursor, int position) { argument

Completed in 852 milliseconds

1234567891011>>