Searched defs:type (Results 151 - 175 of 1121) sorted by relevance

1234567891011>>

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DDynamicIdMap.java45 * Returns a dynamic integer for the given resource type/name, creating it if it doesn't
48 * @param type the type of the resource
53 public Integer getId(ResourceType type, String name) { argument
54 return getId(Pair.of(type, name));
58 * Returns a dynamic integer for the given resource type/name, creating it if it doesn't
61 * @param resource the type/name of the resource
/frameworks/ml/nn/common/
H A DGraphDump.cpp28 static std::string translate(OperandType type) { argument
29 switch (type) {
38 default: return toString(type);
86 outStream << "\\n" << translate(opnd.type);
113 << toString(operation.type) << "\"]" << std::endl;
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglDrawElementsInstancedBaseVertex.cpp1 /* void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) */
4 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount, jint basevertex) {
27 (GLenum)type,
39 /* void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) */
42 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount, jint basevertex) {
46 (GLenum)type,
3 android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount, jint basevertex) argument
41 android_glDrawElementsInstancedBaseVertex__IIIIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount, jint basevertex) argument
/frameworks/opt/net/voip/src/java/android/net/rtp/
H A DAudioStream.java116 * @throws IllegalArgumentException if its type is used by DTMF.
123 if (codec.type == mDtmfType) {
124 throw new IllegalArgumentException("The type is used by DTMF");
130 * Returns the RTP payload type for dual-tone multi-frequency (DTMF) digits,
140 * Sets the RTP payload type for dual-tone multi-frequency (DTMF) digits.
143 * RTP payload type for DTMF is assigned dynamically, so it must be in the
145 * the previous assigned type. This method cannot be called when the stream
148 * @param type The RTP payload type to be used or {@code -1} to disable it.
149 * @throws IllegalArgumentException if the type i
153 setDtmfType(int type) argument
[all...]
/frameworks/rs/driver/
H A DrsdVertexArray.h40 uint32_t type; member in class:RsdVertexArray::Attrib
48 void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char *name);
/frameworks/support/compat/src/main/java/androidx/core/view/
H A DNestedScrollingChild2.java45 * Begin a nestable scroll operation along the given axes, for the given input type.
50 * of a touch scroll type this corresponds to the initial {@link MotionEvent#ACTION_DOWN}.
75 * @param type the type of input which cause this scroll event
83 boolean startNestedScroll(@ScrollAxis int axes, @NestedScrollType int type); argument
86 * Stop a nested scroll in progress for the given input type.
90 * @param type the type of input which cause this scroll event
93 void stopNestedScroll(@NestedScrollType int type); argument
96 * Returns true if this view has a nested scrolling parent for the given input type
105 hasNestedScrollingParent(@estedScrollType int type) argument
131 dispatchNestedScroll(int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed, @Nullable int[] offsetInWindow, @NestedScrollType int type) argument
155 dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, @Nullable int[] offsetInWindow, @NestedScrollType int type) argument
[all...]
H A DNestedScrollingParent2.java61 * @param type the type of input which cause this scroll event
65 @NestedScrollType int type);
80 * @param type the type of input which cause this scroll event
85 @NestedScrollType int type);
97 * @param type the type of input which cause this scroll event
99 void onStopNestedScroll(@NonNull View target, @NestedScrollType int type); argument
121 * @param type th
64 onStartNestedScroll(@onNull View child, @NonNull View target, @ScrollAxis int axes, @NestedScrollType int type) argument
84 onNestedScrollAccepted(@onNull View child, @NonNull View target, @ScrollAxis int axes, @NestedScrollType int type) argument
123 onNestedScroll(@onNull View target, int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed, @NestedScrollType int type) argument
147 onNestedPreScroll(@onNull View target, int dx, int dy, @NonNull int[] consumed, @NestedScrollType int type) argument
[all...]
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DStorageStrategy.java39 * for more detailed advice on which key type to use for your selection keys.
41 * @param <K> Selection key type. Built in support is provided for String, Long, and Parcelable
43 * appropriate to the desired type.
54 static final String SELECTION_KEY_TYPE = "androidx.recyclerview.selection.type";
61 * @param type the key type class that is being used.
63 public StorageStrategy(@NonNull Class<K> type) { argument
64 checkArgument(type != null);
65 mType = type;
92 public static <K extends Parcelable> StorageStrategy<K> createParcelableStorage(Class<K> type) { argument
194 ParcelableStorageStrategy(Class<K> type) argument
[all...]
/frameworks/av/camera/ndk/include/camera/
H A DNdkCameraMetadata.h49 * ACameraMetadata is opaque type that provides access to read-only camera metadata like camera
73 /// Number of type fields
78 * Definition of rational data type in {@link ACameraMetadata}.
102 * The data type of this metadata entry.
105 * same type.</p>
107 uint8_t type; member in struct:ACameraMetadata_entry
117 * <p>The type field above defines which union member pointer is valid. The count field above
147 * The data type of this metadata entry.
150 * same type.</p>
152 uint8_t type; member in struct:ACameraMetadata_const_entry
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
H A DInitDataParser.cpp48 const std::string& type,
53 if (type == kIsoBmffVideoMimeType ||
54 type == kIsoBmffAudioMimeType ||
55 type == kCencInitDataFormat) {
60 } else if (type == kWebmVideoMimeType ||
61 type == kWebmAudioMimeType ||
62 type == kWebmInitDataFormat) {
136 const std::string kRequestSuffix("],\"type\":\"temporary\"}");
47 parse(const std::vector<uint8_t>& initData, const std::string& type, std::vector<uint8_t>* licenseRequest) argument
/frameworks/av/media/img_utils/include/img_utils/
H A DTiffEntryImpl.h38 TiffEntryImpl(uint16_t tag, TagType type, uint32_t count, Endianness end, const T* data);
64 TiffEntryImpl<T>::TiffEntryImpl(uint16_t tag, TagType type, uint32_t count, Endianness end, argument
66 : mTag(tag), mType(static_cast<uint16_t>(type)), mCount(count), mEnd(end) {
67 count = (type == RATIONAL || type == SRATIONAL) ? count * 2 : count;
/frameworks/av/media/libeffects/config/include/media/
H A DEffectsConfig.h73 Type type; member in struct:android::effectsConfig::Stream
/frameworks/av/media/libeffects/dynamicsproc/dsp/
H A DRDsp.h141 static void fill_window(T &v, int type, size_t size, size_t overlap) { argument
147 switch (type) {
170 ALOGE("Error: unknown window type %d", type);
/frameworks/av/media/libeffects/factory/
H A DEffectsFactoryState.c31 int findEffect(const effect_uuid_t *type, argument
47 if (type != NULL && memcmp(&d->type, type, sizeof(effect_uuid_t)) == 0) {
131 uuidToString(&desc->type, s, sizeof(s));
/frameworks/av/media/libeffects/testlibs/
H A DAudioShelvingFilter.cpp49 AudioShelvingFilter::AudioShelvingFilter(ShelfType type, int nChannels, argument
51 : mType(type),
/frameworks/av/media/libmediaextractor/
H A DVorbisComment.cpp49 char type[128]; local
63 if (typeLen > sizeof(type) - 1) {
72 memcpy(type, &flac[8], typeLen);
73 type[typeLen] = '\0';
75 ALOGV("picType = %d, type = '%s'", picType, type);
77 if (!strcmp(type, "-->")) {
104 fileMeta->setCString(kKeyAlbumArtMIME, type);
/frameworks/av/media/mtp/
H A DMtpFfsHandle.h105 /* container type (2 for data packet) */
106 __le16 type; member in struct:android::mtp_data_header
/frameworks/av/services/camera/libcameraservice/utils/
H A DTagMonitor.h73 int type, int count, int indentation);
100 uint8_t type; member in struct:android::TagMonitor::MonitorEvent
/frameworks/base/core/java/android/accounts/
H A DAuthenticatorDescription.java23 * A {@link Parcelable} value type that contains information about an account authenticator.
27 final public String type; field in class:AuthenticatorDescription
51 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, argument
53 if (type == null) throw new IllegalArgumentException("type cannot be null");
55 this.type = type;
64 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, argument
66 this(type, packageName, labelId, iconId, smallIconId, prefId, false);
71 * to identify the authenticator by its type
74 newKey(String type) argument
79 AuthenticatorDescription(String type) argument
[all...]
H A DChooseAccountTypeActivity.java66 for (String type : validAccountTypes) {
67 setOfAllowableAccountTypes.add(type);
78 final String type = entry.getKey();
81 && !setOfAllowableAccountTypes.contains(type)) {
96 setResultAndFinish(mAuthenticatorInfosToDisplay.get(0).desc.type);
110 setResultAndFinish(mAuthenticatorInfosToDisplay.get(position).desc.type);
115 private void setResultAndFinish(final String type) { argument
117 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, type);
121 + "selected account type " + type);
[all...]
/frameworks/base/core/java/android/app/slice/
H A DSliceQuery.java83 public static List<SliceItem> findAll(SliceItem s, String type) { argument
84 return findAll(s, type, (String[]) null, null);
90 public static List<SliceItem> findAll(SliceItem s, String type, String hints, String nonHints) { argument
91 return findAll(s, type, new String[]{ hints }, new String[]{ nonHints });
97 public static List<SliceItem> findAll(SliceItem s, String type, String[] hints, argument
99 return stream(s).filter(item -> compareTypes(item, type)
107 public static SliceItem find(Slice s, String type, String hints, String nonHints) { argument
108 return find(s, type, new String[]{ hints }, new String[]{ nonHints });
114 public static SliceItem find(Slice s, String type) { argument
115 return find(s, type, (Strin
121 find(SliceItem s, String type) argument
128 find(SliceItem s, String type, String hints, String nonHints) argument
135 find(Slice s, String type, String[] hints, String[] nonHints) argument
144 find(SliceItem s, String type, String[] hints, String[] nonHints) argument
[all...]
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,
46 public SliceSpec(@NonNull String type, int revision) { argument
47 mType = type;
71 * Gets the type of the version.
/frameworks/base/core/java/android/appwidget/
H A DPendingHostUpdate.java33 final int type; field in class:PendingHostUpdate
56 private PendingHostUpdate(int appWidgetId, int type) { argument
58 this.type = type;
63 type = in.readInt();
65 switch (type) {
89 dest.writeInt(type);
90 switch (type) {
/frameworks/base/core/java/android/ddm/
H A DDdmHandleProfiling.java31 public static final int CHUNK_MPRS = type("MPRS");
32 public static final int CHUNK_MPRE = type("MPRE");
33 public static final int CHUNK_MPSS = type("MPSS");
34 public static final int CHUNK_MPSE = type("MPSE");
35 public static final int CHUNK_MPRQ = type("MPRQ");
36 public static final int CHUNK_SPSS = type("SPSS");
37 public static final int CHUNK_SPSE = type("SPSE");
76 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk");
77 int type = request.type;
166 handleMPSEOrSPSE(Chunk request, String type) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureLibrary.java51 public void setSequenceType(int type) { argument
52 mStore.setSequenceType(type);

Completed in 1353 milliseconds

1234567891011>>