/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A D | BinaryDictEncoderUtils.java | 108 * This is known in advance and does not change according to position in the file 191 static int writeUIntToBuffer(final byte[] buffer, int position, final int value, argument 195 buffer[position++] = (byte) ((value >> 24) & 0xFF); 198 buffer[position++] = (byte) ((value >> 16) & 0xFF); 201 buffer[position++] = (byte) ((value >> 8) & 0xFF); 204 buffer[position++] = (byte) (value & 0xFF); 209 return position; 293 * Get the offset from a position inside a current node array to a target node array, during 297 * been updated yet, so we should return the offset from the old position of the current node 298 * array to the old position o 528 writeChildrenPosition(final byte[] buffer, int index, final int position) argument 558 writeSignedChildrenPosition(final byte[] buffer, int index, final int position) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | GroupMembershipView.java | 100 public boolean getItemIsCheckable(int position) { argument 102 return position != getCount()-1; 106 public int getItemViewType(int position) { argument 107 return getItemIsCheckable(position) ? 0 : 1; 116 public View getView(int position, View convertView, ViewGroup parent) { argument 117 final View itemView = super.getView(position, convertView, parent); 122 if (!getItemIsCheckable(position)) { 189 int position = mAdapter.getCount() - 2; 191 if (listView != null && !listView.isItemChecked(position)) { 193 listView.setItemChecked(position, tru 338 onItemClick(AdapterView<?> parent, View view, int position, long id) argument [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | DeviceAdminSettings.java | 128 public void onListItemClick(ListView l, View v, int position, long id) { argument 129 Object o = l.getAdapter().getItem(position); 183 * The item for the given position in the list. 189 public Object getItem(int position) { argument 190 if (position < 0) { 193 // The position of the item in the list of admins. 194 // We start from the given position and discount the length of the upper lists until we 196 int adminPosition = position; 225 public long getItemId(int position) { argument 226 return position; 246 getItemViewType(int position) argument 252 isEnabled(int position) argument 271 getView(int position, View convertView, ViewGroup parent) argument [all...] |
H A D | UserDictionarySettings.java | 156 public void onListItemClick(ListView l, View v, int position, long id) { argument 157 final String word = getWord(position); 158 final String shortcut = getShortcut(position); 201 private String getWord(final int position) { argument 203 mCursor.moveToPosition(position); 211 private String getShortcut(final int position) { argument 213 mCursor.moveToPosition(position); 277 public int getSectionForPosition(int position) { argument 278 return null == mIndexer ? 0 : mIndexer.getSectionForPosition(position);
|
H A D | AppListPreference.java | 56 public View getView(int position, View convertView, ViewGroup parent) { argument 60 checkedTextView.setText(getItem(position)); 61 if (position == mSelectedIndex) { 65 imageView.setImageDrawable(mImageDrawables[position]);
|
H A D | AppPicker.java | 69 protected void onListItemClick(ListView l, View v, int position, long id) { argument 70 MyApplicationInfo app = mAdapter.getItem(position); 115 public View getView(int position, View convertView, ViewGroup parent) { argument 120 MyApplicationInfo info = getItem(position);
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | BrowserHistoryPage.java | 142 void selectGroup(int position) { argument 144 mAdapter.getGroupView(position, false, null, null), 145 position, position); 255 AdapterView<?> parent, View view, int position, long id) { 258 mChildWrapper.setSelectedGroup(position); 259 mGroupList.setItemChecked(position, true); 266 AdapterView<?> parent, View view, int position, long id) { 469 public Object getItem(int position) { argument 474 public long getItemId(int position) { argument 479 getView(int position, View convertView, ViewGroup parent) argument 504 getItem(int position) argument 509 getItemId(int position) argument 514 getView(int position, View convertView, ViewGroup parent) argument [all...] |
H A D | ErrorConsoleView.java | 267 public boolean isEnabled(int position) { argument 271 public long getItemId(int position) { argument 272 return position; 275 public Object getItem(int position) { argument 276 return mMessages.get(position); 289 * Constructs a TwoLineListItem for the error at position. 291 public View getView(int position, View convertView, ViewGroup parent) { argument 293 ConsoleMessage error = mMessages.get(position);
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
H A D | SelectVisibleCalendarsFragment.java | 140 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 141 if (mAdapter == null || mAdapter.getCount() <= position) { 144 toggleVisibility(position); 158 public void toggleVisibility(int position) { argument 160 Uri uri = ContentUris.withAppendedId(Calendars.CONTENT_URI, mAdapter.getItemId(position)); 163 int visibility = mAdapter.getVisible(position)^1; 166 mAdapter.setVisible(position, visibility);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | JoinContactListAdapter.java | 138 public int getItemViewType(int partition, int position) { argument 139 return super.getItemViewType(partition, position); 170 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { 174 return super.newView(context, partition, cursor, position, parent); 184 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument 185 super.bindView(itemView, partition, cursor, position); 196 bindSectionHeaderAndDivider(view, position, cursor); 169 newView( Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | AccountFilterActivity.java | 167 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 222 public long getItemId(int position) { argument 223 return position; 227 public ContactListFilter getItem(int position) { argument 228 return mFilters.get(position); 231 public View getView(int position, View convertView, ViewGroup parent) { argument 240 final ContactListFilter filter = mFilters.get(position);
|
H A D | PhoneNumberListAdapter.java | 262 public String getContactDisplayName(int position) { argument 263 return ((Cursor) getItem(position)).getString(PhoneQuery.DISPLAY_NAME); 266 public String getPhoneNumber(int position) { argument 267 final Cursor item = (Cursor)getItem(position); 272 * Builds a {@link Data#CONTENT_URI} for the given cursor position. 276 public Uri getDataUri(int position) { argument 277 final int partitionIndex = getPartitionForPosition(position); 278 final Cursor item = (Cursor)getItem(position); 294 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { 295 ContactListItemView view = super.newView(context, partition, cursor, position, paren 293 newView( Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument 327 bindView(View itemView, int partition, Cursor cursor, int position) argument 411 bindSectionHeaderAndDivider(final ContactListItemView view, int position) argument [all...] |
/packages/apps/DeskClock/src/com/android/alarmclock/ |
H A D | DigitalWidgetViewsFactory.java | 61 public RemoteViews getViewAt(int position) { argument 63 int index = position * 2; 87 if (position == lastRow) { 158 public long getItemId(int position) { argument 159 return position; 168 public RemoteViews getViewAt(int position) { argument 169 RemoteViews v = mAdapter.getViewAt(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/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
H A D | SavedWallpaperImages.java | 104 public SavedWallpaperTile getItem(int position) { argument 105 return mImages.get(position); 108 public long getItemId(int position) { argument 109 return position; 112 public View getView(int position, View convertView, ViewGroup parent) { argument 113 Drawable thumbDrawable = mImages.get(position).mThumb; 115 Log.e(TAG, "Error decoding thumbnail for wallpaper #" + position);
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | ListDialogPreference.java | 151 public void onItemClick(AdapterView<?> adapter, View v, int position, long id) { 266 public Integer getItem(int position) { argument 267 return mEntryValues[position]; 271 public long getItemId(int position) { argument 272 return mEntryValues[position]; 281 public View getView(int position, View convertView, ViewGroup parent) { argument 288 onBindListItem(convertView, position);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/ |
H A D | ver4_dict_buffers.cpp | 51 int position = 0; local 52 while (position < static_cast<int>(buffer.size())) { 54 buffer.data(), &position); 55 const ReadWriteByteArrayView subBuffer = buffer.subView(position, bufferSize); 58 position += bufferSize; 59 if (bufferSize < 0 || position < 0 || position > static_cast<int>(buffer.size())) { 155 // Write terminal position lookup table. 157 AKLOGE("Terminal position lookup table cannot be written.");
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
H A D | UserDictionarySettings.java | 194 public void onListItemClick(ListView l, View v, int position, long id) { argument 195 final String word = getWord(position); 196 final String shortcut = getShortcut(position); 248 private String getWord(final int position) { argument 250 mCursor.moveToPosition(position); 258 private String getShortcut(final int position) { argument 261 mCursor.moveToPosition(position); 332 public int getSectionForPosition(int position) { argument 333 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/Dialer/src/com/android/dialer/list/ |
H A D | RegularSearchListAdapter.java | 41 CachedNumberLookupService lookupService, int position) { 44 final Cursor item = (Cursor) getItem(position); 55 final int partitionIndex = getPartitionForPosition(position); 40 getContactInfo( CachedNumberLookupService lookupService, int position) argument
|
/packages/apps/Email/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/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);
|
H A D | FolderListFragment.java | 545 public void onListItemClick(ListView l, View v, int position, long id) { argument 546 viewFolderOrChangeAccount(position); 573 * Display the conversation list from the folder at the position given. 574 * @param position a zero indexed position into the list. 576 protected void viewFolderOrChangeAccount(int position) { argument 578 final Object item = getListView().getAdapter().getItem(position); 579 LogUtils.d(LOG_TAG, "viewFolderOrChangeAccount(%d): %s", position, item); 817 public View getView(int position, View convertView, ViewGroup parent) { argument 818 final DrawerItem item = (DrawerItem) getItem(position); 847 getItemViewType(int position) argument 857 isEnabled(int position) argument 1076 getItem(int position) argument 1086 getItemId(int position) argument 1120 getItemViewType(int position) argument 1126 getView(int position, View convertView, ViewGroup parent) argument 1211 getItem(int position) argument 1221 getItemId(int position) argument 1226 getView(int position, View convertView, ViewGroup parent) argument 1285 getItem(int position) argument 1290 getItemId(int position) argument 1300 getView(int position, View convertView, ViewGroup parent) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/filmstrip/ |
H A D | FilmstripController.java | 110 * Scrolls the filmstrip horizontally to a specific position. 112 * @param position The final position. 116 public void scrollToPosition(int position, int duration, boolean interruptible); argument 272 * @param firstVisiblePosition The position of the first rendered item
|
/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)) {
|