/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
FocusHighlightHelper.java | 196 * @param adapter adapter of the list row. 198 public static void setupBrowseItemFocusHighlight(ItemBridgeAdapter adapter, int zoomIndex, 200 adapter.setFocusHighlight(new BrowseItemFocusHighlight(zoomIndex, useDimmer)); 241 * @param adapter The adapter of HeadersFragment. 244 public static void setupHeaderItemFocusHighlight(ItemBridgeAdapter adapter) { 245 setupHeaderItemFocusHighlight(adapter, true); 251 * @param adapter The adapter of HeadersFragment [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
LayoutState.java | 50 * Current position on the adapter to get the next item. 55 * Defines the direction in which the data adapter is traversed. 87 * @return true if there are more items in the data adapter
|
/hardware/interfaces/graphics/allocator/2.0/default/ |
Gralloc1On0Adapter.h | 330 auto adapter = getAdapter(device); local 331 return adapter->retain(bufferHandle); 337 auto adapter = getAdapter(device); local 339 auto buffer = adapter->getBuffer(bufferHandle); 344 auto error = adapter->release(buffer); 372 auto adapter = getAdapter(device); local 404 auto buffer = adapter->getBuffer(bufferHandle); 414 auto error = ((*adapter).*member)(buffer, producerUsage, consumerUsage, 423 auto adapter = getAdapter(device); local 425 auto buffer = adapter->getBuffer(bufferHandle) [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/ |
PagingAwareViewPager.java | 59 final PagerAdapter adapter = getAdapter(); local 60 if (adapter != null && UiUtils.isRtlMode()) { 61 return adapter.getCount() - 1 - position;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
SuggestionsAdapter.java | 29 * @param <A> the adapter class used by the UI, probably either {@link ListAdapter} or 50 * Indicates if there's any suggestions in this adapter. 82 * Gets the adapter to be used by the UI view.
|
/packages/apps/Settings/tests/app/src/com/android/settings/ |
SettingsPreferenceFragmentTest.java | 60 PreferenceGroupAdapter adapter = (PreferenceGroupAdapter) local 62 for (int n = 0, count = adapter.getItemCount(); n < count; n++) { 63 final Preference preference = adapter.getItem(n);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
ZonePickerTest.java | 51 final SimpleAdapter adapter = local 53 assertThat(adapter).isNotNull(); 64 adapter.getView(0, convertView, parent);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
TelecomWakeLock.java | 79 WakeLockAdapter adapter = null; local 82 adapter = new WakeLockAdapter(wakeLock); 84 return adapter;
|
/cts/tests/tests/print/src/android/print/cts/ |
PrintServicesTest.java | 283 // Create a print adapter that respects the print contract. 284 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); 287 print(adapter); 389 // Create a print adapter that respects the print contract. 390 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); 393 print(adapter); 450 // Create a print adapter that respects the print contract. 451 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); 457 print(adapter); 497 // Create a print adapter that respects the print contract [all...] |
/hardware/qcom/gps/core/ |
LocApiBase.cpp | 159 void LocApiBase::addAdapter(LocAdapterBase* adapter) 161 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { 163 mLocAdapters[i] = adapter; 165 (adapter->getEvtMask()))); 171 void LocApiBase::removeAdapter(LocAdapterBase* adapter) 176 if (mLocAdapters[i] == adapter) { 189 // i now should point to a none NULL adapter within valid 296 // loop through adapters, and deliver to the first handling adapter. 303 // loop through adapters, and deliver to the first handling adapter. 309 // loop through adapters, and deliver to the first handling adapter [all...] |
/hardware/qcom/gps/msm8909/core/ |
LocApiBase.cpp | 159 void LocApiBase::addAdapter(LocAdapterBase* adapter) 161 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { 163 mLocAdapters[i] = adapter; 165 (adapter->getEvtMask()))); 171 void LocApiBase::removeAdapter(LocAdapterBase* adapter) 176 if (mLocAdapters[i] == adapter) { 189 // i now should point to a none NULL adapter within valid 296 // loop through adapters, and deliver to the first handling adapter. 303 // loop through adapters, and deliver to the first handling adapter. 309 // loop through adapters, and deliver to the first handling adapter [all...] |
/hardware/qcom/gps/msm8994/core/ |
LocApiBase.cpp | 159 void LocApiBase::addAdapter(LocAdapterBase* adapter) 161 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { 163 mLocAdapters[i] = adapter; 165 (adapter->getEvtMask()))); 171 void LocApiBase::removeAdapter(LocAdapterBase* adapter) 176 if (mLocAdapters[i] == adapter) { 189 // i now should point to a none NULL adapter within valid 296 // loop through adapters, and deliver to the first handling adapter. 303 // loop through adapters, and deliver to the first handling adapter. 309 // loop through adapters, and deliver to the first handling adapter [all...] |
/hardware/qcom/gps/msm8996/core/ |
LocApiBase.cpp | 159 void LocApiBase::addAdapter(LocAdapterBase* adapter) 161 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { 163 mLocAdapters[i] = adapter; 165 (adapter->getEvtMask()))); 171 void LocApiBase::removeAdapter(LocAdapterBase* adapter) 176 if (mLocAdapters[i] == adapter) { 189 // i now should point to a none NULL adapter within valid 295 // loop through adapters, and deliver to the first handling adapter. 302 // loop through adapters, and deliver to the first handling adapter. 308 // loop through adapters, and deliver to the first handling adapter [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothAdapter.java | 65 * Represents the local device Bluetooth adapter. The {@link BluetoothAdapter} 73 * adapter, when running on JELLY_BEAN_MR1 and below, call the 77 * Bluetooth actions. Once you have the local adapter, you can get a set of 127 * Broadcast Action: The state of the local Bluetooth adapter has been 137 "android.bluetooth.adapter.action.STATE_CHANGED"; 148 "android.bluetooth.adapter.extra.STATE"; 158 "android.bluetooth.adapter.extra.PREVIOUS_STATE"; 167 * Indicates the local Bluetooth adapter is off. 171 * Indicates the local Bluetooth adapter is turning on. However local 173 * use the adapter [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
AddPrinterActivity.java | 46 import android.widget.Adapter; 267 * Marks an adapter that can can perform an action for a position in it's list. 284 * An adapter presenting multiple sub adapters as a single combined adapter. 291 * Create a combined adapter. 327 * Find the sub adapter and the position in the sub-adapter the position in the combined 328 * adapter refers to. 330 * @param position The position in the combined adapter 332 * @return The pair of adapter and position in sub adapte 337 ActionAdapter adapter = mAdapters.get(i); local 355 Adapter adapter = mAdapters.get(i); local [all...] |
/art/test/957-methodhandle-transforms/src/ |
Main.java | 167 MethodHandle adapter = MethodHandles.catchException(target, IllegalArgumentException.class, local 174 returnVal = (String) adapter.invoke("foo", 42, null); 176 returnVal = (String) adapter.invokeExact("foo", 42l, (String) null); 181 returnVal = (String) adapter.invoke("foo", 42, "exceptionMessage"); 183 returnVal = (String) adapter.invokeExact("foo", 42l, "exceptionMessage"); 190 adapter = MethodHandles.catchException(target, IllegalArgumentException.class, handler); 192 returnVal = (String) adapter.invoke("foo", 42, "exceptionMessage"); 194 returnVal = (String) adapter.invokeExact("foo", 42l, "exceptionMessage"); 202 adapter = MethodHandles.catchException(target, IllegalArgumentException.class, handler); 204 returnVal = (String) adapter.invoke("foo", 42, "exceptionMessage") 245 MethodHandle adapter = MethodHandles.guardWithTest(test, target, fallback); local 753 MethodHandle adapter = MethodHandles.filterReturnValue(target, filter); local 772 MethodHandle adapter = MethodHandles.filterReturnValue(target, filter); local 787 MethodHandle adapter = MethodHandles.filterReturnValue(target, filter); local 1412 MethodHandle adapter = MethodHandles.filterArguments( local 1488 MethodHandle adapter = MethodHandles.collectArguments(target, 0, filter); local 1545 MethodHandle adapter = MethodHandles.insertArguments( local 1613 MethodHandle adapter = MethodHandles.foldArguments(target, filter); local [all...] |
/cts/hostsidetests/incident/apps/batterystatsapp/res/xml/ |
syncadapter.xml | 17 <sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
|
/developers/build/prebuilts/gradle/ActionBarCompat-ListPopupMenu/Application/src/main/java/com/example/android/actionbarcompat/listpopupmenu/ |
PopupListFragment.java | 74 final PopupAdapter adapter = (PopupAdapter) getListAdapter(); local 91 // Remove the item from the adapter 92 adapter.remove(item); 105 * A simple array adapter that creates a list of cheeses.
|
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
CreditCardActivity.kt | 52 // Apply the adapter to the spinner 53 mCcExpirationDaySpinner!!.adapter = dayAdapter 57 mCcExpirationMonthSpinner!!.adapter = monthAdapter 61 mCcExpirationYearSpinner!!.adapter = yearAdapter
|
/developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
MainActivity.java | 42 listView.setAdapter(new Adapter(this)); 79 private static final class Adapter extends WearableListView.Adapter { 83 private Adapter(Context context) {
|
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ListPopupMenu/Application/src/main/java/com/example/android/actionbarcompat/listpopupmenu/ |
PopupListFragment.java | 74 final PopupAdapter adapter = (PopupAdapter) getListAdapter(); local 91 // Remove the item from the adapter 92 adapter.remove(item); 105 * A simple array adapter that creates a list of cheeses.
|
/developers/samples/android/ui/views/EffectiveNavigation/app/src/main/java/com/example/android/effectivenavigation/ |
CollectionDemoActivity.java | 49 // Create an adapter that when requested, will return a fragment representing an object in 54 final DemoCollectionPagerAdapter adapter = local 57 // Set up the ViewPager, attaching the adapter. 59 viewPager.setAdapter(adapter);
|
/developers/samples/android/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
MainActivity.java | 42 listView.setAdapter(new Adapter(this)); 79 private static final class Adapter extends WearableListView.Adapter { 83 private Adapter(Context context) {
|
/development/samples/browseable/ActionBarCompat-ListPopupMenu/src/com.example.android.actionbarcompat.listpopupmenu/ |
PopupListFragment.java | 74 final PopupAdapter adapter = (PopupAdapter) getListAdapter(); local 91 // Remove the item from the adapter 92 adapter.remove(item); 105 * A simple array adapter that creates a list of cheeses.
|
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
MainActivity.java | 42 listView.setAdapter(new Adapter(this)); 79 private static final class Adapter extends WearableListView.Adapter { 83 private Adapter(Context context) {
|