/frameworks/base/core/java/com/android/internal/app/ |
H A D | LocalePicker.java | 212 final ArrayAdapter<LocaleInfo> adapter = constructAdapter(getActivity()); 213 setListAdapter(adapter);
|
H A D | AlertController.java | 931 * will be bound to an adapter. 936 * Called before the ListView is bound to an adapter. 984 // adapter or a cursor 1011 ListAdapter adapter; 1015 adapter = new ArrayAdapter<CharSequence>( 1030 adapter = new CursorAdapter(mContext, mCursor, false) { 1060 adapter = (mAdapter != null) ? mAdapter 1063 adapter = new SimpleCursorAdapter(mContext, layout, 1072 /* Don't directly set the adapter on the ListView as we might 1075 dialog.mAdapter = adapter; [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
H A D | ScanFilterTest.java | 53 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); 54 BluetoothDevice device = adapter.getRemoteDevice(DEVICE_MAC);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | RemotePrintDocument.java | 159 public RemotePrintDocument(Context context, IPrintDocumentAdapter adapter, argument 162 mPrintDocumentAdapter = adapter; 407 Log.w(LOG_TAG, "Error setting observer to the print adapter."); 416 Log.w(LOG_TAG, "Error setting observer to the print adapter."); 542 public AsyncCommand(IPrintDocumentAdapter adapter, RemotePrintDocumentInfo document, argument 544 mAdapter = adapter; 642 public LayoutCommand(Looper looper, IPrintDocumentAdapter adapter, argument 645 super(adapter, document, callback); 878 public WriteCommand(Context context, Looper looper, IPrintDocumentAdapter adapter, argument 881 super(adapter, documen [all...] |
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestActivity.java | 82 final SimpleAdapter adapter = new SimpleAdapter(this, getTests(), 85 mList.setAdapter(adapter);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | FocusHighlightHelper.java | 170 * @param adapter adapter of the list row. 172 public static void setupBrowseItemFocusHighlight(ItemBridgeAdapter adapter, int zoomIndex, argument 174 adapter.setFocusHighlight(new BrowseItemFocusHighlight(zoomIndex, useDimmer));
|
H A D | PlaybackControlsRow.java | 655 public final void setPrimaryActionsAdapter(ObjectAdapter adapter) { argument 656 mPrimaryActionsAdapter = adapter; 662 public final void setSecondaryActionsAdapter(ObjectAdapter adapter) { argument 663 mSecondaryActionsAdapter = adapter;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | LinearLayoutManagerTest.java | 375 final TestAdapter adapter = new TestAdapter(300) { 388 .adapter(adapter), true); 418 adapter.addAndNotify(15, 1); 428 adapter.addAndNotify(5 + (i % 3) * 3, 1); 523 // set a new adapter with huge items to test full bounds check 760 // use the same adapter for Rect matching 1119 Config adapter(TestAdapter adapter) { argument 1120 mTestAdapter = adapter; [all...] |
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | WebViewContentsClientAdapter.java | 79 * An adapter class that forwards the callbacks from {@link ContentViewClient} 100 // The WebView instance that this adapter is serving. 124 * @param webView the {@link WebView} instance that this adapter is serving. 621 PermissionRequestAdapter adapter = new PermissionRequestAdapter(permissionRequest); 623 permissionRequest, new WeakReference<PermissionRequestAdapter>(adapter)); 624 mWebChromeClient.onPermissionRequest(adapter); 643 PermissionRequestAdapter adapter = weakRef.get(); 644 if (adapter != null) mWebChromeClient.onPermissionRequestCanceled(adapter); 893 FileChooserParamsAdapter adapter [all...] |
/frameworks/base/core/java/android/nfc/ |
H A D | NfcAdapter.java | 44 * Represents the local NFC adapter. 47 * adapter for this Android device. 178 * Broadcast Action: The state of the local NFC adapter has been 463 NfcAdapter adapter = sNfcAdapters.get(context); 464 if (adapter == null) { 465 adapter = new NfcAdapter(context); 466 sNfcAdapters.put(context, adapter); 468 return adapter; 489 * NfcAdapter adapter = manager.getDefaultAdapter();</pre> 492 * @return the default NFC adapter, o [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientAlternatesAdapter.java | 79 public static void getMatchingRecipients(Context context, BaseRecipientAdapter adapter, argument 81 getMatchingRecipients(context, adapter, inAddresses, QUERY_TYPE_EMAIL, account, callback); 93 public static void getMatchingRecipients(Context context, BaseRecipientAdapter adapter, argument 143 getMatchingRecipientsFromExtensionMatcher(adapter, matchesNotFound, callback); 228 public static void getMatchingRecipientsFromExtensionMatcher(BaseRecipientAdapter adapter, argument 232 // todo (aalbert): This whole method needs to be in the adapter? 233 if (adapter != null) { 235 adapter.getMatchingRecipients(matchesNotFound);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | PlaybackControlGlue.java | 46 * on the controls row as the primary actions adapter, and adds actions to it. You can provide 64 * The adapter key for the first custom control on the right side 70 * The adapter key for the skip to previous control. 75 * The adapter key for the rewind control. 80 * The adapter key for the play/pause control. 85 * The adapter key for the fast forward control. 90 * The adapter key for the skip to next control. 95 * The adapter key for the first custom control on the right side 648 private static void notifyItemChanged(SparseArrayObjectAdapter adapter, Object object) { argument 649 int index = adapter [all...] |
H A D | PlaybackOverlayFragment.java | 51 * at position 0 in the adapter. 546 public void setAdapter(ObjectAdapter adapter) { argument 550 super.setAdapter(adapter); 551 if (adapter != null) { 552 adapter.registerObserver(mObserver);
|
H A D | PlaybackOverlaySupportFragment.java | 53 * at position 0 in the adapter. 548 public void setAdapter(ObjectAdapter adapter) { argument 552 super.setAdapter(adapter); 553 if (adapter != null) { 554 adapter.registerObserver(mObserver);
|
H A D | SearchFragment.java | 88 * @return ObjectAdapter The result object adapter. 157 // Retrieve the result adapter 158 ObjectAdapter adapter = mProvider.getResultsAdapter(); 159 if (DEBUG) Log.v(TAG, "Got results adapter " + adapter); 160 if (adapter != mResultAdapter) { 163 mResultAdapter = adapter; 169 // delay the first time to avoid setting a empty result adapter 180 " adapter " + mRowsFragment.getAdapter());
|
H A D | SearchSupportFragment.java | 90 * @return ObjectAdapter The result object adapter. 159 // Retrieve the result adapter 160 ObjectAdapter adapter = mProvider.getResultsAdapter(); 161 if (DEBUG) Log.v(TAG, "Got results adapter " + adapter); 162 if (adapter != mResultAdapter) { 165 mResultAdapter = adapter; 171 // delay the first time to avoid setting a empty result adapter 182 " adapter " + mRowsSupportFragment.getAdapter());
|
H A D | VerticalGridFragment.java | 139 * Sets the object adapter for the fragment. 141 public void setAdapter(ObjectAdapter adapter) { argument 142 mAdapter = adapter; 147 * Returns the object adapter.
|
H A D | VerticalGridSupportFragment.java | 141 * Sets the object adapter for the fragment. 143 public void setAdapter(ObjectAdapter adapter) { argument 144 mAdapter = adapter; 149 * Returns the object adapter.
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHostView.java | 445 Adapter adapter = adapterView.getAdapter(); 446 if (adapter instanceof BaseAdapter) { 447 BaseAdapter baseAdapter = (BaseAdapter) adapter; 449 } else if (adapter == null && adapterView instanceof RemoteAdapterConnectionCallback) { 450 // If the adapter is null, it may mean that the RemoteViewsAapter has not yet 451 // connected to its associated service, and hence the adapter hasn't been set.
|
/frameworks/base/core/java/android/print/ |
H A D | PrintManager.java | 142 * Extra with the print document adapter to be printed. 381 * initiated printing is finished, the provided adapter may be in an inconsistent 396 * a rotation change, the system will drop the connection to the adapter as the 397 * activity has to be recreated and the old adapter may be invalid in this context, 398 * hence a new adapter instance is required. As a consequence, if your activity 405 * @param documentAdapter An adapter that emits the document to print. 410 * document adapter is null. 752 PrintDocumentAdapter adapter = (PrintDocumentAdapter) args.arg1; 771 adapter.onLayout(oldAttributes, newAttributes, cancellation, 777 PrintDocumentAdapter adapter [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentsHorizontalScrollView.java | 352 public void setAdapter(TaskDescriptionAdapter adapter) { argument 353 mAdapter = adapter;
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
H A D | StaggeredGridView.java | 64 * Like ListView, SGV populates from an adapter and recycles views that fall out 67 * - mFirstPosition is the adapter position of the View returned by getChildAt(0). 68 * - Any child index can be translated to an adapter position by adding mFirstPosition. 69 * - Any adapter position can be translated to a child index by subtracting mFirstPosition. 71 * currently attached to the grid as children. All other adapter positions do not have 269 * Return the first adapter position with a view currently attached as 272 * @return the adapter position represented by the view at getChildAt(0). 743 * @param queryAdapter true to requery the adapter for view data 1221 * Obtain a populated view from the adapter. If optScrap is non-null and is not 1244 // The adapter did 1269 setAdapter(ListAdapter adapter) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | AbsSpinnerCompat.java | 79 * @param adapter The SpinnerAdapter to use for this Spinner 82 public void setAdapter(SpinnerAdapter adapter) { argument 88 mAdapter = adapter; 248 * Jump directly to a specific item in the adapter data.
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayManagerService.java | 80 * one display adapter for built-in local displays, one for simulated non-functional 189 // The Wifi display adapter, or null if not registered. 195 // The virtual display adapter, or null if not registered. 521 + "because the virtual display adapter is not available."); 583 // Register default display adapter. 632 private void registerDisplayAdapterLocked(DisplayAdapter adapter) { argument 633 mDisplayAdapters.add(adapter); 634 adapter.registerLocked(); 964 for (DisplayAdapter adapter : mDisplayAdapters) { 965 pw.println(" " + adapter [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ExpandableListView.java | 555 public void setAdapter(ListAdapter adapter) { argument 588 * Sets the adapter that provides data to this view. 589 * @param adapter The adapter that provides data to this view. 591 public void setAdapter(ExpandableListAdapter adapter) { argument 593 mAdapter = adapter; 595 if (adapter != null) { 597 mConnector = new ExpandableListConnector(adapter); 607 * Gets the adapter that provides data to this view. 608 * @return The adapter tha [all...] |