/frameworks/base/core/java/android/app/ |
H A D | ListActivity.java | 156 * // Now create a new list adapter bound to the cursor. 158 * ListAdapter adapter = new SimpleCursorAdapter( 166 * // Bind to our new adapter. 167 * setListAdapter(adapter); 261 public void setListAdapter(ListAdapter adapter) { argument 264 mAdapter = adapter; 265 mList.setAdapter(adapter); 271 * position with the adapter's data
|
H A D | ExpandableListActivity.java | 93 * for each row. This adapter has separate methods for providing the group 240 * Provide the adapter for the expandable list. 242 public void setListAdapter(ExpandableListAdapter adapter) { argument 245 mAdapter = adapter; 246 mList.setAdapter(adapter);
|
H A D | AlertDialog.java | 490 * @param adapter The {@link ListAdapter} to supply the list of items 495 public Builder setAdapter(final ListAdapter adapter, final OnClickListener listener) { argument 496 P.mAdapter = adapter; 681 * @param adapter The {@link ListAdapter} to supply the list of items 689 public Builder setSingleChoiceItems(ListAdapter adapter, int checkedItem, final OnClickListener listener) { argument 690 P.mAdapter = adapter;
|
/frameworks/base/core/java/android/widget/ |
H A D | HeaderViewListAdapter.java | 52 ListAdapter adapter) { 53 mAdapter = adapter; 54 mIsFilterable = adapter instanceof Filterable; 50 HeaderViewListAdapter(ArrayList<ListView.FixedViewInfo> headerViewInfos, ArrayList<ListView.FixedViewInfo> footerViewInfos, ListAdapter adapter) argument
|
H A D | AbsSpinner.java | 75 ArrayAdapter<CharSequence> adapter = 78 adapter.setDropDownViewResource(R.layout.simple_spinner_dropdown_item); 79 setAdapter(adapter); 97 * @param adapter The SpinnerAdapter to use for this Spinner 100 public void setAdapter(SpinnerAdapter adapter) { argument 106 mAdapter = adapter; 263 * Jump directly to a specific item in the adapter data.
|
H A D | Spinner.java | 170 * by getting a new one from the adapter. If we are animating, make sure 191 // Nothing found in the recycler -- ask the adapter for a view 254 final DropDownAdapter adapter = new DropDownAdapter(getAdapter()); 260 mPopup = builder.setSingleChoiceItems(adapter, getSelectedItemPosition(), this).show(); 304 * <p>Creates a new ListAdapter wrapper for the specified adapter.</p> 306 * @param adapter the Adapter to transform into a ListAdapter 308 public DropDownAdapter(SpinnerAdapter adapter) { argument 309 this.mAdapter = adapter; 310 if (adapter instanceof ListAdapter) { 311 this.mListAdapter = (ListAdapter) adapter; [all...] |
H A D | AdapterView.java | 46 * the adapter does not want the item's view recycled. 141 * The position within the adapter's data set of the item to select 153 * The position within the adapter's data set of the currently selected item. 169 * The number of items in the current adapter. 175 * The number of items in the adapter before a data changed event occured. 181 * number of items in the current adapter. 247 * will be a view provided by the adapter) 248 * @param position The position of the view in the adapter. 276 * @param position The position of the view in the adapter. 349 * @param position The position of the view in the adapter 424 setAdapter(T adapter) argument [all...] |
H A D | ExpandableListView.java | 427 public void setAdapter(ListAdapter adapter) { argument 460 * Sets the adapter that provides data to this view. 461 * @param adapter The adapter that provides data to this view. 463 public void setAdapter(ExpandableListAdapter adapter) { argument 465 mAdapter = adapter; 467 if (adapter != null) { 469 mConnector = new ExpandableListConnector(adapter); 479 * Gets the adapter that provides data to this view. 480 * @return The adapter tha [all...] |
H A D | GridView.java | 114 * @param adapter the adapter providing the grid's data 117 public void setAdapter(ListAdapter adapter) { argument 124 mAdapter = adapter; 160 final ListAdapter adapter = mAdapter; 161 if (adapter == null || isInTouchMode()) {
|
H A D | AutoCompleteTextView.java | 53 * <p>The list of suggestions is obtained from a data adapter and appears 66 * ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, 70 * textView.setAdapter(adapter); 434 * to show up in the adapter sometime in the future. 570 * <p>Returns a filterable list adapter used for auto completion.</p> 572 * @return a data adapter used for auto completion 580 * must be a filterable list adapter.</p> 582 * <p>The caller is still responsible for managing any resources used by the adapter. 583 * Notably, when the AutoCompleteTextView is closed or released, the adapter is not notified. 591 * @param adapter th 597 setAdapter(T adapter) argument [all...] |
H A D | ListView.java | 408 * Returns the adapter currently in use in this ListView. The returned adapter 409 * might not be the same adapter passed to {@link #setAdapter(ListAdapter)} but 412 * @return The adapter currently used to display data in this ListView. 424 * The adapter passed to this method may be wrapped by a {@link WrapperListAdapter}, 426 * headers and/or footers will cause the adapter to be wrapped. 428 * @param adapter The ListAdapter which is responsible for maintaining the 435 public void setAdapter(ListAdapter adapter) { argument 444 mAdapter = new HeaderViewListAdapter(mHeaderViewInfos, mFooterViewInfos, adapter); 446 mAdapter = adapter; [all...] |
/frameworks/base/core/jni/ |
H A D | android_bluetooth_common.h | 43 // but this is only possible when the adapter is up (and hcid is running). 44 // It is much easier just to hardcode bluetooth adapter to hci0 71 const char *adapter; member in struct:android::event_loop_native_data_t
|
H A D | android_server_BluetoothService.cpp | 60 const char *adapter; // dbus object name of the local adapter member in struct:android::__anon36 96 /* Returns true on success (even if adapter is present but disabled). 131 return event_nat->adapter; 137 // This function is called when the adapter is enabled.
|
/frameworks/base/nfc-extras/java/com/android/nfc_extras/ |
H A D | NfcAdapterExtras.java | 80 * @param adapter a {@link NfcAdapter}, must not be null 83 public static NfcAdapterExtras get(NfcAdapter adapter) { argument 87 sAdapter = adapter;
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothAudioGateway.java | 57 public BluetoothAudioGateway(BluetoothAdapter adapter) { argument 58 this(adapter, DEFAULT_HF_AG_CHANNEL, DEFAULT_HS_AG_CHANNEL); 61 public BluetoothAudioGateway(BluetoothAdapter adapter, int handsfreeAgRfcommChannel, argument 63 mAdapter = adapter; 80 IncomingConnectionInfo(BluetoothAdapter adapter, BluetoothDevice remoteDevice, argument 82 mAdapter = adapter;
|
H A D | HeadsetBase.java | 77 public HeadsetBase(PowerManager pm, BluetoothAdapter adapter, BluetoothDevice device, argument 81 mAdapter = adapter; 93 public HeadsetBase(PowerManager pm, BluetoothAdapter adapter, BluetoothDevice device, argument 97 mAdapter = adapter;
|
/frameworks/base/core/java/android/server/ |
H A D | BluetoothEventLoop.java | 103 /* package */ BluetoothEventLoop(Context context, BluetoothAdapter adapter, argument 109 mAdapter = adapter;
|
/frameworks/base/media/libeffects/testlibs/ |
H A D | EffectEqualizer.cpp | 108 FormatAdapter adapter; member in struct:android::__anon407::EqualizerContext 250 pContext->adapter.configure(*pContext->pEqualizer, channelCount, 594 pContext->adapter.process(inBuffer->raw, outBuffer->raw, outBuffer->frameCount);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebTextView.java | 625 public void setAdapterCustom(AutoCompleteAdapter adapter) { argument 626 if (adapter != null) { 629 adapter.setTextView(this); 631 super.setAdapter(adapter); 929 AutoCompleteAdapter adapter = null; 930 setAdapterCustom(adapter);
|
/frameworks/base/core/tests/coretests/src/android/bluetooth/ |
H A D | BluetoothTestUtils.java | 398 public void enable(BluetoothAdapter adapter) { argument 403 int state = adapter.getState(); 406 assertTrue(adapter.isEnabled()); 410 assertFalse(adapter.isEnabled()); 411 assertTrue(adapter.enable()); 414 assertFalse(adapter.isEnabled()); 423 state = adapter.getState(); 425 assertTrue(adapter.isEnabled()); 433 assertFalse(adapter.isEnabled()); 445 public void disable(BluetoothAdapter adapter) { argument 495 discoverable(BluetoothAdapter adapter) argument 534 undiscoverable(BluetoothAdapter adapter) argument 573 startScan(BluetoothAdapter adapter) argument 604 stopScan(BluetoothAdapter adapter) argument 637 pair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) argument 641 acceptPair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) argument 646 pairOrAcceptPair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin, boolean pair) argument 703 unpair(BluetoothAdapter adapter, BluetoothDevice device) argument 755 connectA2dp(BluetoothAdapter adapter, BluetoothDevice device) argument 822 disconnectA2dp(BluetoothAdapter adapter, BluetoothDevice device) argument 883 connectHeadset(BluetoothAdapter adapter, BluetoothDevice device) argument 947 disconnectHeadset(BluetoothAdapter adapter, BluetoothDevice device) argument [all...] |
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 579 LOG_API("nAllocation1DSubData_i, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); 590 LOG_API("nAllocation1DSubData_s, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); 601 LOG_API("nAllocation1DSubData_b, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); 612 LOG_API("nAllocation1DSubData_f, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); 623 LOG_API("nAllocation2DSubData_i, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); 634 LOG_API("nAllocation2DSubData_i, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); 707 nAdapter1DBindAllocation(JNIEnv *_env, jobject _this, jint adapter, jint alloc) argument 710 LOG_API("nAdapter1DBindAllocation, con(%p), adapter(%p), alloc(%p)", con, (RsAdapter1D)adapter, (RsAllocation)alloc); 711 rsAdapter1DBindAllocation(con, (RsAdapter1D)adapter, (RsAllocatio 715 nAdapter1DSetConstraint(JNIEnv *_env, jobject _this, jint adapter, jint dim, jint value) argument 723 nAdapter1DData_i(JNIEnv *_env, jobject _this, jint adapter, jintArray data) argument 734 nAdapter1DSubData_i(JNIEnv *_env, jobject _this, jint adapter, jint offset, jint count, jintArray data) argument 745 nAdapter1DData_f(JNIEnv *_env, jobject _this, jint adapter, jfloatArray data) argument 756 nAdapter1DSubData_f(JNIEnv *_env, jobject _this, jint adapter, jint offset, jint count, jfloatArray data) argument 777 nAdapter2DBindAllocation(JNIEnv *_env, jobject _this, jint adapter, jint alloc) argument 785 nAdapter2DSetConstraint(JNIEnv *_env, jobject _this, jint adapter, jint dim, jint value) argument 793 nAdapter2DData_i(JNIEnv *_env, jobject _this, jint adapter, jintArray data) argument 804 nAdapter2DData_f(JNIEnv *_env, jobject _this, jint adapter, jfloatArray data) argument 815 nAdapter2DSubData_i(JNIEnv *_env, jobject _this, jint adapter, jint xoff, jint yoff, jint w, jint h, jintArray data) argument 827 nAdapter2DSubData_f(JNIEnv *_env, jobject _this, jint adapter, jint xoff, jint yoff, jint w, jint h, jfloatArray data) argument [all...] |