/packages/apps/Email/src/com/beetstra/jutf7/ |
H A D | UTF7StyleCharsetDecoder.java | 104 in.position(in.position() - 1);
165 * Resets the input buffer position to just before the last byte read, and
173 in.position(in.position() - 1);
|
/packages/apps/Gallery2/src/com/android/photos/ |
H A D | MultiSelectGridFragment.java | 113 * getGridView().getItemAtPosition(position) if they need to access the data 118 * @param position The position of the view in the grid 121 public void onGridItemClick(GridView g, View v, int position, long id) { argument 141 * Set the currently selected grid item to the specified position with the 144 * @param position 146 public void setSelection(int position) { argument 148 mGrid.setSelection(position); 152 * Get the position of the currently selected grid item. 323 public Object getItemAtPosition(int position) { argument 328 getPathForItemAtPosition(int position) argument 345 onItemClick(AdapterView<?> parent, View v, int position, long id) argument [all...] |
/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;
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
H A D | FakeCursor.java | 74 public boolean moveToPosition(final int position) { argument 75 if (position < 0 || position >= mData.length) { 78 mIndex = position;
|
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/ |
H A D | PathInterpolatorCompat.java | 52 final float[] position = new float[2]; 55 pathMeasure.getPosTan(distance, position, null /* tangent */); 57 mX[i] = position[0]; 58 mY[i] = position[1];
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | UsageStatsActivity.java | 156 public Object getItem(int position) { argument 157 return mPackageStats.get(position); 161 public long getItemId(int position) { argument 162 return position; 166 public View getView(int position, View convertView, ViewGroup parent) { argument 191 UsageStats pkgStats = mPackageStats.get(position); 200 Log.w(TAG, "No usage stats info for package:" + position); 247 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument 248 mAdapter.sortList(position);
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
H A D | FromAddressSpinnerAdapter.java | 57 public View getView(int position, View convertView, ViewGroup parent) { argument 58 final ReplyFromAccount fromItem = getItem(position); 77 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument 78 final ReplyFromAccount fromItem = getItem(position); 101 // Get the position of the current account
|
/packages/experimental/PrintService/src/foo/bar/printservice/ |
H A D | MyDialogActivity.java | 46 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 47 switch (position) { 93 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 94 switch (position) {
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A D | DictEncoder.java | 34 public void setPosition(final int position); argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | PhoneNumberListAdapter.java | 68 void onVideoCallIconClicked(int position); argument 323 public String getContactDisplayName(int position) { argument 324 return ((Cursor) getItem(position)).getString(PhoneQuery.DISPLAY_NAME); 327 public String getPhoneNumber(int position) { argument 328 final Cursor item = (Cursor)getItem(position); 333 * Builds a {@link Data#CONTENT_URI} for the given cursor position. 337 public Uri getDataUri(int position) { argument 338 final int partitionIndex = getPartitionForPosition(position); 339 final Cursor item = (Cursor)getItem(position); 363 * Retrieves the lookup key for the given cursor position 368 getLookupKey(int position) argument 374 newView( Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument 408 bindView(View itemView, int partition, Cursor cursor, int position) argument 466 bindPhoneNumber(ContactListItemView view, Cursor cursor, boolean displayNumber, int position) argument 503 bindSectionHeaderAndDivider(final ContactListItemView view, int position) argument [all...] |
/packages/apps/Settings/src/com/android/settings/dashboard/ |
H A D | SearchResultsSummary.java | 173 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 174 // We have a header, so we need to decrement the position by one 175 position--; 178 // List Header and thus the position passed was "0" and then by decrement was "-1" 179 if (position < 0) { 184 cursor.moveToPosition(position); 228 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 229 // We have a header, so we need to decrement the position by one 230 position--; 232 // List Header and thus the position passe 450 getItem(int position) argument 460 getItemId(int position) argument 465 getView(int position, View convertView, ViewGroup parent) argument 552 getItem(int position) argument 592 getItemId(int position) argument 597 getView(int position, View convertView, ViewGroup parent) argument [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | DeskClock.java | 302 TabInfo(Class<?> _class, int position) { argument 305 args.putInt(KEY_TAB_POSITION, position); 328 public Object instantiateItem(ViewGroup container, int position) { argument 329 return super.instantiateItem(container, mViewPager.getRtlAwareIndex(position)); 333 public Fragment getItem(int position) { argument 336 final String name = makeFragmentName(R.id.desk_clock_pager, position); 339 TabInfo info = mTabs.get(position); 363 public void addTab(TabLayout.Tab tab, Class<?> clss, int position) { argument 364 TabInfo info = new TabInfo(clss, position); 371 public void onPageScrolled(int position, floa argument 376 onPageSelected(int position) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | FolderListFragment.java | 570 public void onListItemClick(ListView l, View v, int position, long id) { argument 571 viewFolderOrChangeAccount(position); 598 * Display the conversation list from the folder at the position given. 599 * @param position a zero indexed position into the list. 601 protected void viewFolderOrChangeAccount(int position) { argument 603 final Object item = getListView().getAdapter().getItem(position); 604 LogUtils.d(LOG_TAG, "viewFolderOrChangeAccount(%d): %s", position, item); 905 public View getView(int position, View convertView, ViewGroup parent) { argument 906 final DrawerItem item = (DrawerItem) getItem(position); 935 getItemViewType(int position) argument 945 isEnabled(int position) argument 1185 getItem(int position) argument 1195 getItemId(int position) argument 1227 getItemViewType(int position) argument 1233 getView(int position, View convertView, ViewGroup parent) argument 1323 getItem(int position) argument 1333 getItemId(int position) argument 1338 getView(int position, View convertView, ViewGroup parent) argument 1393 getItem(int position) argument 1398 getItemId(int position) argument 1409 getItemViewType(int position) argument 1419 getView(int position, View convertView, ViewGroup parent) argument 1651 getItem(int position) argument 1661 getItemId(int position) argument 1666 getView(int position, View convertView, ViewGroup parent) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | GroupBrowseListAdapter.java | 110 public long getItemId(int position) { argument 111 return position; 115 public GroupListItem getItem(int position) { argument 116 if (mCursor == null || mCursor.isClosed() || !mCursor.moveToPosition(position)) { 129 int previousIndex = position - 1; 148 public View getView(int position, View convertView, ViewGroup parent) { argument 149 GroupListItem entry = getItem(position); 166 if (position == 0) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
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/Messaging/src/com/android/messaging/ui/photoviewer/ |
H A D | BuglePhotoViewFragment.java | 34 public static PhotoViewFragment newInstance(Intent intent, int position, argument 37 initializeArguments(intent, position, onlyShowSpinner, f);
|
/packages/apps/Settings/src/com/android/settings/utils/ |
H A D | ProfileSettingsPreferenceFragment.java | 48 public void onItemSelected(AdapterView<?> parent, View view, int position, 50 UserHandle selectedUser = profileSpinnerAdapter.getUserHandle(position);
|
/packages/apps/Stk/src/com/android/stk/ |
H A D | StkMenuAdapter.java | 46 public View getView(int position, View convertView, ViewGroup parent) { argument 47 final Item item = getItem(position);
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | buffer_with_extendable_buffer.h | 31 // To optimize performance, raw pointer is directly used for reading buffer. The position has to be 59 AK_FORCE_INLINE bool isInAdditionalBuffer(const int position) const { 60 return position >= static_cast<int>(mOriginalBuffer.size()); 120 // Returns if it is possible to write size-bytes from pos. When pos is at the tail position of
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
H A D | LiveWallpaperActivity.java | 50 protected void onListItemClick(ListView l, View v, int position, long id) { argument 52 (LiveWallpaperListAdapter.LiveWallpaperInfo) mAdapter.getItem(position);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | GalleryActionBar.java | 118 public Object getItem(int position) { argument 119 return sClusterItems[position]; 123 public long getItemId(int position) { argument 124 return sClusterItems[position].action; 128 public View getView(int position, View convertView, ViewGroup parent) { argument 134 view.setText(sClusterItems[position].spinnerTitle); 146 public Object getItem(int position) { argument 147 return mAlbumModes[position]; 151 public long getItemId(int position) { argument 152 return position; 156 getView(int position, View convertView, ViewGroup parent) argument 168 getDropDownView(int position, View convertView, ViewGroup parent) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
H A D | WidgetService.java | 94 public long getItemId(int position) { argument 95 return position; 118 public RemoteViews getViewAt(int position) { argument 119 Bitmap bitmap = mSource.getImage(position); 127 .setData(mSource.getContentUri(position)));
|
/packages/apps/Nfc/src/com/android/nfc/ |
H A D | NfcWifiProtectedSetup.java | 116 int startPosition = payload.position(); 118 while (payload.position() < startPosition + size) { 123 if (payload.position() + fieldSize > startPosition + size) { 152 payload.position(payload.position() + fieldSize);
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
H A D | CycleAdapter.java | 47 * Find position of {@link CycleItem} in this adapter which is nearest 136 final int position = findNearestPosition(previousItem); 137 mSpinner.setSelection(position); 141 final CycleAdapter.CycleItem selectedItem = getItem(position); 143 mListener.onItemSelected(null, null, position, 0); 192 void setSelection(int position); argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
H A D | BaseScrollAdapterFragment.java | 95 public void setSelection(int position) { argument 96 mScrollAdapterView.setSelection(position); 99 public void setSelectionSmooth(int position) { argument 100 mScrollAdapterView.setSelectionSmooth(position); 182 public synchronized void onScrolled(View view, int position, float mainPosition, argument
|