Searched defs:position (Results 1 - 25 of 240) sorted by path

12345678910

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppTransferHistory.java192 mTransferCursor.moveToPosition(info.position);
193 mContextMenuPosition = info.position;
264 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
266 mTransferCursor.moveToPosition(position);
273 * appropriate position before calling this function
/packages/apps/Browser/src/com/android/browser/
H A DAddBookmarkPage.java212 // it back to "Bookmarks", which is position 0 if we are
518 * Move cursor to the position that has folderToFind as its "_id".
541 public void onItemClick(AdapterView<?> parent, View view, int position, argument
965 public void onItemSelected(AdapterView<?> parent, View view, int position, argument
968 long root = mAccountAdapter.getItem(position).rootFolderId;
H A DBrowserBookmarksPage.java461 private void loadUrl(BrowserBookmarksAdapter adapter, int position) { argument
463 mCallbacks.onBookmarkSelected(adapter.getItem(position), false);
467 private void openInNewWindow(BrowserBookmarksAdapter adapter, int position) { argument
469 Cursor c = adapter.getItem(position);
509 private void editBookmark(BrowserBookmarksAdapter adapter, int position) { argument
511 Cursor cursor = adapter.getItem(position);
533 int position) {
536 Cursor cursor = adapter.getItem(position);
543 private String getUrl(BrowserBookmarksAdapter adapter, int position) { argument
544 return getUrl(adapter.getItem(position));
532 displayRemoveBookmarkDialog(BrowserBookmarksAdapter adapter, int position) argument
[all...]
H A DBrowserHistoryPage.java142 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 DBrowserSnapshotPage.java165 populateBookmarkItem(mAdapter.getItem(info.position), header);
206 public void onItemClick(AdapterView<?> parent, View view, int position, argument
294 public Cursor getItem(int position) { argument
295 return (Cursor) super.getItem(position);
H A DComboViewActivity.java205 public Fragment getItem(int position) { argument
206 TabInfo info = mTabs.get(position);
211 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
215 public void onPageSelected(int position) { argument
216 mActionBar.setSelectedNavigationItem(position);
H A DErrorConsoleView.java267 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);
H A DNavScreen.java194 protected void close(int position) { argument
195 close(position, true);
198 protected void close(int position, boolean animate) { argument
199 mUi.hideNavScreen(position, animate);
222 public Tab getItem(int position) { argument
223 return tabControl.getTab(position);
226 public long getItemId(int position) { argument
227 return position;
231 public View getView(final int position, View convertView, ViewGroup parent) { argument
233 final Tab tab = getItem(position);
[all...]
H A DNavTabScroller.java46 public void onRemovePosition(int position); argument
273 final int position = mContentView.indexOfChild(v);
291 translate = (position > 0) ? gap : 0;
292 newpos = position;
296 if (position < mAdapter.getCount() - 1) {
302 if (position < mAdapter.getCount() - 1) {
308 mGapPosition = position;
350 mRemoveListener.onRemovePosition(position);
H A DPhoneUi.java346 void hideNavScreen(int position, boolean animate) { argument
349 final Tab tab = mUiController.getTabControl().getTab(position);
361 NavTabView tabview = (NavTabView) mNavScreen.getTabView(position);
H A DPieControl.java301 public Tab getItem(int position) { argument
302 return mTabs.get(position);
306 public long getItemId(int position) { argument
307 return position;
311 public View getView(int position, View convertView, ViewGroup parent) { argument
312 final Tab tab = mTabs.get(position);
322 if (position > mCurrent) {
H A DSuggestionsAdapter.java134 public SuggestItem getItem(int position) { argument
138 return mMixedResults.items.get(position);
142 public long getItemId(int position) { argument
143 return position;
147 public View getView(int position, View convertView, ViewGroup parent) { argument
153 bindView(view, getItem(position));
H A DTabControl.java48 // Current position in mTabs.
115 * Return the tab at the specified position.
116 * @return The Tab for the specified position or null if the tab does not
119 Tab getTab(int position) { argument
120 if (position >= 0 && position < mTabs.size()) {
121 return mTabs.get(position);
135 * Return the current tab position.
136 * @return The current tab position
143 * Given a Tab, find it's position
[all...]
H A DTabScrollView.java100 void setSelectedTab(int position) { argument
105 mSelected = position;
206 // TabViews base their drawing based on their absolute position within the
H A DUrlInputView.java301 AdapterView<?> parent, View view, int position, long id) {
302 SuggestItem item = mAdapter.getItem(position);
300 onItemClick( AdapterView<?> parent, View view, int position, long id) argument
/packages/apps/Browser/src/com/android/browser/addbookmark/
H A DFolderSpinner.java60 * @param position New position to select.
62 public void setSelectionIgnoringSelectionChange(int position) { argument
63 super.setSelection(position);
67 public void setSelection(int position) { argument
70 super.setSelection(position);
72 if (oldPosition == position) {
73 long id = getAdapter().getItemId(position);
76 onItemSelected(this, null, position, id);
82 public void onItemSelected(AdapterView<?> parent, View view, int position, lon argument
[all...]
H A DFolderSpinnerAdapter.java63 private void bindView(int position, View view, boolean isDropDown) { argument
67 position++;
69 switch (position) {
91 if (position == RECENT_FOLDER) {
93 } else if (position == OTHER_FOLDER && !isDropDown
106 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
111 bindView(position, convertView, true);
116 public View getView(int position, View convertView, ViewGroup parent) { argument
121 bindView(position, convertView, false);
134 public Object getItem(int position) { argument
139 getItemId(int position) argument
[all...]
/packages/apps/Browser/src/com/android/browser/preferences/
H A DWebsiteSettingsFragment.java117 * position in the list of features for this site. This is used both
454 public View getView(int position, View convertView, ViewGroup parent) { argument
480 Site site = getItem(position);
539 switch (mCurrentSite.getFeatureByIndex(position)) {
578 int position,
581 switch (mCurrentSite.getFeatureByIndex(position)) {
576 onItemClick(AdapterView<?> parent, View view, int position, long id) argument
/packages/apps/Browser/src/com/android/browser/util/
H A DThreadedCursorAdapter.java53 int position; field in class:ThreadedCursorAdapter.LoadContainer
117 || container.position != msg.what
134 public Cursor getItem(int position) { argument
135 return (Cursor) mCursorAdapter.getItem(position);
139 public long getItemId(int position) { argument
141 return getItemId(getItem(position));
145 private void loadRowObject(int position, LoadContainer container) { argument
147 || container.position != position
153 Cursor c = (Cursor) mCursorAdapter.getItem(position);
163 getView(int position, View convertView, ViewGroup parent) argument
[all...]
/packages/apps/Browser/src/com/android/browser/widget/
H A DBookmarkThumbnailWidgetService.java205 public long getItemId(int position) { argument
206 return position;
216 public RemoteViews getViewAt(int position) { argument
217 if (!mBookmarks.moveToPosition(position)) {
H A DBookmarkWidgetConfigure.java76 protected void onListItemClick(ListView l, View v, int position, long id) { argument
77 BookmarkAccount account = mAccountAdapter.getItem(position);
/packages/apps/Calculator/
H A Darity-2.1.2.jar ... final byte vmop double value String name int arity int position void " href="/4.2_r1/s?defs= " (int ...
/packages/apps/Calculator/src/com/android/calculator2/
H A DCalculator.java307 public Object instantiateItem(View container, int position) { argument
308 final View page = position == 0 ? mSimplePage : mAdvancedPage;
314 public void destroyItem(View container, int position, Object object) { argument
H A DHistoryAdapter.java47 public Object getItem(int position) { argument
48 return mEntries.elementAt(position);
52 public long getItemId(int position) { argument
53 return position;
62 public View getView(int position, View convertView, ViewGroup parent) { argument
73 HistoryEntry entry = mEntries.elementAt(position);
/packages/apps/Calendar/src/com/android/calendar/
H A DAllInOneActivity.java1334 public boolean onSuggestionSelect(int position) { argument
1339 public boolean onSuggestionClick(int position) { argument

Completed in 132 milliseconds

12345678910