/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
DiffUtil.java | 33 * It can be used to calculate updates for a RecyclerView Adapter. 314 * {@link android.support.v7.widget.RecyclerView.Adapter RecyclerView.Adapter}, you should 411 * {@link RecyclerView.Adapter} via {@link #dispatchUpdatesTo(RecyclerView.Adapter)}. 628 * Dispatches the update events to the given adapter. 630 * For example, if you have an {@link android.support.v7.widget.RecyclerView.Adapter Adapter} 640 * Note that the RecyclerView requires you to dispatch adapter updates immediately when you 642 * rule because updates are sent to the adapter right after the backing data is changed [all...] |
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
SideFragment.java | 187 * HACK: The following methods bypass the updating mechanism of RecyclerView.Adapter and 189 * Adapter.notifyItemsChanged() causes the VerticalGridView to lose track of displayed item 256 private static class ItemAdapter extends RecyclerView.Adapter<ItemAdapter.ViewHolder> { 328 public void onBind(ItemAdapter adapter, Item item) { 329 mAdapter = adapter;
|
/system/bt/btif/src/ |
btif_storage.c | 24 * Description: Stores the local BT adapter and remote device properties in 198 else btif_config_set_str("Adapter", 207 btif_config_set_int("Adapter", 211 btif_config_set_int("Adapter", 292 else ret = btif_config_get_str("Adapter", 319 ret = btif_config_get_int("Adapter", 324 ret = btif_config_get_int("Adapter", 570 ** Description BTIF storage API - Fetches the adapter property->type 582 /* Special handling for adapter BD_ADDR and BONDED_DEVICES */ 675 ** Description BTIF storage API - Stores the adapter propert [all...] |
/frameworks/base/core/java/android/widget/ |
AutoCompleteTextView.java | 55 * <p>The list of suggestions is obtained from a data adapter and appears 68 * ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, 72 * textView.setAdapter(adapter); 129 // When set, an update in the underlying adapter will update the result list popup. 557 * to show up in the adapter sometime in the future. 712 * <p>Returns a filterable list adapter used for auto completion.</p> 714 * @return a data adapter used for auto completion 722 * must be a filterable list adapter.</p> 724 * <p>The caller is still responsible for managing any resources used by the adapter. 725 * Notably, when the AutoCompleteTextView is closed or released, the adapter is not notified 1231 final ListAdapter adapter = mAdapter; local [all...] |
ArrayAdapter.java | 69 * array adapter. 75 * array adapter in a drop down widget. 292 * Sorts the content of this adapter using the specified comparator. 295 * in this adapter. 333 * Returns the context associated with this array adapter. The context is used 336 * @return The Context associated with this adapter. 430 * {@link Context} passed to the adapter's constructor. 433 * {@code null} to use the theme from the adapter's context 485 * <p>An array filter constrains the content of the array adapter with
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
BrowseFragment.java | 62 * of rows in a vertical list. The elements in this adapter must be subclasses 132 // if main fragment was restored first before BrowseFragment's adapter gets 185 // with adapter changes. Example: a row is added before the current selected row; 187 // new selection propagated immediately; THEN the rows view processes the same adapter 313 * of {@link Row}. We provide an out of the box adapter implementation for any rows other than 454 public void setAdapter(ObjectAdapter adapter) { 491 private boolean createMainFragment(ObjectAdapter adapter, int position) { 493 if (adapter == null || adapter.size() == 0) { 498 } else if (position >= adapter.size()) [all...] |
BrowseSupportFragment.java | 64 * of rows in a vertical list. The elements in this adapter must be subclasses 134 // if main fragment was restored first before BrowseSupportFragment's adapter gets 187 // with adapter changes. Example: a row is added before the current selected row; 189 // new selection propagated immediately; THEN the rows view processes the same adapter 315 * of {@link Row}. We provide an out of the box adapter implementation for any rows other than 456 public void setAdapter(ObjectAdapter adapter) { 493 private boolean createMainFragment(ObjectAdapter adapter, int position) { 495 if (adapter == null || adapter.size() == 0) { 500 } else if (position >= adapter.size()) [all...] |
/cts/tests/tests/print/src/android/print/cts/ |
PageRangeAdjustmentTest.java | 97 // Create a mock print adapter. 98 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 137 print(adapter); 205 // Create a mock print adapter. 206 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 246 print(adapter); 325 // Create a mock print adapter. 326 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 380 print(adapter); 442 // Create a mock print adapter 443 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 550 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local [all...] |
/frameworks/base/docs/html/training/printing/ |
custom-docs.jd | 17 <li><a href="#print-adapter">Create a Print Adapter</a> 40 <p>This lesson shows you how you connect with the print manager, create a print adapter and 70 implementation of the print adapter class is discussed in the next section.</p> 82 <h2 id="print-adapter">Create a Print Adapter</h2> 84 <p>A print adapter interacts with the Android print framework and handles the steps of the 88 As these selections are made, the print framework asks your adapter to lay out and generate a 91 process, users can choose to cancel the print action, so your print adapter must also listen for 96 in your print adapter in order to interact properly with the print framework:</p [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
BaseRecyclerViewInstrumentationTest.java | 138 void setAdapter(final RecyclerView.Adapter adapter) throws Throwable { 142 mRecyclerView.setAdapter(adapter); 169 void swapAdapter(final RecyclerView.Adapter adapter, 175 mRecyclerView.swapAdapter(adapter, removeAndRecycleExistingViews); 253 final RecyclerView.Adapter adapter = mRecyclerView.getAdapter(); 254 if (adapter instanceof AttachDetachCountingAdapter) { 255 ((AttachDetachCountingAdapter) adapter).getCounter( [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
dxgi.h | [all...] |
/external/apache-http/src/org/apache/commons/logging/impl/ |
LogFactoryImpl.java | 140 * determine system behaviour when a bad logging adapter class is 156 * determine system behaviour when a logging adapter class is 765 * or if no adapter at all can be instantiated 814 // for each discoverable log adapter 820 // for each discoverable log adapter 871 // the first 5 characters of the adapter class right (ignoring case), 872 // then suggest the candidate adapter class name. [all...] |
/frameworks/base/docs/html-intl/intl/ja/guide/topics/ui/ |
declaring-layout.jd | 371 {@link android.widget.AdapterView} ????????????{@link android.widget.Adapter} ????????????????????????? 373 {@link android.widget.Adapter} ???????? {@link android.widget.AdapterView} ??????????????????{@link android.widget.Adapter} ?????????????? ??????????????????????????? {@link android.widget.AdapterView} ?????????????????????? 396 <p>{@link android.widget.AdapterView} ??????? {@link android.widget.Adapter} ????????{@link android.widget.ListView} ? {@link android.widget.GridView} ??? {@link android.widget.AdapterView} ?????????????????????????????????? {@link 401 <p>Android ????????????????? {@link android.widget.AdapterView} ???????????? {@link android.widget.Adapter} ?????????????????? 415 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, 428 listView.setAdapter(adapter); 458 SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, 461 listView.setAdapter(adapter);
|
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/ |
declaring-layout.jd | 372 {@link android.widget.AdapterView} ???? ?? ???? {@link android.widget.Adapter}? 373 ???? ??? ????? ???? ??????. {@link android.widget.Adapter}? ??? ??? {@link android.widget.AdapterView} 374 ???? ??? ??? ??? ???. —{@link android.widget.Adapter}? 398 {@link android.widget.Adapter}? ????? ???. ?? ?? ????? ???? ???? ? ??? ??? ???? {@link 401 <p>Android? {@link android.widget.Adapter}? ?? ???? ?? ? ?????. 415 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, 428 listView.setAdapter(adapter); 458 SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, 461 listView.setAdapter(adapter);
|
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/ |
declaring-layout.jd | 372 {@link android.widget.AdapterView} ?????????? {@link android.widget.Adapter} ??? 373 ???????? ?????? ? ?????? ??????. {@link android.widget.Adapter} ????????? ? ???????? ?????????? ????? ?????????? 374 ?????? ? ??????? {@link android.widget.AdapterView} — {@link android.widget.Adapter} 398 {@link android.widget.Adapter}, ??????? ????????? ?????? ?? ???????? ????????? ? ??????? ?????? {@link 401 <p>? Android ????????????? ????????? ?????????? ???????? {@link android.widget.Adapter}, ??????? ??????? ???????????? ??? 415 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, 428 listView.setAdapter(adapter); 458 SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, 461 listView.setAdapter(adapter);
|
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/ui/ |
declaring-layout.jd | 372 ?????? {@link android.widget.Adapter} 373 ??????????{@link android.widget.Adapter} 375 ????????—{@link android.widget.Adapter}????????????????????????????????? {@link android.widget.AdapterView} 396 <p>?????? {@link android.widget.AdapterView} ??? {@link android.widget.Adapter} ????? {@link android.widget.AdapterView}?? {@link android.widget.ListView} ? 401 <p>Android ????? {@link android.widget.Adapter} ????????????????? 415 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, 428 listView.setAdapter(adapter); 458 SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, 461 listView.setAdapter(adapter);
|
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/ui/ |
declaring-layout.jd | 372 {@link android.widget.AdapterView} ????????? {@link android.widget.Adapter} ?????????????? 373 {@link android.widget.Adapter} ????????? {@link android.widget.AdapterView} ???????? — {@link android.widget.Adapter} ??????????????????????????????? {@link android.widget.AdapterView} ???????? 397 {@link android.widget.Adapter} ??????????????????????? {@link 401 <p>Android ???? {@link android.widget.Adapter} ????????????????? {@link android.widget.AdapterView} ????? 415 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, 428 listView.setAdapter(adapter); 458 SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, 461 listView.setAdapter(adapter);
|
/frameworks/support/fragment/java/android/support/v4/app/ |
ListFragment.java | 180 public void setListAdapter(ListAdapter adapter) { 182 mAdapter = adapter; 184 mList.setAdapter(adapter); 187 // adapter. It is now time to show it. 195 * position with the adapter's data 252 * showing it once an adapter is given with {@link #setListAdapter(ListAdapter)}. 365 ListAdapter adapter = mAdapter; local 367 setListAdapter(adapter); 369 // We are starting without an adapter, so assume we won't
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
PlaybackControlsRowPresenter.java | 120 ObjectAdapter adapter = primary ? local 123 if (adapter == null) { 126 if (adapter.getPresenterSelector() instanceof ControlButtonPresenterSelector) { 128 (ControlButtonPresenterSelector) adapter.getPresenterSelector(); 132 return adapter.getPresenter(adapter.size() > 0 ? adapter.get(0) : null); 387 vh.mControlsBoundData.adapter = row.getPrimaryActionsAdapter(); 393 vh.mSecondaryBoundData.adapter = row.getSecondaryActionsAdapter();
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
loc_eng_ni.cpp | 68 inline LocEngInformNiResponse(LocEngAdapter* adapter, 71 LocMsg(), mAdapter(adapter), 154 pSession->adapter = loc_eng_data.adapter; 242 LocEngAdapter* adapter = pSession->adapter; local 248 msg = new LocEngInformNiResponse(adapter, 263 LOC_LOGD("ni_thread_proc: adapter->sendMsg(msg)\n"); 264 adapter->sendMsg(msg);
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
loc_eng_ni.cpp | 68 inline LocEngInformNiResponse(LocEngAdapter* adapter, 71 LocMsg(), mAdapter(adapter), 154 pSession->adapter = loc_eng_data.adapter; 242 LocEngAdapter* adapter = pSession->adapter; local 248 msg = new LocEngInformNiResponse(adapter, 263 LOC_LOGD("ni_thread_proc: adapter->sendMsg(msg)\n"); 264 adapter->sendMsg(msg);
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
loc_eng_ni.cpp | 68 inline LocEngInformNiResponse(LocEngAdapter* adapter, 71 LocMsg(), mAdapter(adapter), 154 pSession->adapter = loc_eng_data.adapter; 242 LocEngAdapter* adapter = pSession->adapter; local 248 msg = new LocEngInformNiResponse(adapter, 263 LOC_LOGD("ni_thread_proc: adapter->sendMsg(msg)\n"); 264 adapter->sendMsg(msg);
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
loc_eng_ni.cpp | 68 inline LocEngInformNiResponse(LocEngAdapter* adapter, 71 LocMsg(), mAdapter(adapter), 154 pSession->adapter = loc_eng_data.adapter; 242 LocEngAdapter* adapter = pSession->adapter; local 248 msg = new LocEngInformNiResponse(adapter, 263 LOC_LOGD("ni_thread_proc: adapter->sendMsg(msg)\n"); 264 adapter->sendMsg(msg);
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
loc_eng_ni.cpp | 68 inline LocEngInformNiResponse(LocEngAdapter* adapter, 71 LocMsg(), mAdapter(adapter), 154 pSession->adapter = loc_eng_data.adapter; 242 LocEngAdapter* adapter = pSession->adapter; local 248 msg = new LocEngInformNiResponse(adapter, 263 LOC_LOGD("ni_thread_proc: adapter->sendMsg(msg)\n"); 264 adapter->sendMsg(msg);
|
/hardware/qcom/gps/msmcobalt/loc_api/libloc_api_50001/ |
loc_eng_ni.cpp | 67 inline LocEngInformNiResponse(LocEngAdapter* adapter, 70 LocMsg(), mAdapter(adapter), 153 pSession->adapter = loc_eng_data.adapter; 241 LocEngAdapter* adapter = pSession->adapter; local 247 msg = new LocEngInformNiResponse(adapter, 262 LOC_LOGD("ni_thread_proc: adapter->sendMsg(msg)\n"); 263 adapter->sendMsg(msg);
|