/packages/apps/Settings/src/com/android/settings/ |
TetherSettings.java | 148 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local 149 if (adapter != null) { 150 adapter.getProfileProxy(activity.getApplicationContext(), mProfileServiceListener, 453 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local 454 if (adapter == null) { 457 int btState = adapter.getState(); 526 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local 527 if (adapter.getState() == BluetoothAdapter.STATE_OFF) { 529 adapter.enable();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
PlaybackControlGlue.java | 51 * on the controls row as the primary actions adapter, and adds actions to it. You can provide 77 * The adapter key for the first custom control on the left side 83 * The adapter key for the skip to previous control. 88 * The adapter key for the rewind control. 93 * The adapter key for the play/pause control. 98 * The adapter key for the fast forward control. 103 * The adapter key for the skip to next control. 108 * The adapter key for the first custom control on the right side 700 private static void notifyItemChanged(SparseArrayObjectAdapter adapter, Object object) { 701 int index = adapter.indexOf(object) [all...] |
PlaybackControlSupportGlue.java | 53 * on the controls row as the primary actions adapter, and adds actions to it. You can provide 79 * The adapter key for the first custom control on the left side 85 * The adapter key for the skip to previous control. 90 * The adapter key for the rewind control. 95 * The adapter key for the play/pause control. 100 * The adapter key for the fast forward control. 105 * The adapter key for the skip to next control. 110 * The adapter key for the first custom control on the right side 698 private static void notifyItemChanged(SparseArrayObjectAdapter adapter, Object object) { 699 int index = adapter.indexOf(object) [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
BaseRecyclerViewAnimationsTest.java | 290 assertEquals("on pre layout, state should return abstracted adapter size", 296 assertEquals("on post layout, state should return real adapter size", 438 assertEquals("adapter position calculations should match view holder " 492 final public void run(TestAdapter adapter) throws Throwable { 493 onRun(adapter); 531 adapter, enum constant in enum:BaseRecyclerViewAnimationsTest.PositionConstraint.Type 532 adapterScrap /*first pass adapter, second pass scrap*/ 559 constraint.mPostLayoutPos = position;// adapter pos does not change 563 public static PositionConstraint adapter(int position) { method in class:BaseRecyclerViewAnimationsTest.PositionConstraint 565 constraint.mType = Type.adapter; [all...] |
GridLayoutManagerWrapContentWithAspectRatioTest.java | 124 WrapContentAdapter adapter = new WrapContentAdapter(behavior1, behavior2); local 132 mRecyclerView.setAdapter(adapter); 210 WrapContentAdapter adapter = new WrapContentAdapter(behavior1, behavior2); local 212 mRecyclerView.setAdapter(adapter); 286 WrapContentAdapter adapter = new WrapContentAdapter(behavior1, behavior2); local 288 mRecyclerView.setAdapter(adapter);
|
/developers/demos/JustForUs/justforus/src/main/java/com/example/android/justforus/ |
MainActivity.java | 68 // Initialize the adapter with all the coupons. Set the adapter on the {@link GridView}. 112 * will be a view provided by the adapter). 113 * @param position The position of the view in the adapter. 118 // Find coupon that was clicked based off of position in adapter 151 * Adapter for grid of coupons.
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
AbstractTextPropertyEditor.java | 146 public void proposalPopupClosed(ContentProposalAdapter adapter) { 151 public void proposalPopupOpened(ContentProposalAdapter adapter) { 174 ImmediateProposalAdapter adapter = new ImmediateProposalAdapter( local 177 adapter.setFilterStyle(ContentProposalAdapter.FILTER_NONE); 178 adapter.setProposalAcceptanceStyle(ContentProposalAdapter.PROPOSAL_REPLACE); 181 adapter.setLabelProvider(labelProvider);
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/ |
PageAndListRowFragment.java | 253 ArrayObjectAdapter adapter = new ArrayObjectAdapter(presenterSelector); local 255 adapter.add(card); 259 return new CardListRow(headerItem, adapter, cardRow); 297 ArrayObjectAdapter adapter = new ArrayObjectAdapter(iconCardPresenter); local 299 adapter.add(card); 303 return new CardListRow(headerItem, adapter, cardRow);
|
/frameworks/base/docs/html/guide/topics/ui/ |
declaring-layout.jd | 20 <li><a href="#AdapterViews">Building Layouts with an Adapter</a> 22 <li><a href="#FillingTheLayout">Filling an adapter view with data</a></li> 369 <h2 id="AdapterViews" style="clear:left">Building Layouts with an Adapter</h2> 373 subclass of the {@link android.widget.AdapterView} class uses an {@link android.widget.Adapter} to 374 bind data to its layout. The {@link android.widget.Adapter} behaves as a middleman between the data 375 source and the {@link android.widget.AdapterView} layout—the {@link android.widget.Adapter} 379 <p>Common layouts backed by an adapter include:</p> 395 <h3 id="FillingTheLayout" style="clear:left">Filling an adapter view with data</h3> 399 {@link android.widget.Adapter}, which retrieves data from an external source and creates a {@link 402 <p>Android provides several subclasses of {@link android.widget.Adapter} that are useful fo [all...] |
/cts/tests/tests/print/src/android/print/cts/ |
BasePrintTest.java | 248 protected void print(final PrintDocumentAdapter adapter, final PrintAttributes attributes) { 255 printManager.print("Print job", adapter, attributes); 260 protected void print(PrintDocumentAdapter adapter) { 261 print(adapter, null); 635 // Create a mock print adapter. 636 PrintDocumentAdapter adapter = mock(PrintDocumentAdapter.class); local 638 doAnswer(layoutAnswer).when(adapter).onLayout(any(PrintAttributes.class), 643 doAnswer(writeAnswer).when(adapter).onWrite(any(PageRange[].class), 648 doAnswer(finishAnswer).when(adapter).onFinish(); 650 return adapter; [all...] |
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
ParserAdapter.java | 45 * <p>This adapter does not test for duplicate Namespace-qualified 66 * Construct a new parser adapter. 110 * Construct a new parser adapter. 113 * adapter is created; to embed a different parser, allocate 418 * Adapter implementation method; do not call. 434 * Adapter implementation method; do not call. 451 * Adapter implementation method; do not call. 468 * Adapter implementation method; do not call. 600 * Adapter implementation method; do not call. 635 * Adapter implementation method; do not call [all...] |
/system/bt/service/client/ |
main.cpp | 138 cout << COLOR_BOLDWHITE "Adapter state changed: " COLOR_OFF 286 PrintFieldAndValue("Adapter state", bluetooth::AdapterStateToString(state)); 292 PrintFieldAndBoolValue("Adapter enabled", enabled); 298 PrintFieldAndValue("Adapter address", address); 316 PrintFieldAndValue("Adapter name", name); 322 cout << COLOR_BOLDWHITE "Adapter Properties: " COLOR_OFF << endl; 717 { "get-state", HandleGetState, "\t\tGet the current adapter state" }, 720 "\tGet the local adapter address" }, 721 { "set-local-name", HandleSetLocalName, "\t\tSet the local adapter name" }, 722 { "get-local-name", HandleGetLocalName, "\t\tGet the local adapter name" } [all...] |
/frameworks/base/core/java/android/widget/ |
ListView.java | 261 * setting the adapter with {@link #setAdapter(ListAdapter)}. Starting with 263 * called at any time. If the ListView's adapter does not extend 279 // Wrap the adapter if it wasn't already wrapped. 299 * setting the adapter with {@link #setAdapter(ListAdapter)}. Starting with 301 * called at any time. If the ListView's adapter does not extend 355 * setting the adapter with {@link #setAdapter(ListAdapter)}. Starting with 357 * called at any time. If the ListView's adapter does not extend 373 // Wrap the adapter if it wasn't already wrapped. 393 * setting the adapter with {@link #setAdapter(ListAdapter)}. Starting with 395 * called at any time. If the ListView's adapter does not exten 1305 final ListAdapter adapter = mAdapter; local 2151 final ListAdapter adapter = mAdapter; local 2191 final ListAdapter adapter = mAdapter; local 2965 final ListAdapter adapter = getAdapter(); local 2984 final ListAdapter adapter = getAdapter(); local [all...] |
/art/compiler/optimizing/ |
graph_checker.h | 31 errors_(graph->GetArena()->Adapter(kArenaAllocGraphChecker)), 37 blocks_storage_(graph->GetArena()->Adapter(kArenaAllocGraphChecker)),
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ReportExporter.java | 46 ReportExporter(Context context, TestListAdapter adapter) { 48 this.mAdapter = adapter;
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityWindowReportingTest.java | 79 ArrayAdapter<String> adapter = new ArrayAdapter<String>(getActivity(), 81 autoCompleteTextView.setAdapter(adapter);
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/ |
PlaybackOverlayFragment.java | 295 ArrayObjectAdapter adapter = mPrimaryActionsAdapter; local 296 if (adapter.indexOf(action) >= 0) { 297 adapter.notifyArrayItemRangeChanged(adapter.indexOf(action), 1); 300 adapter = mSecondaryActionsAdapter; 301 if (adapter.indexOf(action) >= 0) { 302 adapter.notifyArrayItemRangeChanged(adapter.indexOf(action), 1);
|
/developers/build/prebuilts/gradle/RecyclerView/Application/src/main/java/com/example/android/recyclerview/ |
RecyclerViewFragment.java | 88 // Set CustomAdapter as the adapter for RecyclerView. 151 * Generates Strings for RecyclerView's adapter. This data would usually come
|
/developers/samples/android/connectivity/bluetooth/BluetoothChat/ |
template-params.xml | 35 (2) Querying the local Bluetooth adapter for paired Bluetooth devices 88 3. [Querying][4] the local Bluetooth adapter for paired Bluetooth devices
|
/developers/samples/android/ui/views/RecyclerView/Application/src/main/java/com/example/android/recyclerview/ |
RecyclerViewFragment.java | 88 // Set CustomAdapter as the adapter for RecyclerView. 151 * Generates Strings for RecyclerView's adapter. This data would usually come
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
QuickContactsDemo.java | 65 ContactListItemAdapter adapter = new ContactListItemAdapter(this, R.layout.quick_contacts, c); local 66 setListAdapter(adapter);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
AutoComplete1.java | 33 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, local 36 textView.setAdapter(adapter);
|
AutoComplete4.java | 47 ContactListAdapter adapter = new ContactListAdapter(this, cursor); local 51 textView.setAdapter(adapter);
|
AutoComplete6.java | 33 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, local 36 textView.setAdapter(adapter);
|
/development/samples/browseable/RecyclerView/src/com.example.android.recyclerview/ |
RecyclerViewFragment.java | 88 // Set CustomAdapter as the adapter for RecyclerView. 151 * Generates Strings for RecyclerView's adapter. This data would usually come
|