Home
last modified time | relevance | path

Searched refs:shadowInfo (Results 1 – 8 of 8) sorted by relevance

/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/generator/
DShadowProviderGenerator.java79 for (ShadowInfo shadowInfo : model.getAllShadowTypes()) { in generate()
80 final String shadow = shadowInfo.getShadowBinaryName(); in generate()
81 final String actual = shadowInfo.getActualName(); in generate()
82 if (shadowInfo.getShadowPickerBinaryName() == null) { in generate()
96 for (ShadowInfo shadowInfo : model.getVisibleShadowTypes()) { in generate()
97 if (!shadowInfo.actualIsPublic()) { in generate()
101 if (shadowInfo.getShadowPickerBinaryName() != null) { in generate()
105 if (shadowInfo.shadowIsDeprecated()) { in generate()
108 String paramDefStr = shadowInfo.getParamDefStr(); in generate()
109 final String shadow = shadowInfo.getShadowTypeWithParams(); in generate()
[all …]
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DShadowMap.java58 ShadowInfo shadowInfo = overriddenShadows.get(instrumentedClassName); in getShadowInfo() local
59 if (shadowInfo == null) { in getShadowInfo()
60 shadowInfo = checkShadowPickers(instrumentedClassName, clazz); in getShadowInfo()
63 if (shadowInfo == null && clazz.getClassLoader() != null) { in getShadowInfo()
68 shadowInfo = obtainShadowInfo(shadowClass); in getShadowInfo()
69 if (!shadowInfo.shadowedClassName.equals(instrumentedClassName)) { in getShadowInfo()
71 shadowInfo = null; in getShadowInfo()
79 if (shadowInfo != null && !shadowInfo.supportsSdk(apiLevel)) { in getShadowInfo()
83 return shadowInfo; in getShadowInfo()
102 ShadowInfo shadowInfo = obtainShadowInfo(selectedShadowClass); in checkShadowPickers() local
[all …]
DShadowWrangler.java226 ShadowInfo shadowInfo = getExactShadowInfo(definingClass);
227 if (shadowInfo == null) {
233 shadowClass = Class.forName(shadowInfo.shadowClassName, false, classLoader);
238 Method method = findShadowMethod(definingClass, name, paramTypes, shadowInfo, shadowClass);
240 return shadowInfo.callThroughByDefault ? CALL_REAL_CODE : DO_NOTHING_METHOD;
260 ShadowInfo shadowInfo,
264 if (method == null && shadowInfo.looseSignatures) {
406 ShadowInfo shadowInfo = getShadowInfo(theClass);
407 if (shadowInfo == null) {
411 Class<?> shadowClass = loadClass(shadowInfo.shadowClassName, theClass.getClassLoader());
[all …]
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DRobolectricModel.java104 ShadowInfo shadowInfo = in addShadowType() local
107 if (shadowInfo.isInAndroidSdk()) { in addShadowType()
108 registerType(shadowInfo.shadowType); in addShadowType()
109 registerType(shadowInfo.actualType); in addShadowType()
110 registerType(shadowInfo.shadowBaseClass); in addShadowType()
113 shadowTypes.put(shadowType.getQualifiedName().toString(), shadowInfo); in addShadowType() local
234 shadowTypes.values().forEach(shadowInfo -> shadowInfo.prepare(referentResolver, helpers)); in prepare()
284 .forEach(shadowInfo -> { in getShadowPickers()
285 String actualName = shadowInfo.getActualName(); in getShadowPickers()
286 String shadowPickerClassName = shadowInfo.getShadowPickerBinaryName(); in getShadowPickers()
[all …]
/external/v8/benchmarks/
Draytrace.js768 var shadowInfo = new Flog.RayTracer.IntersectionInfo();
773 shadowInfo = this.testIntersection(shadowRay, scene, info.shape);
774 … if(shadowInfo.isHit && shadowInfo.shape != info.shape /*&& shadowInfo.shape.type != 'PLANE'*/){
776 var dB = (0.5 * Math.pow(shadowInfo.shape.material.transparency, 0.5));
782 if(this.options.renderHighlights && !shadowInfo.isHit && info.shape.material.gloss > 0){
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAccessibilityWindowInfo.java68 final ShadowAccessibilityWindowInfo shadowInfo = Shadow.extract(window); in obtain() local
69 final AccessibilityWindowInfo obtainedInstance = shadowInfo.getClone(); in obtain()
DShadowAccessibilityNodeInfo.java193 final ShadowAccessibilityNodeInfo shadowInfo = Shadow.extract(info); in obtain() local
194 final AccessibilityNodeInfo obtainedInstance = shadowInfo.getClone(); in obtain()
197 if (shadowInfo.mOriginNodeId == 0) { in obtain()
198 shadowInfo.mOriginNodeId = sAllocationCount; in obtain()
/external/robolectric-shadows/junit/src/main/java/org/robolectric/internal/
DSandboxTestRunner.java174 ShadowInfo shadowInfo = ShadowMap.obtainShadowInfo(shadowClass);
175 builder.addInstrumentedClass(shadowInfo.shadowedClassName);