/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 262 * and the value holds the last known position in the adapter for that id. 277 * The adapter containing the data to be displayed by this view 282 * The remote adapter containing the data to be displayed by this view to be set 287 * If mAdapter != null, whenever this is true the adapter has stable IDs. 575 * The select child's view (from the adapter's getView) is enabled. 661 * the top of the first position in the adapter, based on the last time 668 * the bottom of the last position in the adapter, based on the last time 889 public void setAdapter(ListAdapter adapter) { argument 890 if (adapter != null) { 978 * choice mode has not been set to {@link #CHOICE_MODE_NONE} and the adapter [all...] |
H A D | GridView.java | 169 * Sets up this AbsListView to use a remote views adapter which connects to a RemoteViewsService 171 * @param intent the intent used to identify the RemoteViewsService for the adapter to connect to. 181 * @param adapter the adapter providing the grid's data 184 public void setAdapter(ListAdapter adapter) { argument 191 mAdapter = adapter; 197 super.setAdapter(adapter); 230 final ListAdapter adapter = mAdapter; 231 if (adapter == null || isInTouchMode()) { 842 * Smoothly scroll to the specified adapter positio [all...] |
H A D | SearchView.java | 681 * and not when using a custom adapter. 706 * You can set a custom adapter if you wish. Otherwise the default adapter is used to 711 public void setSuggestionsAdapter(CursorAdapter adapter) { argument 712 mSuggestionsAdapter = adapter; 718 * Returns the adapter used for suggestions, if any. 719 * @return the suggestions adapter 1142 // attach the suggestions adapter, if suggestions are available
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | WindowDecorActionBar.java | 1235 public void setListNavigationCallbacks(SpinnerAdapter adapter, OnNavigationListener callback) { argument 1236 mDecorToolbar.setDropdownParams(adapter, new NavItemSelectedListener(callback));
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageInstallerSession.java | 442 final PackageInstallObserverAdapter adapter = new PackageInstallObserverAdapter(mContext, 444 mHandler.obtainMessage(MSG_COMMIT, adapter.getBinder()).sendToTarget();
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/ |
H A D | WindowDecorActionBar.java | 1243 public void setListNavigationCallbacks(SpinnerAdapter adapter, OnNavigationListener callback) { argument 1244 mDecorToolbar.setDropdownParams(adapter, new NavItemSelectedListener(callback));
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 73 * to a <em>position</em> within the adapter.</li> 74 * <li><em>Recycle (view):</em> A view previously used to display data for a specific adapter 81 * by the adapter if the view was considered <em>dirty</em>.</li> 82 * <li><em>Dirty (view):</em> A child view that must be rebound by the adapter before 152 // final adapter positions. No need to run it if a layout is already requested. 178 * Set to true when an adapter data set changed notification is received. 185 * Some methods should not be called during these periods (e.g. adapter data change). 442 * adapter content cannot change the size of the RecyclerView itself. 445 * @param hasFixedSize true if adapter changes cannot affect the size of the RecyclerView. 452 * @return true if the app has specified that changes in adapter conten 485 swapAdapter(Adapter adapter, boolean removeAndRecycleExistingViews) argument 499 setAdapter(Adapter adapter) argument 513 setAdapterInternal(Adapter adapter, boolean compatibleWithPrevious, boolean removeAndRecycleViews) argument 3021 attach(Adapter adapter) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarView.java | 756 public void setDropdownParams(SpinnerAdapter adapter, AdapterView.OnItemSelectedListener l) { argument 757 mSpinnerAdapter = adapter; 760 mSpinner.setAdapter(adapter);
|
/frameworks/base/services/print/java/com/android/server/print/ |
H A D | UserState.java | 169 public Bundle print(String printJobName, IPrintDocumentAdapter adapter, argument 182 if (!mPrintJobForAppCache.onPrintJobCreated(adapter.asBinder(), appId, 201 intent.putExtra(PrintManager.EXTRA_PRINT_DOCUMENT_ADAPTER, adapter.asBinder());
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 108 * Used to track what the expected number of items in the adapter should be. 410 * @param adapter Adapter to use 412 public void setAdapter(PagerAdapter adapter) { argument 428 mAdapter = adapter; 453 if (mAdapterChangeListener != null && oldAdapter != adapter) { 454 mAdapterChangeListener.onAdapterChanged(oldAdapter, adapter); 470 * Retrieve the current adapter supplying pages. 488 * layout with its current adapter there will be a smooth animated transition between 678 * limit will be recreated from the adapter when needed. 967 throw new IllegalStateException("The application's PagerAdapter changed the adapter' [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SearchView.java | 695 * and not when using a custom adapter. 720 * You can set a custom adapter if you wish. Otherwise the default adapter is used to 725 public void setSuggestionsAdapter(CursorAdapter adapter) { argument 726 mSuggestionsAdapter = adapter; 732 * Returns the adapter used for suggestions, if any. 733 * @return the suggestions adapter 1076 // attach the suggestions adapter, if suggestions are available
|
/frameworks/base/media/java/android/media/ |
H A D | AudioService.java | 667 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); 668 if (adapter != null) { 669 adapter.getProfileProxy(mContext, mBluetoothProfileServiceListener, 2666 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); 2667 if (adapter != null) { 2668 result = adapter.getProfileProxy(mContext, mBluetoothProfileServiceListener,
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncManager.java | 461 // message handler. Normally we will hold a sync adapter wake lock while it is being 463 // one sync adapter before starting the sync for the other sync adapter and we 515 // Else check if the sync adapter has opted-in or not 706 // For each authority sync each account that matches a sync adapter. 1168 * sync adapter. Since this grabs the wakelock you need to be sure to call 1173 * @param syncAdapterUid the UID of the application that contains the sync adapter 1255 * unbinding from the sync adapter (if actually bound). 1368 // join the installed sync adapter with the accounts list and emit for everything 1916 public final IBinder adapter; field in class:SyncManager.ServiceConnectionData 1918 ServiceConnectionData(ActiveSyncContext activeSyncContext, IBinder adapter) argument [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintActivity.java | 232 final IBinder adapter = extras.getBinder(PrintManager.EXTRA_PRINT_DOCUMENT_ADAPTER); 233 if (adapter == null) { 246 onConnectedToPrintSpooler(adapter); 1188 // If the media sizes changed, we update the adapter and the spinner. 1206 // Rebuild the adapter data. 1248 // If the color modes changed, we update the adapter and the spinner. 1271 // Rebuild the adapter data. 1886 // Check if historical printers are loaded as this adapter is open 1888 // when the adapter is created because the historical printers may 1889 // be loaded before or after the adapter i [all...] |
/frameworks/opt/chips/tests/src/com/android/ex/chips/ |
H A D | ChipsTest.java | 1037 final BaseRecipientAdapter adapter = new TestBaseRecipientAdapter(getContext(), 10, 1039 view.setAdapter(adapter);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManagerTest.java | 363 // set a new adapter with huge items to test full bounds check 478 final RecyclerView.Adapter adapter = mAdapter; 500 // now layout another RV with same adapter 503 mRecyclerView.setAdapter(adapter);// use same adapter so that items can be matched 682 // use the same adapter for Rect matching 798 // use the same adapter for Rect matching 842 // use the same adapter for Rect matching 1003 assertEquals("recycler view mPosition should match adapter mPosition", position,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentsPanelView.java | 98 public void setAdapter(TaskDescriptionAdapter adapter); argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | InputMethodManagerService.java | 2869 final ImeSubtypeListAdapter adapter = new ImeSubtypeListAdapter(themedContext, 2881 adapter.mCheckedItem = which; 2882 adapter.notifyDataSetChanged(); 2893 mDialogBuilder.setSingleChoiceItems(adapter, checkedItem, choiceListener);
|