Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 191) sorted by relevance

12345678

/developers/samples/android/connectivity/nfc/CardEmulation/Application/src/main/java/com/example/android/cardemulation/
DCardService.java160 public static byte[] ConcatArrays(byte[] first, byte[]... rest) { in ConcatArrays() argument
161 int totalLength = first.length; in ConcatArrays()
165 byte[] result = Arrays.copyOf(first, totalLength); in ConcatArrays()
166 int offset = first.length; in ConcatArrays()
/developers/samples/android/deprecated/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/
DElizaResponder.java142 String first = WORDS_TO_REPLACE[i * 2]; in elzTalk() local
145 if (parts[j].equals(first)) { in elzTalk()
148 parts[j] = first; in elzTalk()
/developers/samples/android/ui/transition/AdapterTransition/Application/src/main/java/com/example/android/adaptertransition/
DAdapterTransitionFragment.java232 int first = mAbsListView.getFirstVisiblePosition(); in swapAbsListView() local
240 mAbsListView.setSelection(first); in swapAbsListView()
257 int first = mAbsListView.getFirstVisiblePosition(); in copyVisibleViews() local
267 View destination = mAdapter.getView(first + index, null, layout); in copyVisibleViews()
269 destination.setId(ROOT_ID + first + index); in copyVisibleViews()
/developers/samples/android/ui/text/TextStyling-Java/app/src/main/java/com/android/example/text/styling/renderer/spans/
DBulletPointSpan.java48 public int getLeadingMargin(boolean first) { in getLeadingMargin() argument
56 boolean first, Layout l) { in drawLeadingMargin() argument
/developers/samples/android/admin/AppRestrictionSchema/Application/src/main/java/com/example/android/apprestrictionschema/
DAppRestrictionSchemaFragment.java221 boolean first = true; in updateItems()
226 if (first) { in updateItems()
227 first = false; in updateItems()
/developers/samples/android/common/src/java/com/example/android/common/actionbarcompat/
DMultiSelectionUtil.java193 mListView.setItemChecked(posAndId.first, true); in onCreateActionMode()
195 mListener.onItemCheckedStateChanged(mActionMode, posAndId.first, in onCreateActionMode()
/developers/samples/android/ui/text/TextStyling-Kotlin/app/src/main/java/com/android/example/text/styling/renderer/spans/
DBulletPointSpan.kt46 override fun getLeadingMargin(first: Boolean): Int { in getLeadingMargin()
/developers/samples/android/background/JobScheduler/kotlinApp/app/src/main/java/com/example/android/jobscheduler/
DMainActivity.kt151 val id = allPendingJobs.first().id in finishJob()
/developers/samples/android/ui/fonts/DownloadableFonts/kotlinApp/
DREADME.md13 To request a font to download from Java code, you need to create a [FontRequest][1] class first like
48 first attempt.
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java467 boolean first = true; in saveItems()
469 if (first) { in saveItems()
470 first = false; in saveItems()
/developers/samples/android/content/documentsUi/StorageClient/
DREADME.md15 This sample first fires an intent to spin up the "file chooser" UI and select an image.
/developers/build/templates/CardStream/_MODULE_/src/template/java/_PACKAGE_/cardstream/
DCardStreamFragment.java.ftl102 // Attempt to remove a visible card first
246 // move to first visible card
DCardStreamLinearLayout.java.ftl321 * get the tag of the first visible child in this layout
323 * @return tag of the first visible child or null
343 * Set the first visible card of this linear layout.
/developers/samples/android/ui/views/Elevation/ElevationBasic/
DREADME.md12 alternative ways to move a view in the z-axis. The first shape, the circle,
/developers/samples/android/ui/views/SlidingTabs/SlidingTabsColors/
DREADME.md15 The colors can be customized in two ways. The first and simplest is to provide an
/developers/samples/android/ui/transition/CustomTransition/
DREADME.md11 In order to create a custom Transition, you first need to override
/developers/samples/android/sensors/BatchStepSensor/
DREADME.md19 steps since a listener was first registered for this sensor.
/developers/build/templates/CardStream/_MODULE_/
DREADME-CardStream.txt73 A card needs to be added to the CardStreamFragment first before it can be shown.
/developers/samples/android/sensors/BatchStepSensor/Application/
DREADME-CardStream.txt73 A card needs to be added to the CardStreamFragment first before it can be shown.
/developers/samples/android/ui/window/DragAndDropAcrossApps/
DREADME.md8 must request permission first, before it can be used.
/developers/samples/android/views/EmojiCompat/kotlinApp/
DREADME.md20 You need to first initialize EmojiCompat to load the metadata and the typeface. You can use either
/developers/samples/android/ui/window/DragAndDropAcrossApps/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/developers/samples/android/deprecated/wearable/wear/Flashlight/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/developers/samples/android/wearable/wear/WearAccessibilityApp/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...

12345678