/packages/apps/Dialer/src/com/android/dialer/settings/ |
H A D | DialerSettingsActivity.java | 145 public void onHeaderClick(Header header, int position) { argument 159 super.onHeaderClick(header, position);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
H A D | StateAdapter.java | 46 public View getView(int position, View convertView, ViewGroup parent) { argument 52 State state = getItem(position);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/ |
H A D | MtpPagerAdapter.java | 69 public int translatePositionWithLabels(int position) { argument 73 return mModel.getPositionWithoutLabelsFromPosition(position, mSortOrder); 88 public void destroyItem(ViewGroup container, int position, Object object) { argument 96 public Object instantiateItem(ViewGroup container, int position) { argument 104 IngestObjectInfo i = mModel.getWithoutLabels(position, mSortOrder); 106 v.setPositionAndBroker(position, mBroker);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
H A D | MtpFullscreenView.java | 89 public void setPositionAndBroker(int position, CheckBroker b) { argument 93 mPosition = position; 96 setChecked(mBroker.isItemChecked(position)); 109 public void onCheckedChanged(int position, boolean isChecked) { argument 110 if (position == mPosition) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | ScrollBarView.java | 61 // The content position is between 0 to "total". The current position is 62 // in "position". 63 public void setContentPosition(int position, int total) { argument 64 if (position == mContentPosition && total == mContentTotal) { 70 mContentPosition = position;
|
H A D | ScrollerHelper.java | 41 * Call this when you want to know the new location. The position will be 65 public void setPosition(int position) { argument 67 position, 0, // startX, startY 70 // This forces the scroller to reach the final position.
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | AddAdapter.java | 77 public View getView(int position, View convertView, ViewGroup parent) { argument 78 ListItem item = (ListItem) getItem(position); 96 public Object getItem(int position) { argument 97 return mItems.get(position); 100 public long getItemId(int position) { argument 101 return position;
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | FixedViewPagerAdapter.java | 43 public Object instantiateItem(final ViewGroup container, final int position) { argument 44 final PagerViewHolder viewHolder = getViewHolder(position); 55 public void destroyItem(final ViewGroup container, final int position, final Object object) { argument 56 final PagerViewHolder viewHolder = getViewHolder(position); 126 protected int getRtlPosition(final int position) { argument 128 return mViewHolders.length - 1 - position; 130 return position;
|
H A D | PagingAwareViewPager.java | 48 int position = super.getCurrentItem(); 49 return getRtlPosition(position); 53 * Switches position in pager to be adjusted for if we are in RtL mode 55 * @param position 56 * @return position adjusted if in rtl mode 58 protected int getRtlPosition(final int position) { argument 61 return adapter.getCount() - 1 - position; 63 return position;
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
H A D | SettingsActivity.java | 132 public View getView(final int position, final View convertView, argument 143 final SettingsItem item = getItem(position);
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
H A D | ContactDropdownLayouter.java | 72 final int position, AdapterType type, final String substring, 81 return super.bindView(convertView, parent, entry, position, type, substring, 71 bindView(final View convertView, final ViewGroup parent, final RecipientEntry entry, final int position, AdapterType type, final String substring, final StateListDrawable deleteDrawable) argument
|
H A D | ContactListAdapter.java | 50 final int position = cursor.getPosition(); 51 final int section = mSectionIndexer.getSectionForPosition(position); 52 // Check if the position is the first in the section. 53 if (mSectionIndexer.getPositionForSection(section) == position) { 83 public int getSectionForPosition(final int position) { argument 84 return mSectionIndexer.getSectionForPosition(position);
|
/packages/apps/Messaging/src/com/android/messaging/ui/debug/ |
H A D | DebugMmsConfigFragment.java | 62 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { 63 listView.setAdapter(new MmsConfigAdapter(getActivity(), subIdArray[position])); 65 final int[] mccmnc = PhoneUtils.get(subIdArray[position]).getMccMnc(); 110 public View getView(final int position, final View convertView, final ViewGroup parent) { argument 118 final String key = mKeys.get(position); 138 public Object getItem(int position) { argument 139 return mKeys.get(position); 143 public long getItemId(int position) { argument 144 return position;
|
H A D | DebugSmsMmsFromDumpFileDialogFragment.java | 100 public View getView(final int position, final View view, final ViewGroup parent) { argument 110 final String file = getItem(position);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/settings/ |
H A D | PermissionsSettingsAdapter.java | 43 public void onBindViewHolder(WearableListView.ViewHolder holder, int position) { argument 44 super.onBindViewHolder(holder, position); 46 AppPermissionGroup group = get(position).data;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
H A D | QueryTextView.java | 101 void onCommitCompletion(int position); argument
|
H A D | SuggestionsListAdapter.java | 74 public Object getItem(int position) { argument 75 return getSuggestion(position); 79 public long getItemId(int position) { argument 80 return position; 84 public View getView(int position, View convertView, ViewGroup parent) { argument 86 getCurrentSuggestions(), position, position, convertView, parent); 90 public int getItemViewType(int position) { argument 91 return getSuggestionViewType(getCurrentSuggestions(), position);
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
H A D | SpinnerPreference.java | 55 public void setSelection(int position) { argument 56 mPosition = position; 78 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { 79 if (mPosition == position) return; 80 mPosition = position; 81 mCurrentObject = mAdapter.getItem(position); 82 mListener.onItemSelected(parent, view, position, id);
|
/packages/apps/Settings/src/com/android/settings/voice/ |
H A D | VoiceInputListPreference.java | 147 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/TV/src/com/android/tv/dvr/ui/ |
H A D | SortedArrayAdapter.java | 50 public final Object get(int position) { argument 51 return isEmpty() ? EmptyHolder.EMPTY_HOLDER : getItem(position); 55 public final long getId(int position) { argument 59 T item = mItems.get(position); 71 * Returns the item at the given {@code position}. 73 * @throws IndexOutOfBoundsException if the position is out of range 74 * (<tt>position < 0 || position >= size()</tt>) 76 final T getItem(int position) { argument 77 return mItems.get(position); [all...] |
/packages/apps/TV/src/com/android/tv/guide/ |
H A D | TimeListAdapter.java | 61 public int getItemViewType(int position) { argument 66 public void onBindViewHolder(TimeViewHolder holder, int position) { argument 67 long startTime = mStartUtcMs + position * TIME_UNIT_MS; 78 if (position == 0) {
|
/packages/apps/TV/src/com/android/tv/menu/ |
H A D | OptionsRowAdapter.java | 88 * Gets the action at the given position. 89 * Note that action at the position may differ from returned by {@link #createActions}. 92 protected MenuAction getAction(int position) { argument 93 return mActionList.get(position); 97 * Sets the action at the given position. 98 * Note that action at the position may differ from returned by {@link #createActions}. 101 protected void setAction(int position, MenuAction action) { argument 102 mActionList.set(position, action); 106 * Adds an action to the given position. 107 * Note that action at the position ma 110 addAction(int position, MenuAction action) argument 119 removeAction(int position) argument 128 onBindViewHolder(MyViewHolder viewHolder, int position) argument 136 getItemViewType(int position) argument [all...] |
/packages/apps/Tag/canon/src/com/android/apps/tagcanon/ |
H A D | TagCanon.java | 149 public void onListItemClick(ListView l, View v, int position, long id) { argument 150 TagDescription description = mAdapter.getItem(position);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
H A D | ScrollAdapterFragment.java | 63 public void setSelection(int position) { argument 64 mBase.setSelection(position); 67 public void setSelectionSmooth(int position) { argument 68 mBase.setSelectionSmooth(position);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ConversationPositionTracker.java | 29 * An iterator over a conversation list that keeps track of the position of a conversation, and 30 * updates the position accordingly when the underlying list data changes and the conversation 31 * is in a different position. 50 * Constructs a position tracker that doesn't point to any specific conversation. 56 /** Move cursor to a specific position and return the conversation there */ 57 private Conversation conversationAtPosition(int position){ argument 59 cursor.moveToPosition(position); 61 conv.position = position; 78 * @return the {@link Conversation} of the newer conversation by one position [all...] |