/cts/tests/tests/print/src/android/print/cts/ |
BasePrintTest.java | 336 protected void print(final PrintDocumentAdapter adapter, final PrintAttributes attributes) { 337 print(adapter, "Print job", attributes); 340 protected void print(PrintDocumentAdapter adapter) { 341 print(adapter, (PrintAttributes) null); 344 protected void print(PrintDocumentAdapter adapter, String printJobName) { 345 print(adapter, printJobName, null); 351 * @param adapter Adapter supplying data to print 354 protected void print(@NonNull PrintDocumentAdapter adapter, @NonNull String printJobName, 358 .runOnMainSync(() -> getPrintManager(getActivity()).print(printJobName, adapter, 758 PrintDocumentAdapter adapter = mock(PrintDocumentAdapter.class); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ActionBarDisplayOptions.java | 67 final ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, local 69 adapter.add("Item 1"); 70 adapter.add("Item 2"); 71 adapter.add("Item 3"); 72 bar.setListNavigationCallbacks(adapter, this);
|
PrintCustomContent.java | 222 // Create an adapter with the stats and an inflater 224 MotoGpStatAdapter adapter = new MotoGpStatAdapter(items, 235 final int itemCount = adapter.getCount(); 243 final int nextViewType = adapter.getItemViewType(i); 245 view = adapter.getView(i, view, dummyParent); 247 view = adapter.getView(i, null, dummyParent); 334 // Create an adapter with the stats and an inflater 336 MotoGpStatAdapter adapter = new MotoGpStatAdapter(items, 358 final int itemCount = adapter.getCount(); 366 final int nextViewType = adapter.getItemViewType(i) [all...] |
PrintHtmlOffScreen.java | 96 PrintDocumentAdapter adapter = new PrintDocumentAdapter() { local 129 // Pass in the ViewView's document adapter. 130 printManager.print("MotoGP stats", adapter, null);
|
/external/kernel-headers/original/uapi/scsi/ |
cxlflash_ioctl.h | 60 * A valid adapter file descriptor (fd >= 0) is only returned on the initial 62 * is expected to already 'know' the adapter file descriptor associated with the 73 __u64 adap_fd; /* Returned adapter file descriptor */ 124 __u64 adap_fd_src; /* Source context adapter fd */ 149 __u64 adap_fd; /* Returned adapter file descriptor */
|
/frameworks/base/core/java/android/widget/ |
MenuPopupWindow.java | 151 // The adapter may be wrapped. Adjust the index if necessary. 154 final ListAdapter adapter = getAdapter(); local 155 if (adapter instanceof HeaderViewListAdapter) { 156 final HeaderViewListAdapter headerAdapter = (HeaderViewListAdapter) adapter; 161 menuAdapter = (MenuAdapter) adapter;
|
RemoteViewsAdapter.java | 51 * An adapter to a RemoteViewsService which fetches and caches RemoteViews 113 // Used to indicate to the AdapterView that it can use this Adapter immediately after 123 * @return whether the adapter was set or not. 159 * FrameLayouts in the adapter). 168 public RemoteViewsAdapterServiceConnection(RemoteViewsAdapter adapter) { 169 mAdapter = new WeakReference<RemoteViewsAdapter>(adapter); 175 RemoteViewsAdapter adapter; local 177 if ((adapter = mAdapter.get()) != null) { 181 Slog.w(TAG, "bind: adapter was null"); 194 RemoteViewsAdapter adapter; local 213 final RemoteViewsAdapter adapter = mAdapter.get(); local 279 final RemoteViewsAdapter adapter = mAdapter.get(); local [all...] |
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
PromoteClassClassAdapterTest.java | 124 PromoteClassClassAdapter adapter = new PromoteClassClassAdapter(log, new HashSet<String>() { local 131 reader.accept(adapter, 0); 142 reader.accept(adapter, 0); 158 PromoteClassClassAdapter adapter = new PromoteClassClassAdapter(log, new HashSet<String>() { local 164 reader.accept(adapter, 0);
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
ResourceCursorAdapter.java | 47 * @param context The context where the ListView associated with this adapter is running 71 * @param context The context where the ListView associated with this adapter is running 76 * @param autoRequery If true the adapter will call requery() on the 90 * @param context The context where the ListView associated with this adapter is running 95 * @param flags Flags used to determine the behavior of the adapter,
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
BaseLayoutManagerActivity.java | 35 import com.example.android.supportv7.widget.adapter.SimpleStringAdapter; 42 * It initializes a sample adapter and a list of configuration options. Extending activities can 79 protected RecyclerView.Adapter createAdapter() { 174 private RecyclerView.Adapter mConfigAdapter = new RecyclerView.Adapter<ConfigViewHolder>() {
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
MenuPopupWindow.java | 184 // The adapter may be wrapped. Adjust the index if necessary. 187 final ListAdapter adapter = getAdapter(); local 188 if (adapter instanceof HeaderViewListAdapter) { 189 final HeaderViewListAdapter headerAdapter = (HeaderViewListAdapter) adapter; 194 menuAdapter = (MenuAdapter) adapter;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
StaggeredGridLayoutManagerSavedStateTest.java | 77 scrollToPosition(adapter().getItemCount() * 3 / 4); 90 scrollToPositionWithOffset(adapter().getItemCount() / 3, 104 scrollToPositionWithOffset(adapter().getItemCount() * 2 / 3, 193 // use the same adapter for Rect matching 232 public GridTestAdapter adapter() { method in class:StaggeredGridLayoutManagerSavedStateTest.PostLayoutRunnable
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc_eng_msg.h | 62 LocEngPositionMode(LocEngAdapter* adapter, LocPosMode &mode); 71 LocEngStartFix(LocEngAdapter* adapter); 80 LocEngStopFix(LocEngAdapter* adapter); 94 LocEngReportPosition(LocAdapterBase* adapter, 111 LocEngReportSv(LocAdapterBase* adapter,
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
AllContactsFragment.java | 128 final DefaultContactListAdapter adapter = local 136 adapter.setDisplayPhotos(true); 137 adapter.setFilter( 139 adapter.setSectionHeaderDisplayEnabled(isSectionHeaderDisplayEnabled()); 140 return adapter;
|
/system/bt/service/ipc/ |
ipc_handler_linux.cc | 31 IPCHandlerLinux::IPCHandlerLinux(bluetooth::Adapter* adapter, 33 : IPCHandler(adapter, delegate), 137 CHECK(adapter()); 167 LinuxIPCHost ipc_host(client_socket, adapter());
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/ |
PxeUndi.c | 135 Description: This call will prepare the network adapter driver to be unloaded from memory. This call must be
176 Description: This call resets the adapter and programs it with default parameters. The default parameters used
178 receive and transmit units of the network adapter to readily receive or transmit packets. The
179 application must call PXENV_UNDI_OPEN to logically connect the network adapter to the network.
180 This call must be made by an application to establish an interface to the network adapter driver.
181 Note: When the PXE code makes this call to initialize the network adapter, it passes a NULL pointer for
221 Wrapper routine for reset adapter.
224 UNDI RESET ADAPTER
231 Description: This call resets and reinitializes the network adapter with the same set of parameters supplied to
232 Initialize Routine. Unlike Initialize, this call opens the adapter that is, it connects logically to the [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/ |
SetterStore.java | 149 for (HashMap<AccessorKey, InverseDescription> adapter : mStore.inverseAdapters.values()) { 150 for (InverseDescription inverseDescription : adapter.values()) { 531 for (String adapter : adapters) { 532 final String simpleName = simpleName(adapter); 538 list.add(adapter); 579 for (MultiValueAdapterKey adapter : mStore.multiValueAdapters.keySet()) { 580 if (adapter.requireAll && adapter.attributes.length > attributes.length) { 583 ModelClass viewClass = mClassAnalyzer.findClass(adapter.viewType, null); 590 final MethodDescription method = mStore.multiValueAdapters.get(adapter); 683 MethodDescription adapter = adapters.get(key); local [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
DetailsFragment.java | 55 * of rows in a vertical list.The Adapter's {@link PresenterSelector} must maintain subclasses 59 * When {@link FullWidthDetailsOverviewRowPresenter} is found in adapter, DetailsFragment will 364 public void setAdapter(ObjectAdapter adapter) { 365 mAdapter = adapter; 366 Presenter[] presenters = adapter.getPresenterSelector().getPresenters(); 375 mRowsFragment.setAdapter(adapter); 464 // Setup adapter listener to work with ParallaxTransition (>= API 21). 507 * Called to setup each Presenter of Adapter passed in {@link #setAdapter(ObjectAdapter)}.Note 638 ObjectAdapter adapter = getAdapter(); local 641 && (adapter == null || adapter.size() == [all...] |
DetailsSupportFragment.java | 58 * of rows in a vertical list.The Adapter's {@link PresenterSelector} must maintain subclasses 62 * When {@link FullWidthDetailsOverviewRowPresenter} is found in adapter, DetailsSupportFragment will 367 public void setAdapter(ObjectAdapter adapter) { 368 mAdapter = adapter; 369 Presenter[] presenters = adapter.getPresenterSelector().getPresenters(); 378 mRowsSupportFragment.setAdapter(adapter); 467 // Setup adapter listener to work with ParallaxTransition (>= API 21). 510 * Called to setup each Presenter of Adapter passed in {@link #setAdapter(ObjectAdapter)}.Note 641 ObjectAdapter adapter = getAdapter(); local 644 && (adapter == null || adapter.size() == [all...] |
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
MethodHandleCombinersTest.java | 183 MethodHandle adapter = MethodHandles.catchException(target, IllegalArgumentException.class, local 190 returnVal = (String) adapter.invoke("foo", 42, null); 192 returnVal = (String) adapter.invokeExact("foo", 42l, (String) null); 197 returnVal = (String) adapter.invoke("foo", 42, "exceptionMessage"); 199 returnVal = (String) adapter.invokeExact("foo", 42l, "exceptionMessage"); 206 adapter = MethodHandles.catchException(target, IllegalArgumentException.class, handler); 208 returnVal = (String) adapter.invoke("foo", 42, "exceptionMessage"); 210 returnVal = (String) adapter.invokeExact("foo", 42l, "exceptionMessage"); 218 adapter = MethodHandles.catchException(target, IllegalArgumentException.class, handler); 220 returnVal = (String) adapter.invoke("foo", 42, "exceptionMessage") 269 MethodHandle adapter = MethodHandles.guardWithTest(test, target, fallback); local 692 MethodHandle adapter = MethodHandles.filterReturnValue(target, filter); local 711 MethodHandle adapter = MethodHandles.filterReturnValue(target, filter); local 726 MethodHandle adapter = MethodHandles.filterReturnValue(target, filter); local 1430 MethodHandle adapter = MethodHandles.filterArguments( local 1504 MethodHandle adapter = MethodHandles.collectArguments(target, 0, filter); local 1570 MethodHandle adapter = MethodHandles.insertArguments( local 1639 MethodHandle adapter = MethodHandles.foldArguments(target, filter); local 1765 MethodHandle adapter = MethodHandles.guardWithTest(test, target, fallback); local 1888 MethodHandle adapter = MethodHandles.filterArguments(target, 2, filter1, filter2); local 1920 MethodHandle adapter = MethodHandles.foldArguments(target, filter); local [all...] |
/art/compiler/optimizing/ |
ssa_builder.h | 59 ambiguous_agets_(graph->GetArena()->Adapter(kArenaAllocGraphBuilder)), 60 ambiguous_asets_(graph->GetArena()->Adapter(kArenaAllocGraphBuilder)), 61 uninitialized_strings_(graph->GetArena()->Adapter(kArenaAllocGraphBuilder)) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
RecentsRedactionActivity.java | 70 protected void setupTests(ArrayTestListAdapter adapter) { 83 adapter.add(mVerifyRedacted); 84 adapter.add(mVerifyNotRedacted);
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/ |
README.md | 18 This sample implements all the required elements of a sync adapter. 19 - Creates a sync adapter class. 21 - Defines the sync adapter properties in an XML resource file.
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/ |
README.md | 18 This sample implements all the required elements of a sync adapter. 19 - Creates a sync adapter class. 21 - Defines the sync adapter properties in an XML resource file.
|
template-params.xml | 72 This sample implements all the required elements of a sync adapter. 73 - Creates a sync adapter class. 75 - Defines the sync adapter properties in an XML resource file.
|