/external/spirv-llvm/lib/SPIRV/ |
SPIRVMDBuilder.h | 55 NamedMDWrapper(NamedMDNode &Named, SPIRVMDBuilder& BB) 56 :NMD(Named), B(BB){}
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/ |
ColorTest.kt | 96 val c = Color.pack(1.0f, 0.0f, 0.0f, 1.0f, ColorSpace.get(ColorSpace.Named.BT2020)) 103 val c = Color.pack(1.0f, 0.0f, 0.0f, 1.0f, ColorSpace.get(ColorSpace.Named.BT2020)) 109 val sRGB = ColorSpace.get(ColorSpace.Named.SRGB) 112 val bt2020 = ColorSpace.get(ColorSpace.Named.BT2020)
|
BitmapTest.kt | 40 val colorSpace = ColorSpace.get(ColorSpace.Named.ADOBE_RGB)
|
/frameworks/base/graphics/java/android/graphics/ |
ColorSpace.java | 50 * described in the {@link Named} enum. To obtain an instance of one of the 51 * pre-defined color spaces, simply invoke {@link #get(Named)}:</p> 54 * ColorSpace sRgb = ColorSpace.get(ColorSpace.Named.SRGB); 57 * <p>The {@link #get(Named)} method always returns the same instance for a given 64 * <p>The documentation of {@link Named} provides a detailed description of the 75 * native white point (D65 for {@link Named#SRGB sRGB} for instance and must 92 * ColorSpace.get(ColorSpace.Named.DCI_P3), 93 * ColorSpace.get(ColorSpace.Named.BT2020)); 98 * <p>You can easily convert to {@link Named#SRGB sRGB} by omitting the second 103 * ColorSpace.Connector connector = ColorSpace.connect(ColorSpace.get(ColorSpace.Named.DCI_P3)) [all...] |
Color.java | 52 * <p>A color int always defines a color in the {@link ColorSpace.Named#SRGB sRGB} 129 * the RGB components of a color in the {@link ColorSpace.Named#DISPLAY_P3 Display P3} 131 * various {@link ColorSpace.Named color spaces} to find their respective ranges.</p> 138 * use, color longs encoding {@link ColorSpace.Named#SRGB sRGB} colors do not 151 * <tr><td colspan="4">{@link ColorSpace.Named#SRGB sRGB} color space</td></tr> 217 * {@link ColorSpace.Named color spaces} for the exact ranges.</p> 238 * ColorSpace lab = ColorSpace.get(ColorSpace.Named.LAB); 316 * {@link ColorSpace.Named#SRGB sRGB} color space. 328 mColorSpace = ColorSpace.get(ColorSpace.Named.SRGB); 332 * Creates a new color instance in the {@link ColorSpace.Named#SRGB sRGB [all...] |
/external/guice/core/src/com/google/inject/name/ |
Names.java | 27 * Utility methods for use with {@code @}{@link Named}. 36 * Creates a {@link Named} annotation with {@code name} as the value. 38 public static Named named(String name) { method in class:Names 43 * Creates a constant binding to {@code @Named(key)} for each entry in 56 * Creates a constant binding to {@code @Named(key)} for each property. This
|
/external/guice/core/src/com/google/inject/internal/ |
Annotations.java | 33 import com.google.inject.name.Named; 318 * If the annotation is an instance of {@code javax.inject.Named}, canonicalizes to 319 * com.google.guice.name.Named. Returns the given annotation otherwise. 322 if(annotation instanceof javax.inject.Named) { 323 return Names.named(((javax.inject.Named)annotation).value()); 330 * If the annotation is the class {@code javax.inject.Named}, canonicalizes to 331 * com.google.guice.name.Named. Returns the given annotation class otherwise. 335 if (annotationType == javax.inject.Named.class) { 336 return Named.class [all...] |
/art/test/970-iface-super-resolution-gen/util-src/ |
generate_smali.py | 43 class MainClass(mixins.DumpMixin, mixins.Named, mixins.SmaliFileMixin): 131 class Func(mixins.Named, mixins.NameComparableMixin): 214 class TestClass(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.SmaliFileMixin): 404 class IncompatibleClassChangeErrorResult(mixins.Named): 410 class NoSuchMethodErrorResult(mixins.Named): 416 class TestInterface(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.SmaliFileMixin):
|
generate_java.py | 36 class JavaConverter(mixins.DumpMixin, mixins.Named, mixins.JavaFileMixin):
|
/external/guice/core/test/com/google/inject/ |
KeyTest.java | 25 import com.google.inject.name.Named; 116 Key<Integer> integerKey2 = Key.get(Integer.class, Named.class); 117 Key<Integer> integerKey3 = Key.get(Integer.class, Names.named("int")); 121 assertEquals(integerKey2, Key.get(intClassLiteral, Named.class)); 122 assertEquals(integerKey3, Key.get(intClassLiteral, Names.named("int"))); 126 assertEquals(integerKey2, Key.get(intType, Named.class)); 127 assertEquals(integerKey3, Key.get(intType, Names.named("int"))); 131 assertEquals(integerKey2, Key.get(intTypeLiteral, Named.class)); 132 assertEquals(integerKey3, Key.get(intTypeLiteral, Names.named("int"))); 137 assertNotSerializable(Key.get(B.class, Names.named("bee"))) [all...] |
ProvisionExceptionsTest.java | 20 import com.google.inject.name.Named; 39 bindConstant().annotatedWith(Names.named("runtime")).to(true); 61 bindConstant().annotatedWith(Names.named("runtime")).to(false); 153 @Inject public Explosion(@Named("runtime") boolean runtime) throws IOException {
|
ImplicitBindingTest.java | 20 import com.google.inject.name.Named; 93 Guice.createInjector().getInstance(Key.get(I.class, Names.named("i"))); 98 "annotated with @" + Named.class.getName() + "(value=i) was bound.", 100 " annotated with @" + Named.class.getName() + "(value=i)");
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
WideColorGamutTests.java | 45 private static final ColorSpace DISPLAY_P3 = ColorSpace.get(ColorSpace.Named.DISPLAY_P3); 46 private static final ColorSpace SCRGB = ColorSpace.get(ColorSpace.Named.EXTENDED_SRGB);
|
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
FactoryModuleBuilderTest.java | 20 import static com.google.inject.name.Names.named; 36 import com.google.inject.name.Named; 182 .implement(Car.class, Names.named("german"), Beetle.class) 183 .implement(Car.class, Names.named("american"), Mustang.class) 213 .implement(Car.class, Names.named("german"), Beetle.class) 214 .implement(Car.class, Names.named("american"), Mustang.class) 362 @Named("german") Car getGermanCar(Color color); 363 @Named("american") Car getAmericanCar(Color color); 412 bind(String.class).annotatedWith(named("dog")).toInstance("dog"); 413 bind(String.class).annotatedWith(named("cat1")).toInstance("cat1") [all...] |
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/ |
Bitmap.kt | 94 * default to [Bitmap.Config.ARGB_8888], `true` and [sRGB][ColorSpace.Named.SRGB]. 110 colorSpace: ColorSpace = ColorSpace.get(ColorSpace.Named.SRGB)
|
/art/test/961-default-iface-resolution-gen/util-src/ |
generate_java.py | 46 class MainClass(mixins.DumpMixin, mixins.Named, mixins.JavaFileMixin): 111 class Func(mixins.Named, mixins.NameComparableMixin): 157 class TestClass(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.JavaFileMixin): 217 class TestInterface(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.JavaFileMixin):
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
SamplePointWideGamutVerifier.java | 30 private static final ColorSpace SCRGB = ColorSpace.get(ColorSpace.Named.EXTENDED_SRGB);
|
/external/guice/core/test/com/google/inject/matcher/ |
MatcherTest.java | 31 import com.google.inject.name.Named; 84 assertFalse(annotatedWith(Foo.class).equals(annotatedWith(Named.class))); 154 assertEqualWhenReserialized(annotatedWith(Named.class)); 155 assertEqualWhenReserialized(annotatedWith(Names.named("foo")));
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
ContextPathTest.java | 27 import com.google.inject.name.Named; 49 @Inject @Named("foo") 52 @Inject @Named("bar") 66 bind(TestServlet.class).annotatedWith(Names.named("foo")) 68 bind(TestServlet.class).annotatedWith(Names.named("bar")) 70 serve("/foo/*").with(Key.get(TestServlet.class, Names.named("foo"))); 71 serve("/bar/*").with(Key.get(TestServlet.class, Names.named("bar")));
|
ServletScopesTest.java | 19 import static com.google.inject.name.Names.named; 34 import com.google.inject.name.Named; 55 final Key<String> a = Key.get(String.class, named("A")); 56 final Key<String> b = Key.get(String.class, named("B")); 57 final Key<String> c = Key.get(String.class, named("C")); 58 final Key<String> d = Key.get(String.class, named("D")); 59 final Key<Object> e = Key.get(Object.class, named("E")); 60 final Key<String> f = Key.get(String.class, named("F")); 61 final Key<String> g = Key.get(String.class, named("G")); 81 @Named("G" [all...] |
/prebuilts/go/darwin-x86/src/go/types/ |
methodset.go | 84 // Named types that we have seen already, allocated lazily. 86 // Since only Named types can be used for recursive types, we 91 var seen map[*Named]bool 104 // If we have a named type, we may have associated methods. 106 if named, _ := typ.(*Named); named != nil { 107 if seen[named] { 116 seen = make(map[*Named]bool) 118 seen[named] = tru [all...] |
/prebuilts/go/linux-x86/src/go/types/ |
methodset.go | 84 // Named types that we have seen already, allocated lazily. 86 // Since only Named types can be used for recursive types, we 91 var seen map[*Named]bool 104 // If we have a named type, we may have associated methods. 106 if named, _ := typ.(*Named); named != nil { 107 if seen[named] { 116 seen = make(map[*Named]bool) 118 seen[named] = tru [all...] |
/art/test/utils/python/ |
generate_java_main.py | 41 class MainClass(mixins.DumpMixin, mixins.Named, mixins.JavaFileMixin): 110 class InstanceTest(mixins.Named, mixins.NameComparableMixin): 166 class Func(mixins.Named, mixins.NameComparableMixin):
|
/art/test/964-default-iface-init-gen/util-src/ |
generate_java.py | 43 class MainClass(mixins.DumpMixin, mixins.Named, mixins.JavaFileMixin): 108 class Func(mixins.Named, mixins.NameComparableMixin): 167 class TestClass(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.JavaFileMixin): 242 class TestInterface(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.JavaFileMixin):
|
/art/test/968-default-partial-compile-gen/util-src/ |
generate_smali.py | 44 class MainClass(mixins.DumpMixin, mixins.Named, mixins.SmaliFileMixin): 129 class Func(mixins.Named, mixins.NameComparableMixin): 252 class TestClass(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.SmaliFileMixin): 377 class TestInterface(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.SmaliFileMixin):
|