Home
last modified time | relevance | path

Searched refs:baseType (Results 1 – 23 of 23) sorted by relevance

/frameworks/native/opengl/tools/glgen/src/
DCType.java19 String baseType; field in CType
26 public CType(String baseType) { in CType() argument
27 setBaseType(baseType); in CType()
30 public CType(String baseType, boolean isConst, boolean isPointer) { in CType() argument
31 setBaseType(baseType); in CType()
37 return baseType + (isPointer ? " *" : ""); in getDeclaration()
57 if(baseType.equals("EGLContext") in isEGLHandle()
58 || baseType.equals("EGLConfig") in isEGLHandle()
59 || baseType.equals("EGLSurface") in isEGLHandle()
60 || baseType.equals("EGLDisplay") in isEGLHandle()
[all …]
DJType.java21 String baseType; field in JType
155 this.baseType = primitiveTypeName; in JType()
161 this.baseType = primitiveTypeName; in JType()
167 return baseType; in getBaseType()
172 return baseType + (isArray ? "[]" : ""); in toString()
184 return baseType.equals("String"); in isString()
192 return baseType.equals("void"); in isVoid()
196 return baseType.indexOf("Buffer") != -1; in isBuffer()
200 return !baseType.equals("java.nio.Buffer") && in isTypedBuffer()
201 (baseType.indexOf("Buffer") != -1); in isTypedBuffer()
[all …]
DJniCodeEmitter.java48 String baseType = jType.getBaseType(); in getJniName() local
49 if (baseType.equals("int")) { in getJniName()
51 } else if (baseType.equals("float")) { in getJniName()
53 } else if (baseType.equals("boolean")) { in getJniName()
55 } else if (baseType.equals("short")) { in getJniName()
57 } else if (baseType.equals("long")) { in getJniName()
59 } else if (baseType.equals("byte")) { in getJniName()
61 } else if (baseType.equals("String")) { in getJniName()
63 } else if (baseType.equals("void")) { in getJniName()
66 throw new RuntimeException("Unknown primitive basetype " + baseType); in getJniName()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DMutableFrameFormat.java34 public MutableFrameFormat(int baseType, int target) { in MutableFrameFormat() argument
35 super(baseType, target); in MutableFrameFormat()
38 public void setBaseType(int baseType) { in setBaseType() argument
39 mBaseType = baseType; in setBaseType()
40 mBytesPerSample = bytesPerSampleOf(baseType); in setBaseType()
DFrameFormat.java66 public FrameFormat(int baseType, int target) { in FrameFormat() argument
67 mBaseType = baseType; in FrameFormat()
312 public static int bytesPerSampleOf(int baseType) { in bytesPerSampleOf() argument
314 switch (baseType) { in bytesPerSampleOf()
346 public static String baseTypeToString(int baseType) { in baseTypeToString() argument
347 switch (baseType) { in baseTypeToString()
DSimpleFrame.java50 final int baseType = format.getBaseType(); in initWithFormat() local
51 switch (baseType) { in initWithFormat()
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
DPrimitiveFormat.java68 private static MutableFrameFormat createFormat(int baseType, int count, int target) { in createFormat() argument
69 MutableFrameFormat result = new MutableFrameFormat(baseType, target); in createFormat()
74 private static MutableFrameFormat createFormat(int baseType, int target) { in createFormat() argument
75 MutableFrameFormat result = new MutableFrameFormat(baseType, target); in createFormat()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/turbulencenoise/
DTurbulenceNoiseViewTest.kt113 turbulenceNoiseView.initShader(baseType = SIMPLEX_NOISE, config) in initShader_createsShaderCorrectly()
116 assertThat(turbulenceNoiseView.turbulenceNoiseShader!!.baseType).isEqualTo(SIMPLEX_NOISE) in initShader_createsShaderCorrectly()
123 turbulenceNoiseView.initShader(baseType = SIMPLEX_NOISE, config) in initShader_changesConfig_doesNotCreateNewShader()
129 turbulenceNoiseView.initShader(baseType = SIMPLEX_NOISE, newConfig) in initShader_changesConfig_doesNotCreateNewShader()
140 turbulenceNoiseView.initShader(baseType = SIMPLEX_NOISE, config) in initShader_changesBaseType_createsNewShader()
145 turbulenceNoiseView.initShader(baseType = SIMPLEX_NOISE_FRACTAL, config) in initShader_changesBaseType_createsNewShader()
DTurbulenceNoiseShaderTest.kt35 turbulenceNoiseShader = TurbulenceNoiseShader(baseType = SIMPLEX_NOISE) in compilesSimplexNoise()
40 turbulenceNoiseShader = TurbulenceNoiseShader(baseType = SIMPLEX_NOISE_FRACTAL) in compilesFractalNoise()
45 turbulenceNoiseShader = TurbulenceNoiseShader(baseType = SIMPLEX_NOISE_SPARKLE) in compilesSparkleNoise()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/loadingeffect/
DLoadingEffectTest.kt53 baseType = TurbulenceNoiseShader.Companion.Type.SIMPLEX_NOISE, in play_paintCallback_triggersDrawCallback()
78 baseType = TurbulenceNoiseShader.Companion.Type.SIMPLEX_NOISE, in play_renderEffectCallback_triggersDrawCallback()
111 baseType = TurbulenceNoiseShader.Companion.Type.SIMPLEX_NOISE, in play_animationStateChangesInOrder()
159 baseType = TurbulenceNoiseShader.Companion.Type.SIMPLEX_NOISE, in play_alreadyPlaying_playsOnlyOnce()
200 baseType = TurbulenceNoiseShader.Companion.Type.SIMPLEX_NOISE, in finish_finishesLoadingEffect()
243 baseType = TurbulenceNoiseShader.Companion.Type.SIMPLEX_NOISE, in finish_notMainState_hasNoEffect()
271 baseType = TurbulenceNoiseShader.Companion.Type.SIMPLEX_NOISE, in getNoiseOffset_returnsNoiseOffset()
/frameworks/rs/
Dspec.l24 VarType *baseType = currType; in checkPointerType() local
26 while (curPtrLevel < baseType->ptrLevel) { in checkPointerType()
34 switch(baseType->ptrLevel - curPtrLevel) { in checkPointerType()
36 sprintf(currType->name, "%s_length", baseType->name); in checkPointerType()
39 sprintf(currType->name, "%s_length_length", baseType->name); in checkPointerType()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/loadingeffect/
DLoadingEffect.kt109 baseType: TurbulenceNoiseShader.Companion.Type, in <lambda>()
116 baseType: TurbulenceNoiseShader.Companion.Type, in <lambda>()
121 baseType, in <lambda>()
128 baseType: TurbulenceNoiseShader.Companion.Type, in <lambda>()
133 baseType, in <lambda>()
141 TurbulenceNoiseShader(baseType).apply { applyConfig(config) } in <lambda>()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/turbulencenoise/
DTurbulenceNoiseView.kt216 baseType: TurbulenceNoiseShader.Companion.Type, in <lambda>()
220 if (turbulenceNoiseShader == null || turbulenceNoiseShader?.baseType != baseType) { in <lambda>()
221 turbulenceNoiseShader = TurbulenceNoiseShader(baseType) in <lambda>()
DTurbulenceNoiseController.kt70 baseType: TurbulenceNoiseShader.Companion.Type, in play()
77 turbulenceNoiseView.initShader(baseType, config) in play()
DTurbulenceNoiseShader.kt28 class TurbulenceNoiseShader(val baseType: Type = Type.SIMPLEX_NOISE) : constant in com.android.systemui.surfaceeffects.turbulencenoise.TurbulenceNoiseShader
29 RuntimeShader(getShader(baseType)) {
/frameworks/compile/libbcc/tests/libbcc/
Dtest_slang_version_info.ll89 !8 = !DIDerivedType(tag: DW_TAG_typedef, name: "uchar4", file: !9, line: 328, baseType: !10)
91 !10 = !DICompositeType(tag: DW_TAG_array_type, baseType: !11, size: 32, align: 32, flags: DIFlagVec…
92 !11 = !DIDerivedType(tag: DW_TAG_typedef, name: "uchar", file: !9, line: 206, baseType: !12)
93 !12 = !DIDerivedType(tag: DW_TAG_typedef, name: "uint8_t", file: !9, line: 172, baseType: !13)
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeDetails.java176 @UserInfoFlag int baseType, @UserInfoFlag int defaultUserInfoPropertyFlags, in UserTypeDetails() argument
192 this.mBaseType = baseType; in UserTypeDetails()
470 public Builder setBaseType(@UserInfoFlag int baseType) { in setBaseType() argument
471 mBaseType = baseType; in setBaseType()
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java417 final String baseType = resolvedType.substring(0, slashpos); in queryIntent() local
418 if (!baseType.equals("*")) { in queryIntent()
425 secondTypeCut = mWildTypeToFilter.get(baseType); in queryIntent()
430 firstTypeCut = mBaseTypeToFilter.get(baseType); in queryIntent()
432 secondTypeCut = mWildTypeToFilter.get(baseType); in queryIntent()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java1459 final String baseType = getType(uri); in openTypedAssetFileImpl() local
1460 if (baseType != null && ClipDescription.compareMimeTypes(baseType, mimeTypeFilter)) { in openTypedAssetFileImpl()
/frameworks/rs/script_api/
DSpecification.cpp118 void getVectorSizeAndBaseType(const string& type, string& vectorSize, string& baseType) { in getVectorSizeAndBaseType() argument
120 baseType = type; in getVectorSizeAndBaseType()
133 baseType = trimmed; in getVectorSizeAndBaseType()
DSpecification.h625 std::string& baseType);
/frameworks/base/core/java/android/content/
DContentProvider.java2443 String baseType = getType(uri); in openTypedAssetFile() local
2444 if (baseType != null && ClipDescription.compareMimeTypes(baseType, mimeTypeFilter)) { in openTypedAssetFile()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java3103 final int baseType = getBaseType(); in setForceHideNonSystemOverlayWindowIfNeeded() local
3105 || (!isSystemAlertWindowType(baseType) && baseType != TYPE_TOAST)) { in setForceHideNonSystemOverlayWindowIfNeeded()
3109 if (baseType == TYPE_APPLICATION_OVERLAY && mAttrs.isSystemApplicationOverlay() in setForceHideNonSystemOverlayWindowIfNeeded()