/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | JoinContactListAdapter.java | 135 public int getItemViewType(int partition, int position) { argument 136 return super.getItemViewType(partition, position); 167 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { 171 return super.newView(context, partition, cursor, position, parent); 181 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument 182 super.bindView(itemView, partition, cursor, position); 193 bindSectionHeaderAndDivider(view, position, cursor); 166 newView( Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
H A D | SearchContactCursor.java | 112 int position = cursor.getPosition(); 119 previousMostQualifiedPosition = position; 130 queryFilteredPositions.add(position); 133 previousMostQualifiedPosition = position; 138 previousMostQualifiedPosition = position; 185 public boolean moveToPosition(int position) { argument 186 currentPosition = position;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
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/Settings/src/com/android/settings/ |
H A D | PreviewSeekBarPreferenceFragment.java | 176 * Creates new configuration based on the current position of the SeekBar. 196 private void setPagerIndicatorContentDescription(int position) { argument 199 position + 1, mPreviewSampleResIds.length)); 209 public void onPageScrolled(int position, float positionOffset, 215 public void onPageSelected(int position) { 227 public void onPageScrolled(int position, float positionOffset, 233 public void onPageSelected(int position) { 234 setPagerIndicatorContentDescription(position);
|
H A D | DeviceAdminSettings.java | 191 public void onListItemClick(ListView l, View v, int position, long id) { argument 192 Object o = l.getAdapter().getItem(position); 227 * The item for the given position in the list. 232 public Object getItem(int position) { argument 233 return ((DeviceAdminListItem) (mAdmins.get(position))).info; 237 public long getItemId(int position) { argument 238 return position; 258 public int getItemViewType(int position) { argument 263 public boolean isEnabled(int position) { argument 264 Object o = getItem(position); 278 getView(int position, View convertView, ViewGroup parent) argument [all...] |
/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | ListDialogPreference.java | 153 public void onItemClick(AdapterView<?> adapter, View v, int position, long id) { 268 public Integer getItem(int position) { argument 269 return mEntryValues[position]; 273 public long getItemId(int position) { argument 274 return mEntryValues[position]; 283 public View getView(int position, View convertView, ViewGroup parent) { argument 290 onBindListItem(convertView, position);
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
H A D | UserDictionarySettings.java | 147 public void onListItemClick(ListView l, View v, int position, long id) { argument 148 final String word = getWord(position); 149 final String shortcut = getShortcut(position); 199 private String getWord(final int position) { argument 201 mCursor.moveToPosition(position); 209 private String getShortcut(final int position) { argument 211 mCursor.moveToPosition(position); 290 public int getSectionForPosition(int position) { argument 291 return null == mIndexer ? 0 : mIndexer.getSectionForPosition(position);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
H A D | UserDictionarySettings.java | 206 public void onListItemClick(ListView l, View v, int position, long id) { argument 207 final String word = getWord(position); 208 final String shortcut = getShortcut(position); 260 private String getWord(final int position) { argument 262 mCursor.moveToPosition(position); 270 private String getShortcut(final int position) { argument 273 mCursor.moveToPosition(position); 342 public int getSectionForPosition(final int position) { argument 343 return null == mIndexer ? 0 : mIndexer.getSectionForPosition(position);
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | QuickResponseActivity.java | 84 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 87 if (mResponses != null && position < mResponses.length - 1) { 88 body = mResponses[position];
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
H A D | TelecomActivity.java | 448 protected boolean usesSmallLayout(int position) { argument 458 public void populateViewHolder(DrawerItemViewHolder holder, int position) { argument 459 CallLogListingTask.CallLogItem item = mItems.get(position); 466 public void onItemClick(int position) { argument 468 mUiCallManager.safePlaceCall(mItems.get(position).mNumber, false); 489 public void populateViewHolder(DrawerItemViewHolder holder, int position) { argument 492 switch (position) { 506 Log.wtf(TAG, "Unexpected position: " + position); 513 if (position > 521 onItemClick(int position) argument [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
H A D | TabModel.java | 88 * @param position the position of the tab in the user interface 91 Tab getTabAt(int position) { argument 94 ordinal = getTabCount() - position - 1; 96 ordinal = position; 125 // Notify of the vertical scroll position change if there is one. 140 * @param tabScrollListener to be notified when the scroll position of the selected tab changes 147 * @param tabScrollListener to be notified when the scroll position of the selected tab changes 156 * @param tab an enumerated value indicating the tab reporting its vertical scroll position 157 * @param scrolledToTop {@code true} iff the vertical scroll position o [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
H A D | EmailMessageCursor.java | 67 final int position = cursor.getPosition(); 80 mHtmlParts.put(position, sanitizedHtml); 95 mTextParts.put(position, underlyingTextString);
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
H A D | FadeAndShortSlide.java | 53 public abstract float getGoneX(ViewGroup sceneRoot, View view, int[] position, argument 59 public float getGoneX(ViewGroup sceneRoot, View view, int[] position, int distance) { 73 public float getGoneX(ViewGroup sceneRoot, View view, int[] position, int distance) { 117 int[] position = new int[2]; 118 view.getLocationOnScreen(position); 119 transitionValues.values.put(PROPNAME_SCREEN_POSITION, position); 220 int[] position = (int[]) endValues.values.get(PROPNAME_SCREEN_POSITION); 221 int left = position[0]; 223 float startX = mSlideCalculator.getGoneX(sceneRoot, view, position, mDistance); 245 int[] position [all...] |
/packages/apps/TV/src/com/android/tv/guide/ |
H A D | GenreListAdapter.java | 69 public int getItemViewType(int position) { argument 74 public void onBindViewHolder(GenreRowHolder holder, int position) { argument 76 int genreId = filteredGenreIds.get(position);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | FolderSelectionDialog.java | 77 protected abstract void onListItemClick(int position); argument 102 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 103 onListItemClick(position);
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | AllAppsFastScrollHelper.java | 96 if (mTargetFastScrollPosition != info.fastScrollToItem.position) { 97 mTargetFastScrollPosition = info.fastScrollToItem.position; 105 * Smoothly snaps to a given position. We do this manually by calculating the keyframes 140 // Calculate the full animation from the current scroll position to the final scroll 141 // position, and then run the animation for the duration. If we are scrolling to the 145 int newPosition = info.fastScrollToItem.position; 166 // Stop animating the fast scroll position and state 215 item.position == mTargetFastScrollPosition;
|
H A D | AllAppsGridAdapter.java | 154 * Returns the number of rows before {@param adapterPosition}, including this position 181 public int getSpanSize(int position) { argument 182 if (isIconViewType(mApps.getAdapterItems().get(position).viewType)) { 333 public void onBindViewHolder(ViewHolder holder, int position) { argument 337 AppInfo info = mApps.getAdapterItems().get(position).appInfo; 343 mApps.getAdapterItems().get(position).appInfo; 404 public int getItemViewType(int position) { argument 405 AlphabeticalAppsList.AdapterItem item = mApps.getAdapterItems().get(position); 484 * @return The app position is the position o 494 getAppPosition(int position, int numPredictedApps, int appsPerRow) argument [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | OtherSettingsPopup.java | 73 public View getView(int position, View convertView, ViewGroup parent) { argument 76 ListPreference pref = mListItem.get(position); 137 public void onItemClick(AdapterView<?> parent, View view, int position, argument 139 if ((position == mListItem.size() - 1) && (mListener != null)) {
|
/packages/services/Car/evs/app/ |
H A D | ConfigManager.h | 28 float position[3] = {0}; // x, y, z -> right, fwd, up in the units of car space member in struct:ConfigManager::CameraInfo
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | SimpleDayPickerFragment.java | 145 // This allows us to update our position when a day is tapped 328 int position = (offset + i) % 7; 329 label.setText(mDayLabels[position]); 331 if (position == Time.SATURDAY) { 333 } else if (position == Time.SUNDAY) { 391 // current position, so return after setting the selected day. 403 int position = Utils.getWeeksSinceEpochFromJulianDay( 421 // Compute the first and last position visible 438 Log.d(TAG, "GoTo position " + position); [all...] |
/packages/apps/Dialer/java/com/android/incallui/ |
H A D | ConferenceParticipantListAdapter.java | 138 * @param position Position of the item whose data we want within the adapter's data set. 142 public Object getItem(int position) { argument 143 return mConferenceParticipants.get(position); 147 * Retreives the adapter-specific item id for an item at a specified position. 149 * @param position The position of the item within the adapter's data set whose row id we want. 153 public long getItemId(int position) { argument 154 return position; 186 for (int position = 0; position < 206 getView(int position, View convertView, ViewGroup parent) argument [all...] |
/packages/apps/Car/Radio/src/com/android/car/radio/ |
H A D | CarouselView.java | 55 * The position into the the data set in {@link #mAdapter} that will be displayed as the first 163 * Shifts the carousel to the specified position. 165 public void shiftToPosition(int position) { argument 166 if (mAdapter == null || position >= mAdapter.getItemCount() || position < 0) { 170 mStartPosition = position; 246 // Wrap the current adapter position if necessary. 252 Log.v(TAG, "Measuring views downwards; current position: " 267 // Wrap the current adapter position if necessary. 273 Log.v(TAG, "Measuring views upwards; current position 392 getChildView(int position) argument 457 bindView(View view, int position, boolean isFirstView) argument [all...] |
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
H A D | SpinnerLineItem.java | 84 public T getItem(int position) { argument 85 return mArrayAdapter.getItem(position);
|
/packages/apps/Contacts/tests/src/com/android/contacts/widget/ |
H A D | CompositeListAdapterTest.java | 53 public View getView(int position, View convertView, ViewGroup parent) { argument 54 return new MockView(getContext(), position); 63 public boolean isEnabled(int position) { argument 64 return enabledItems.contains(position); 73 public int getItemViewType(int position) { argument 74 return viewTypes.get(position); 79 public MockView(Context context, int position) { argument 81 setTag(position);
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
H A D | ViewPagerTabStrip.java | 57 * offset for interpolating the position and width of selection underline. 59 void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument 60 mIndexForSelection = position;
|