Searched defs:type (Results 1 - 25 of 1121) sorted by last modified time

1234567891011>>

/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp59 // get an audio attributes usage for a stream type, but only consider stream types
78 SL_LOGE("invalid stream type %d when converting to usage", streamType);
484 SLresult audioPlayer_setStreamType(CAudioPlayer* ap, SLint32 type) { argument
486 SL_LOGV("type %d", type);
489 switch (type) {
514 // stream type needs to be set before the object is realized
656 SL_LOGE("Unsupported sink locator type 0x%x", (unsigned)sinkLocatorType);
667 * returns the Android object type if the locator type combination
677 AndroidObjectType type = INVALID_TYPE; local
[all...]
H A Dandroid_Effect.cpp268 &ibb->mBassBoostDescriptor.type))
287 if (!android_fx_initEffectObj(sessionId, ieq->mEqEffect, &ieq->mEqDescriptor.type)) {
337 &ivi->mVirtualizerDescriptor.type)) {
372 ipr->mPresetReverbEffect, &ipr->mPresetReverbDescriptor.type)) {
409 ier->mEnvironmentalReverbEffect, &ier->mEnvironmentalReverbDescriptor.type)) {
461 &iaec->mAECDescriptor.type)) {
472 &iagc->mAGCDescriptor.type)) {
483 &ins->mNSDescriptor.type)) {
665 const effect_uuid_t *type) {
668 effect = new android::AudioEffect(type, androi
664 android_fx_initEffectObj(audio_session_t sessionId, android::sp<android::AudioEffect>& effect, const effect_uuid_t *type) argument
[all...]
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestPlayStreamType.cpp47 /* Play an audio URIs on the given stream type */
48 void TestStreamTypeConfiguration( SLObjectItf sl, const char* path, const SLint32 type) argument
139 /* Set the Android audio stream type on the player */
141 SL_ANDROID_KEY_STREAM_TYPE, &type, sizeof(SLint32));
143 fprintf(stderr, "invalid stream type %d\n", type);
192 /* Get the stream type during playback */
199 fprintf(stderr, "ERROR: size for stream type is %u, should be %zu\n",
205 if (currentType != type) {
206 fprintf(stderr, "ERROR: stream type i
[all...]
/frameworks/wilhelm/tools/permute/
H A Dpermute.c135 unsigned type = sfinfo_in.format & SF_FORMAT_TYPEMASK; local
136 switch (type) {
140 fprintf(stderr, "%s: unsupported type 0x%X\n", path_in, type);
/frameworks/support/slices/core/src/main/java/androidx/slice/
H A DSliceItem.java175 * Get the sub-type of this SliceItem.
177 * Subtypes provide additional information about the type of this information beyond basic
328 private void writeObj(Bundle dest, Object obj, String type) { argument
329 switch (type) {
355 private static Object readObj(String type, Bundle in) { argument
356 switch (type) {
374 throw new RuntimeException("Unsupported type " + type);
H A DSliceSpec.java27 * A data version contains a string which describes the type of structure
30 * SliceSpec has the same type and an equal or lesser revision,
48 public SliceSpec(@NonNull String type, int revision) { argument
49 mType = type;
54 * Gets the type of the version.
/frameworks/support/slices/core/src/main/java/androidx/slice/compat/
H A DCompatPinnedList.java187 private static SliceSpec findSpec(Set<SliceSpec> specs, String type) { argument
189 if (ObjectsCompat.equals(spec.getType(), type)) {
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
H A DEventInfo.java148 * The type of action that occurred.
152 * The template type of the row that was interacted with in the slice.
188 * Represents the state after the event or -1 if not applicable for the event type.
201 * @param actionType The type of action this event represents.
202 * @param rowTemplateType The template type of the row interacted with.
283 * @return String representation of the provided row template type.
285 private static String rowTypeToString(@SliceRowType int type) { argument
286 switch (type) {
302 return "unknown row type: " + type;
[all...]
/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/
H A DTextClassification.java415 * Sets an entity type for the classification result and assigns a confidence score.
416 * If a confidence score had already been set for the specified entity type, this will
424 @NonNull @EntityType String type,
426 mEntityConfidence.put(type, confidenceScore);
423 setEntityType( @onNull @ntityType String type, @FloatRange(from = 0.0, to = 1.0) float confidenceScore) argument
H A DTextSelection.java173 * Sets an entity type for the classified text and assigns a confidence score.
180 @NonNull @EntityType String type,
182 mEntityConfidence.put(type, confidenceScore);
179 setEntityType( @onNull @ntityType String type, @FloatRange(from = 0.0, to = 1.0) float confidenceScore) argument
/frameworks/support/transition/src/androidTest/java/androidx/transition/
H A DFragmentTransitionTest.java215 private Transition createTransition(int type) { argument
221 mListeners.put(type, listener);
/frameworks/support/transition/src/main/java/androidx/transition/
H A DTransition.java322 throw new InflateException("Unknown match type in matchOrder: '" + token + "'");
823 Class type = mTargetTypeExcludes.get(i);
824 if (type.isInstance(target)) {
1064 * @param targetType The type to include when running this transition.
1139 * @param target The type of the target view, must be non-null.
1333 * Whether to add the given type to the list of types to exclude from this
1335 * type should be added to or removed from the excluded list.
1344 * @param type The type to ignore when running this transition.
1345 * @param exclude Whether to add the target type t
1353 excludeTarget(@onNull Class type, boolean exclude) argument
1380 excludeChildren(@onNull Class type, boolean exclude) argument
1389 excludeType(ArrayList<Class> list, Class type, boolean exclude) argument
[all...]
H A DTransitionSet.java365 public Transition excludeTarget(@NonNull Class type, boolean exclude) { argument
367 mTransitions.get(i).excludeTarget(type, exclude);
369 return super.excludeTarget(type, exclude);
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/
H A DBasePreviewProgram.java80 * The unknown program type.
137 * The unknown interaction type.
209 * @return The type of the program.
298 * @return The interaction type for the program.
716 * Sets the type of this program content.
733 * @param type The type of the program.
737 public T setType(@Type int type) { argument
738 mValues.put(PreviewPrograms.COLUMN_TYPE, type);
900 * Sets the type o
[all...]
H A DChannel.java644 * @param type The value of {@link Channels#COLUMN_TYPE} for the channel.
647 public Builder setType(@Type String type) { argument
648 mValues.put(Channels.COLUMN_TYPE, type);
853 * Sets the type of content that will appear on this channel. This could refer to the
H A DPreviewChannel.java126 * @return what type of channel this is. For preview channels, the type is always
377 private Builder setType(@Type String type) { argument
378 mValues.put(Channels.COLUMN_TYPE, type);
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
H A DAppCompatEditTextTest.java57 public void setText(CharSequence text, BufferType type) { argument
59 super.setText(text, type);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/
H A DWindowCallbackWrapper.java160 public ActionMode onWindowStartingActionMode(ActionMode.Callback callback, int type) { argument
161 return mWrapped.onWindowStartingActionMode(callback, type);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DActionBarContainer.java245 android.view.ActionMode.Callback callback, int type) {
246 if (type != android.view.ActionMode.TYPE_PRIMARY) {
247 return super.startActionModeForChild(child, callback, type);
244 startActionModeForChild(View child, android.view.ActionMode.Callback callback, int type) argument
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/test/
H A DNestedScrollingParent2Adapter.java29 @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) {
35 @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) {
39 public void onStopNestedScroll(@NonNull View target, @ViewCompat.NestedScrollType int type) { argument
44 int dxUnconsumed, int dyUnconsumed, @ViewCompat.NestedScrollType int type) {
49 @NonNull int[] consumed, @ViewCompat.NestedScrollType int type) {
28 onStartNestedScroll(@onNull View child, @NonNull View target, @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) argument
34 onNestedScrollAccepted(@onNull View child, @NonNull View target, @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) argument
43 onNestedScroll(@onNull View target, int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed, @ViewCompat.NestedScrollType int type) argument
48 onNestedPreScroll(@onNull View target, int dx, int dy, @NonNull int[] consumed, @ViewCompat.NestedScrollType int type) argument
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewLayoutTest.java4154 // TODO create test case for type change
4439 assertEquals("View holder's type should match latest type", viewType.get(),
4463 assertEquals("holder type should match current view type at position " +
5244 @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) {
5245 // Always start regardless of type
5251 @NonNull int[] consumed, @ViewCompat.NestedScrollType int type) {
5269 @ViewCompat.NestedScrollType int type) {
5270 super.onStopNestedScroll(target, type);
5243 onStartNestedScroll(@onNull View child, @NonNull View target, @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) argument
5250 onNestedPreScroll(@onNull View target, int dx, int dy, @NonNull int[] consumed, @ViewCompat.NestedScrollType int type) argument
5268 onStopNestedScroll(@onNull View target, @ViewCompat.NestedScrollType int type) argument
[all...]
H A DTestedFrameLayout.java210 @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) {
212 && mNestedScrollingDelegate.onStartNestedScroll(child, target, axes, type);
217 @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) {
219 mNestedScrollingDelegate.onNestedScrollAccepted(child, target, axes, type);
237 int dxUnconsumed, int dyUnconsumed, @ViewCompat.NestedScrollType int type) {
240 dxUnconsumed, dyUnconsumed, type);
246 @ViewCompat.NestedScrollType int type) {
248 mNestedScrollingDelegate.onNestedPreScroll(target, dx, dy, consumed, type);
253 public void onStopNestedScroll(@NonNull View target, @ViewCompat.NestedScrollType int type) { argument
255 mNestedScrollingDelegate.onStopNestedScroll(target, type);
209 onStartNestedScroll(@onNull View child, @NonNull View target, @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) argument
216 onNestedScrollAccepted(@onNull View child, @NonNull View target, @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) argument
236 onNestedScroll(@onNull View target, int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed, @ViewCompat.NestedScrollType int type) argument
245 onNestedPreScroll(@onNull View target, int dx, int dy, @NonNull int[] consumed, @ViewCompat.NestedScrollType int type) argument
[all...]
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DRecyclerView.java108 * position may be placed in a cache for later reuse to display the same type of data again
3468 int type = 0;
3470 type = AccessibilityEventCompat.getContentChangeTypes(event);
3472 if (type == 0) {
3473 type = AccessibilityEventCompat.CONTENT_CHANGE_TYPE_UNDEFINED;
3475 mEatenAccessibilityChangeFlags |= type;
3519 * Consumes adapter updates and calculates which type of animations we want to run.
4099 * It might be child's position or stable id depending on the adapter type.
4494 * with another view due to type change or animation. In these cases, RecyclerView can request
5338 * Tracks both pooled holders, as well as create/bind timing metadata for the given type
6381 getScrapOrCachedViewForId(long id, int type, boolean dryRun) argument
6642 getViewForPositionAndType(@onNull Recycler recycler, int position, int type) argument
11234 startNestedScroll(int axes, int type) argument
11244 stopNestedScroll(int type) argument
11254 hasNestedScrollingParent(int type) argument
11266 dispatchNestedScroll(int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed, int[] offsetInWindow, int type) argument
11278 dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow, int type) argument
[all...]
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
H A DSortedListTest.java1624 Event(TYPE type, int val1, int val2) { argument
1625 this.mType = type;
/frameworks/support/wear/src/main/java/androidx/wear/widget/
H A DConfirmationOverlay.java112 * this type, unlike the others, does not animate.
152 public ConfirmationOverlay setType(@OverlayType int type) { argument
153 mType = type;
319 String.format(Locale.US, "Invalid ConfirmationOverlay type [%d]", mType);

Completed in 284 milliseconds

1234567891011>>