/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 | MultiFoldersSelectionDialog.java | 176 protected void onListItemClick(int position) { argument 177 final Object item = mAdapter.getItem(position);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
H A D | NullInputStream.java | 66 private long position; field in class:NullInputStream 101 * Return the current position. 103 * @return the current position. 106 return position; 124 long avail = size - position; 142 position = 0; 147 * Mark the current position. 149 * @param readlimit The number of bytes before this marked position 157 mark = position; 184 if (position [all...] |
H A D | NullReader.java | 66 private long position; field in class:NullReader 101 * Return the current position. 103 * @return the current position. 106 return position; 126 position = 0; 131 * Mark the current position. 133 * @param readlimit The number of characters before this marked position 141 mark = position; 168 if (position == size) { 171 position [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
H A D | PositionInputStream.java | 29 protected long position = 0; field in class:PositionInputStream 37 return position; 47 position++; 57 position = markedPosition; 66 markedPosition = position; 71 position += c; 77 position += c; 83 position += c;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
H A D | ver4_dict_buffers.cpp | 50 int position = 0; local 51 while (position < static_cast<int>(buffer.size())) { 53 buffer.data(), &position); 54 buffers.push_back(buffer.subView(position, bufferSize)); 55 position += bufferSize; 56 if (bufferSize < 0 || position < 0 || position > static_cast<int>(buffer.size())) { 152 // Write terminal position lookup table. 154 AKLOGE("Terminal position lookup table cannot be written.");
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
H A D | CursorRecyclerViewAdapter.java | 58 public long getItemId(int position) { argument 59 if (mCursor != null && mCursor.moveToPosition(position)) { 68 public void onBindViewHolder(VH viewHolder, int position) { argument 69 if (!mCursor.moveToPosition(position)) { 70 throw new IllegalStateException("can't move cursor to position " + position);
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | CallListAdapter.java | 77 public Object getItem(int position) { argument 78 return position; 82 public long getItemId(int position) { argument 83 return position; 87 public View getView(final int position, View convertView, ViewGroup parent) { argument 88 Log.i(TAG, "getView: " + position); 97 Call call = mCallList.getCall(position);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppTransferHistory.java | 196 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
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | EmailAddressListAdapter.java | 111 public String getContactDisplayName(int position) { argument 112 return ((Cursor) getItem(position)).getString(EmailQuery.EMAIL_DISPLAY_NAME); 117 * position. 119 public Uri getDataUri(int position) { argument 120 long id = ((Cursor) getItem(position)).getLong(EmailQuery.EMAIL_ID); 126 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { 127 ContactListItemView view = super.newView(context, partition, cursor, position, parent); 134 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument 135 super.bindView(itemView, partition, cursor, position); 137 bindSectionHeaderAndDivider(view, position); 125 newView( Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument 157 bindSectionHeaderAndDivider(final ContactListItemView view, int position) argument [all...] |
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
|
H A D | JoinContactListFragment.java | 162 protected void onItemClick(int position, long id) { argument 163 final Uri contactUri = getAdapter().getContactUri(position);
|
H A D | LegacyPhoneNumberListAdapter.java | 69 public String getContactDisplayName(int position) { argument 70 return ((Cursor)getItem(position)).getString(PHONE_DISPLAY_NAME_COLUMN_INDEX); 73 public Uri getPhoneUri(int position) { argument 74 Cursor cursor = ((Cursor)getItem(position)); 81 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { 83 super.newView(context, partition, cursor, position, parent); 89 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument 90 super.bindView(itemView, partition, cursor, position); 80 newView( Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument
|
H A D | LegacyPostalAddressListAdapter.java | 70 public String getContactDisplayName(int position) { argument 71 return ((Cursor)getItem(position)).getString(POSTAL_DISPLAY_NAME_COLUMN_INDEX); 74 public Uri getContactMethodUri(int position) { argument 75 Cursor cursor = ((Cursor)getItem(position)); 82 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { 89 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument 90 super.bindView(itemView, partition, cursor, position); 81 newView( Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument
|
H A D | MultiSelectContactsListFragment.java | 143 protected boolean onItemLongClick(int position, long id) { argument 145 final Uri uri = getAdapter().getContactUri(position); 146 final int partition = getAdapter().getPartitionForPosition(position); 148 && (position > 0 || !getAdapter().hasProfile()))) { 157 final int index = position + getListView().getHeaderViewsCount() - getListView() 175 protected void onItemClick(int position, long id) { argument 176 final Uri uri = getAdapter().getContactUri(position); 188 Logger.logSearchEvent(createSearchStateForSearchResultClick(position)); 190 super.onItemClick(position, id); 206 * at the time the result in the given position wa [all...] |
H A D | MultiSelectEntryContactListAdapter.java | 110 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument 111 super.bindView(itemView, partition, cursor, position); 113 bindCheckBox(view, cursor, position, partition == ContactsContract.Directory.DEFAULT); 116 private void bindCheckBox(ContactListItemView view, Cursor cursor, int position, argument 120 view.setClickable((position == 0 && hasProfile() || !isLocalDirectory) 124 if (position == 0 && hasProfile() || !mDisplayCheckBoxes || !isLocalDirectory) {
|
H A D | PostalAddressListAdapter.java | 101 public String getContactDisplayName(int position) { argument 102 return ((Cursor) getItem(position)).getString(PostalQuery.POSTAL_DISPLAY_NAME); 107 * position. 109 public Uri getDataUri(int position) { argument 110 long id = ((Cursor)getItem(position)).getLong(PostalQuery.POSTAL_ID); 116 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { 117 ContactListItemView view = super.newView(context, partition, cursor, position, parent); 125 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument 126 super.bindView(itemView, partition, cursor, position); 128 bindSectionHeaderAndDivider(view, position); 115 newView( Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument 148 bindSectionHeaderAndDivider(final ContactListItemView view, int position) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | CompositeListAdapter.java | 144 public Object getItem(int position) { argument 149 if (position >= start && position < end) { 150 return mAdapters[i].getItem(position - start); 155 throw new ArrayIndexOutOfBoundsException(position); 158 public long getItemId(int position) { argument 163 if (position >= start && position < end) { 164 return mAdapters[i].getItemId(position - start); 169 throw new ArrayIndexOutOfBoundsException(position); 179 getItemViewType(int position) argument 195 getView(int position, View convertView, ViewGroup parent) argument 216 isEnabled(int position) argument [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | DefaultContactListAdapter.java | 223 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument 224 super.bindView(itemView, partition, cursor, position); 233 bindSectionHeaderAndDivider(view, position, cursor);
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
H A D | DigitalWidgetViewsFactory.java | 110 public synchronized RemoteViews getViewAt(int position) { argument 112 final int leftIndex = position * 2 + homeClockOffset; 137 final boolean lastRow = position == getCount() - 1; 145 public long getItemId(int position) { argument 146 return position;
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
H A D | AlarmTimeAdapter.java | 87 public void onBindViewHolder(AlarmTimeViewHolder viewHolder, int position) { argument 88 if (!mCursor.moveToPosition(position)) { 89 LogUtils.e(TAG, "Failed to bind alarm " + position); 104 public long getItemId(int position) { argument 105 if (mCursor == null || !mCursor.moveToPosition(position)) { 113 public int getItemViewType(int position) { argument 114 final long stableId = getItemId(position); 124 * Request the UI to expand the alarm at selected position and scroll it into view. 126 public void expand(int position) { argument 127 final long stableId = getItemId(position); 140 collapse(int position) argument [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
H A D | LapsAdapter.java | 76 public void onBindViewHolder(LapItemHolder viewHolder, int position) { argument 82 final Lap lap = position == 0 ? null : getLaps().get(position - 1); 102 public long getItemId(int position) { argument 104 if (position == 0) { 108 return laps.get(position - 1).getLapNumber();
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
H A D | TimerPagerAdapter.java | 70 final int position = getTimers().indexOf(timer); 71 return position == -1 ? POSITION_NONE : position; 75 public Fragment instantiateItem(ViewGroup container, int position) { argument 80 final Timer timer = getTimers().get(position); 105 public void destroyItem(ViewGroup container, int position, Object object) { argument 117 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | CallDetailHistoryAdapter.java | 63 public boolean isEnabled(int position) { argument 74 public Object getItem(int position) { argument 75 return mPhoneCallDetails[position]; 79 public long getItemId(int position) { argument 80 return position; 89 public int getItemViewType(int position) { argument 94 public View getView(int position, View convertView, ViewGroup parent) { argument 100 PhoneCallDetails details = mPhoneCallDetails[position];
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
H A D | AllContactsFragment.java | 135 protected void bindView(View itemView, int partition, Cursor cursor, int position) { 136 super.bindView(itemView, partition, cursor, position); 153 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 167 protected void onItemClick(int position, long id) { argument
|