HomeSort by relevance Sort by last modified time
    Searched full:adapter (Results 1001 - 1025 of 3250) sorted by null

<<41424344454647484950>>

  /prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/
SDL_system.h 46 /* Returns the D3D9 adapter index that matches the specified display index.
47 This adapter index can be passed to IDirect3D9::CreateDevice and controls
58 /* Returns the DXGI Adapter and Output indices for the specified display index.
  /system/bt/service/test/
ipc_linux_unittest.cc 29 #include "service/adapter.h"
64 adapter_ = bluetooth::Adapter::Create();
106 std::unique_ptr<bluetooth::Adapter> adapter_;
  /system/bt/tools/bdtool/
adapter.c 19 #include "support/adapter.h"
34 // Returns the current adapter state.
37 // Returns the number of adapter properties.
  /frameworks/ex/widget/java/com/android/ex/widget/
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
    [all...]
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
BaseRecyclerViewInstrumentationTest.java 144 void setAdapter(final RecyclerView.Adapter adapter) throws Throwable {
148 mRecyclerView.setAdapter(adapter);
182 void swapAdapter(final RecyclerView.Adapter adapter,
188 mRecyclerView.swapAdapter(adapter, removeAndRecycleExistingViews);
266 final RecyclerView.Adapter adapter = mRecyclerView.getAdapter();
267 if (adapter instanceof AttachDetachCountingAdapter) {
268 ((AttachDetachCountingAdapter) adapter).getCounter(
    [all...]
DefaultItemAnimatorTest.java 51 Adapter mAdapter;
110 mAdapter = new Adapter(20);
399 private class Adapter extends RecyclerView.Adapter<ViewHolder> {
403 private Adapter(int count) {
  /cts/tests/tests/print/src/android/print/cts/
PageRangeAdjustAndVerify.java 96 // Create a mock print adapter.
97 final PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); local
99 makeDefaultPrinter(adapter, FIRST_PRINTER);
265 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local
355 print(adapter);
  /cts/tests/tests/widget/src/android/widget/cts/util/
ExpandableListScenario.java 231 throw new IllegalStateException("position out of range for adapter!");
285 final ExpandableListAdapter adapter = mAdapter; local
287 for (int i = adapter.getGroupCount() - 1; i >= 0; i--) {
288 final int curNumChildren = adapter.getChildrenCount(i);
303 * Simple expandable list adapter.
  /developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
BluetoothChatFragment.java 70 * Array adapter for the conversation thread
80 * Local Bluetooth adapter
93 // Get local Bluetooth adapter
96 // If the adapter is null, then Bluetooth is not supported
162 // Initialize the array adapter for the conversation thread
  /developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
BluetoothChatFragment.java 70 * Array adapter for the conversation thread
80 * Local Bluetooth adapter
93 // Get local Bluetooth adapter
96 // If the adapter is null, then Bluetooth is not supported
162 // Initialize the array adapter for the conversation thread
  /development/apps/Development/src/com/android/development/
SyncAdapterDriver.java 105 ArrayAdapter<String> adapter = local
108 mSyncAdapterSpinner.setAdapter(adapter);
144 ArrayAdapter<String> adapter = local
147 mAccountPickerView.setAdapter(adapter);
344 private static final String ATTRIBUTES_NAME = "sync-adapter";
  /development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
BluetoothChat.java 74 // Array adapter for the conversation thread
78 // Local Bluetooth adapter
92 // Get local Bluetooth adapter
95 // If the adapter is null, then Bluetooth is not supported
139 // Initialize the array adapter for the conversation thread
  /development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
BluetoothChatFragment.java 70 * Array adapter for the conversation thread
80 * Local Bluetooth adapter
93 // Get local Bluetooth adapter
96 // If the adapter is null, then Bluetooth is not supported
162 // Initialize the array adapter for the conversation thread
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCursorAdapter.java 39 * Adapter that exposes data from a {@link android.database.Cursor Cursor} to a
119 * Constructor. The adapter will call requery() on the cursor whenever
134 * @param autoRequery If true the adapter will call requery() on the
332 * by the filter attached to this adapter.
388 * this adapter.
  /frameworks/base/core/java/android/app/
ExpandableListActivity.java 92 * for each row. This adapter has separate methods for providing the group
239 * Provide the adapter for the expandable list.
241 public void setListAdapter(ExpandableListAdapter adapter) {
244 mAdapter = adapter;
245 mList.setAdapter(adapter);
  /frameworks/support/v7/preference/src/android/support/v7/preference/
PreferenceGroup.java 228 // in the adapter by RecyclerView, to make it appear as if it has only been
414 * Return the adapter position of the first {@link Preference} with the specified key
416 * @return Adapter position of the {@link Preference} or
422 * Return the adapter position of the specified {@link Preference} object
424 * @return Adapter position of the {@link Preference} or
  /frameworks/support/v7/recyclerview/src/android/support/v7/widget/
SnapHelper.java 70 RecyclerView.Adapter adapter = mRecyclerView.getAdapter(); local
71 if (adapter == null) {
272 * Override to provide a particular adapter target position for snapping.
279 * @return the target adapter position to you want to snap or {@link RecyclerView#NO_POSITION}
  /packages/apps/Settings/src/com/android/settings/bluetooth/
RequestPermissionActivity.java 47 // adb shell am start -a android.bluetooth.adapter.action.REQUEST_ENABLE
48 // adb shell am start -a android.bluetooth.adapter.action.REQUEST_DISCOVERABLE
49 // adb shell am start -a android.bluetooth.adapter.action.REQUEST_DISABLE
103 Log.e(TAG, "Unknown adapter state: " + btState);
145 Log.e(TAG, "Unknown adapter state: " + btState);
  /packages/services/Telecomm/src/com/android/server/telecom/
BluetoothManager.java 197 // BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
198 // if ((adapter == null) || !adapter.isEnabled()) {
202 // Log.d(this, " - BT enabled! device name " + adapter.getName()
203 // + ", address " + adapter.getAddress());
  /system/bt/service/hal/
bluetooth_interface.cc 71 VLOG(1) << "Adapter state changed: " << BtStateText(state);
79 VLOG(1) << "Adapter properties changed - status: " << BtStatusText(status)
248 // Open the Bluetooth adapter.
259 // Initialize the Bluetooth interface. Set up the adapter (Bluetooth DM) API
289 // The HAL handle that represents the underlying Bluetooth adapter. We hold a
  /system/bt/service/ipc/
linux_ipc_host.cc 38 #include "service/adapter.h"
40 using bluetooth::Adapter;
75 LinuxIPCHost::LinuxIPCHost(int sockfd, Adapter* adapter)
76 : adapter_(adapter), pfds_(1, {sockfd, POLLIN, 0}) {}
  /tools/test/connectivity/acts/tests/google/bt/car_bt/
BtCarHfpConnectionTest.py 123 Tests that after we turn adapter on when an active call is in
128 2. HF's adapter is OFF
133 3. Turn HF's adapter ON
174 # Turn the adapter OFF on HF
179 # Turn adapter ON on HF
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
SelectPrinterActivity.java 138 final DestinationAdapter adapter = new DestinationAdapter(); local
139 adapter.registerDataSetObserver(new DataSetObserver() {
142 if (!isFinishing() && adapter.getCount() <= 0) {
143 updateEmptyView(adapter);
150 updateEmptyView(adapter);
154 mListView.setAdapter(adapter);
356 DestinationAdapter adapter = (DestinationAdapter) mListView.getAdapter(); local
357 List<PrinterInfo> printers = adapter.getPrinters();
358 int numPrinters = adapter.getPrinters().size();
409 public void updateEmptyView(DestinationAdapter adapter) {
    [all...]
  /external/kernel-headers/original/scsi/
sg.h 63 unsigned short host_status; /* [o] errors from host adapter */
110 short h_cmd_per_lun;/* host (adapter) maximum commands per lun */
111 short d_queue_depth;/* device (or adapter) maximum queue length */
132 #define SG_EMULATED_HOST 0x2203 /* true for emulated host adapter (ATAPI) */
148 #define SG_SET_FORCE_LOW_DMA 0x2279 /* 0-> use adapter setting, 1-> force */
160 /* Yields max scatter gather tablesize allowed by current host adapter */
194 If scatter-gather is not supported by adapter then this value is the
  /frameworks/base/core/java/android/nfc/cardemulation/
NfcFCardEmulation.java 63 * @param adapter A reference to an NfcAdapter object.
66 public static synchronized NfcFCardEmulation getInstance(NfcAdapter adapter) {
67 if (adapter == null) throw new NullPointerException("NfcAdapter is null");
68 Context context = adapter.getContext();
93 INfcFCardEmulation service = adapter.getNfcFCardEmulationService();
474 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); local
475 sService = adapter.getNfcFCardEmulationService();

Completed in 810 milliseconds

<<41424344454647484950>>