/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/ |
ComplexProperty.java | 143 // Adapter 147 public <T> T getAdapter(Class<T> adapter) { 148 if (adapter == PropertyTooltipProvider.class && m_tooltip != null) { 149 return adapter.cast(new PropertyTooltipTextProvider() { 156 return super.getAdapter(adapter);
|
/external/google-tv-pairing-protocol/cpp/src/polo/wire/ |
polowireadapter.h | 26 // adapter is responsible for serializing and deserializing messages sent and 30 // Creates a new adapter on the given interface. The interface should only 31 // exist in the context of this adapter and will be freed when this adapter is 38 // must be set before using this adapter.
|
/external/guava/guava-tests/test/com/google/common/collect/ |
TreeTraverserTest.java | 62 private static final TreeTraverser<Tree> ADAPTER = new TreeTraverser<Tree>() { 131 assertThat(iterationOrder(ADAPTER.preOrderTraversal(h))).isEqualTo("hdabcegf"); 136 assertThat(iterationOrder(ADAPTER.postOrderTraversal(h))).isEqualTo("abcdefgh"); 141 assertThat(iterationOrder(ADAPTER.breadthFirstTraversal(h))).isEqualTo("hdegabcf"); 152 tester.testAllPublicInstanceMethods(ADAPTER);
|
/frameworks/base/core/java/com/android/internal/widget/ |
PagerAdapter.java | 26 * Base class providing the adapter to populate pages inside of 51 * independent of its position in the adapter. A call to the PagerAdapter method 75 * ViewPager will keep the current page active provided the adapter implements 91 * @param container The containing View which is displaying this adapter's 99 * Create the page for the given position. The adapter is responsible 114 * Remove a page for the given position. The adapter is responsible 128 * Called to inform the adapter of which item is currently considered to 144 * @param container The containing View which is displaying this adapter's 153 * @param container The containing View which is displaying this adapter's 162 * Create the page for the given position. The adapter is responsibl [all...] |
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
NekoDialog.java | 35 private final Adapter mAdapter; 40 mAdapter = new Adapter(getContext()); 60 private class Adapter extends RecyclerView.Adapter<Holder> { 65 public Adapter(Context context) {
|
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
BindingAdapter.java | 47 * When a binding adapter may also take multiple attributes, it will only be called when all 48 * attributes associated with the binding adapter have binding expressions associated with them. 60 * A binding adapter may optionally take a class extending DataBindingComponent as the first 65 * If a binding adapter is an instance method, the generated DataBindingComponent will have 72 * @return The attributes associated with this binding adapter.
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
PagerAdapter.java | 26 * Base class providing the adapter to populate pages inside of 51 * independent of its position in the adapter. A call to the PagerAdapter method 75 * ViewPager will keep the current page active provided the adapter implements 92 * @param container The containing View which is displaying this adapter's 100 * Create the page for the given position. The adapter is responsible 115 * Remove a page for the given position. The adapter is responsible 129 * Called to inform the adapter of which item is currently considered to 145 * @param container The containing View which is displaying this adapter's 154 * @param container The containing View which is displaying this adapter's 164 * Create the page for the given position. The adapter is responsibl [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
NestedRecyclerViewActivity.java | 49 static class InnerAdapter extends RecyclerView.Adapter<InnerAdapter.ViewHolder> { 87 static class OuterAdapter extends RecyclerView.Adapter<OuterAdapter.ViewHolder> { 127 // Note: would be equally valid to replace adapter content instead of swapping adapter 150 protected RecyclerView.Adapter createAdapter() {
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
SimpleStringAdapter.java | 17 package com.example.android.supportv7.widget.adapter; 31 * A simple RecyclerView adapter that displays every string passed in a constructor as an item. 33 public class SimpleStringAdapter extends RecyclerView.Adapter<SimpleStringAdapter.ViewHolder> { 99 * Returns LayoutParams to be used for each item in this adapter. It can be overridden 101 * @return LayoutParams to be used for each item in this adapter.
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
ListRowDataAdapter.java | 14 * the invisible rows at the end. In case the data inside the adapter changes, it adjusts the 26 public ListRowDataAdapter(ObjectAdapter adapter) { 27 super(adapter.getPresenterSelector()); 28 this.mAdapter = adapter; 36 if (adapter.isImmediateNotifySupported()) {
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
StaggeredGridLayoutManagerGapTest.java | 71 final RecyclerView.Adapter adapter = mAdapter; local 98 // now layout another RV with same adapter 101 mRecyclerView.setAdapter(adapter);// use same adapter so that items can be matched
|
RecyclerViewLayoutTest.java | 117 final TestAdapter adapter = new TestAdapter(20) { local 137 rv.setAdapter(adapter); 152 adapter.notifyItemChanged(4); 483 final TestAdapter adapter = new TestAdapter(1); local 484 recyclerView.setAdapter(adapter); 527 final TestAdapter adapter = new TestAdapter(1); local 528 recyclerView.setAdapter(adapter); 565 RecyclerView.Adapter adapter = new RecyclerView.Adapter() { local 623 final TestAdapter adapter = new TestAdapter(12); local 691 TestAdapter adapter = new TestAdapter(100); local 749 final TestAdapter adapter = new TestAdapter(10) { local 778 final TestAdapter adapter = new TestAdapter(10) { local 835 TestAdapter adapter = new TestAdapter(100); local 895 TestAdapter adapter = new TestAdapter(100); local 920 final TestAdapter adapter = new TestAdapter(1000); local 1022 final TestAdapter adapter = new TestAdapter(5); local 1074 TestAdapter adapter = new TestAdapter(100); local 1164 final TestAdapter adapter = new TestAdapter(itemCount); local 1194 final TestAdapter adapter = new TestAdapter(100); local 1316 TestAdapter adapter = new TestAdapter(100); local 1496 TestAdapter adapter = new TestAdapter(100); local 1708 final TestAdapter adapter = new TestAdapter(10); local 1822 TestAdapter adapter = new TestAdapter(10) { local 1877 TestAdapter adapter = new TestAdapter(10); local 2731 final TestAdapter adapter = new TestAdapter(10); local 2773 final TestAdapter adapter = new TestAdapter(10); local 2816 final TestAdapter adapter = new TestAdapter(10) { local 2874 final TestAdapter adapter = new TestAdapter(10); local 3016 final TestAdapter adapter = new TestAdapter(10); local 3370 final TestAdapter adapter = new TestAdapter(initialAdapterSize); local 3393 final TestAdapter adapter = new TestAdapter(initialAdapterSize); local 3433 final TestAdapter adapter = new TestAdapter(100) { local [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
DocumentsAdapter.java | 39 * dummy layout objects was error prone when interspersed with the core mode / adapter code. 45 extends RecyclerView.Adapter<DocumentHolder> { 58 * Returns a list of model IDs of items currently in the adapter. 71 * @return The model ID of the item at the given adapter position. 102 * Environmental access for View adapter implementations.
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
WidgetsRecyclerView.java | 68 public void setAdapter(Adapter adapter) { 69 super.setAdapter(adapter); 70 mAdapter = (WidgetsListAdapter) adapter; 74 * Maps the touch (from 0..1) to the adapter position that should be visible.
|
/system/bt/service/ipc/ |
ipc_manager.h | 25 class Adapter; 63 explicit IPCManager(bluetooth::Adapter* adapter); 93 // The Bluetooth adapter instance. This is owned by Daemon so we keep a raw 95 bluetooth::Adapter* adapter_;
|
linux_ipc_host.h | 28 class Adapter; 40 LinuxIPCHost(int sockfd, bluetooth::Adapter* adapter); 55 // Applies adapter name changes to stack. 96 bluetooth::Adapter* adapter_;
|
/tools/test/connectivity/acts/tests/google/bt/pts/ |
bta_lib.py | 17 Bluetooth adapter libraries 34 """Set the Scan mode of the Bluetooth Adapter""" 41 """Set Bluetooth Adapter Name""" 45 """Enable Bluetooth Adapter""" 49 """Disable Bluetooth Adapter"""
|
/external/autotest/server/cros/bluetooth/ |
bluetooth_device.py | 44 # Get some static information about the bluetooth adapter. 82 """Reset the adapter and settings and power up the adapter. 91 """Reset the adapter and settings, leave the adapter powered off. 100 """@return True if an adapter is present, False if not.""" 105 """Set the adapter power state. 107 @param powered: adapter power state to set (True or False). 116 """Is the adapter powered on? 118 @returns: True if the adapter is powered o [all...] |
/frameworks/base/core/java/android/widget/ |
RemoteViewsService.java | 28 * The service to be connected to for a remote adapter to request RemoteViews. Users should 46 * An interface for an adapter between a remote collection view (ListView, GridView, etc) and 48 * for each item in the data set. This interface is a thin wrapper around {@link Adapter}. 50 * @see android.widget.Adapter 61 * Called when notifyDataSetChanged() is triggered on the remote adapter. This allows a 78 * See {@link Adapter#getCount()} 85 * See {@link Adapter#getView(int, android.view.View, android.view.ViewGroup)}. 106 * See {@link Adapter#getViewTypeCount()}. 113 * See {@link Adapter#getItemId(int)}. 121 * See {@link Adapter#hasStableIds()} [all...] |
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
BlockedListSearchFragment.java | 80 * adapter returned by #createListAdapter is used, which populates the view with contacts. 124 BlockedListSearchAdapter adapter = new BlockedListSearchAdapter(getActivity()); local 125 adapter.setDisplayPhotos(true); 127 adapter.setUseCallableUri(false); 129 adapter.setQueryString(getQueryString() == null ? "" : getQueryString()); 130 return adapter; 137 final BlockedListSearchAdapter adapter = (BlockedListSearchAdapter) getAdapter(); local 138 final int shortcutType = adapter.getShortcutTypeFromPosition(adapterPosition); 144 number = adapter.getPhoneNumber(adapterPosition); 149 number = adapter.getQueryString() [all...] |
/packages/apps/Car/Radio/src/com/android/car/radio/ |
CarouselView.java | 32 * A View that displays a vertical list of child views provided by a {@link CarouselView.Adapter}. 56 private CarouselView.Adapter mAdapter; 113 * Sets the adapter that will provide the Views to be displayed in the carousel. 115 public void setAdapter(CarouselView.Adapter adapter) { 117 Log.d(TAG, "setAdapter(): " + adapter); 124 mAdapter = adapter; 126 // Clear the scrap views because the Views returned from the adapter can be different from 127 // an adapter that was previously set. 132 Log.d(TAG, "adapter item count: " + adapter.getItemCount()) [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactBrowseListFragment.java | 335 // Configure the adapter to show the selection based on the 337 ContactListAdapter adapter = getAdapter(); local 338 if (adapter != null) { 339 adapter.setSelectedContact(mSelectedContactDirectoryId, 388 ContactListAdapter adapter = getAdapter(); local 389 if (adapter == null) { 395 adapter.setFilter(mFilter); 398 adapter.setSelectedContact( 403 adapter.setIncludeFavorites(!searchMode && mFilter.isContactsFilterType()); 432 ContactListAdapter adapter = getAdapter() local 545 ContactListAdapter adapter = getAdapter(); local [all...] |
/external/autotest/client/cros/bluetooth/ |
bluetooth_device_xmlrpc_server.py | 100 # Timeout for how long we'll wait for BlueZ and the Adapter to show up 113 # of adapter indexes to determine whether or not this device has a 114 # Bluetooth Adapter or not. 137 # the Bluetooth Adapter, and the advertising manager. 161 This includes powering up the adapter. 190 # This does not mean that the adapter is powered on. 191 logging.debug('waiting for bluez to obtain adapter information') 195 desc='Bluetooth Daemon has adapter information.', 198 logging.error('timeout: error starting adapter: %s', e) 303 """Store a D-Bus proxy for the local adapter in self._adapter [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAlertDialog.java | 8 import android.widget.Adapter; 43 private ListAdapter adapter; field in class:ShadowAlertDialog 167 public Adapter getAdapter() { 168 return adapter; 207 adapter = new ArrayAdapter<CharSequence>(context, R.layout.simple_list_item_checked, R.id.text1, items); 210 if (adapter != null) { 211 getListView().setAdapter(adapter); 245 private ListAdapter adapter; field in class:ShadowAlertDialog.ShadowBuilder 309 public AlertDialog.Builder setSingleChoiceItems(ListAdapter adapter, int checkedItem, final DialogInterface.OnClickListener listener) { 313 this.adapter = adapter [all...] |
/cts/tests/tests/print/src/android/print/cts/ |
PageRangeAdjustmentTest.java | 85 // Create a mock print adapter. 86 final PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(PAGE_COUNT); local 88 makeDefaultPrinter(adapter, FIRST_PRINTER); 113 // Create a mock print adapter. 114 final PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(PAGE_COUNT); local 117 print(adapter); 165 // Create a mock print adapter. 166 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 197 print(adapter); 256 // Create a mock print adapter 257 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 348 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 435 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local [all...] |