/frameworks/base/core/java/android/hardware/camera2/marshal/ |
MarshalRegistry.java | 44 * Lookup a marshaler between {@code T} and {@code nativeType}. 50 * @param nativeType The native type, e.g. {@link CameraMetadataNative#TYPE_BYTE TYPE_BYTE} 56 public static <T> Marshaler<T> getMarshaler(TypeReference<T> typeToken, int nativeType) { 59 MarshalToken<T> marshalToken = new MarshalToken<T>(typeToken, nativeType); 79 if (castedPotential.isTypeMappingSupported(typeToken, nativeType)) { 80 marshaler = castedPotential.createMarshaler(typeToken, nativeType); 90 MarshalHelpers.toStringNativeType(nativeType)); 101 public MarshalToken(TypeReference<T> typeReference, int nativeType) { 103 this.nativeType = nativeType; [all...] |
MarshalQueryable.java | 42 * @param nativeType the native type, e.g. 50 TypeReference<T> managedType, int nativeType); 62 public boolean isTypeMappingSupported(TypeReference<T> managedType, int nativeType);
|
MarshalHelpers.java | 46 * of that {@link nativeType}.</p> 48 * @param nativeType the native type, e.g. 52 * @throws UnsupportedOperationException if nativeType was not one of the built-in types 54 public static int getPrimitiveTypeSize(int nativeType) { 55 switch (nativeType) { 71 + nativeType); 170 * Return a human-readable representation of the {@code nativeType}, e.g. "TYPE_INT32" 174 * @param nativeType the native type 178 public static String toStringNativeType(int nativeType) { 179 switch (nativeType) { [all...] |
Marshaler.java | 48 * @param nativeType the native type, e.g. 56 MarshalQueryable<T> query, TypeReference<T> typeReference, int nativeType) { 58 mNativeType = checkNativeType(nativeType); 60 if (!query.isTypeMappingSupported(typeReference, nativeType)) { 64 + MarshalHelpers.toStringNativeType(nativeType)); 81 * into a byte buffer using the given {@code nativeType}. 123 * {@code nativeType}.
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
queryconversions.h | 14 void CastStateValues(Context *context, GLenum nativeType, GLenum pname,
|
queryconversions.cpp | 32 GLenum nativeType = CastStateValueEnum<NativeT>::mEnumForType; 34 if (nativeType == GL_FLOAT) 48 if (nativeType == GL_INT_64_ANGLEX && queryType == GL_INT) 75 void CastStateValues(Context *context, GLenum nativeType, GLenum pname, 78 if (nativeType == GL_INT) 92 else if (nativeType == GL_BOOL) 106 else if (nativeType == GL_FLOAT) 120 else if (nativeType == GL_INT_64_ANGLEX)
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
MarshalQueryableBlackLevelPattern.java | 36 int nativeType) { 37 super(MarshalQueryableBlackLevelPattern.this, typeReference, nativeType); 66 TypeReference<BlackLevelPattern> managedType, int nativeType) { 67 return new MarshalerBlackLevelPattern(managedType, nativeType); 72 TypeReference<BlackLevelPattern> managedType, int nativeType) { 73 return nativeType == TYPE_INT32 &&
|
MarshalQueryableBoolean.java | 33 protected MarshalerBoolean(TypeReference<Boolean> typeReference, int nativeType) { 34 super(MarshalQueryableBoolean.this, typeReference, nativeType); 56 int nativeType) { 57 return new MarshalerBoolean(managedType, nativeType); 61 public boolean isTypeMappingSupported(TypeReference<Boolean> managedType, int nativeType) { 63 || boolean.class.equals(managedType.getType())) && nativeType == TYPE_BYTE;
|
MarshalQueryableColorSpaceTransform.java | 40 int nativeType) { 41 super(MarshalQueryableColorSpaceTransform.this, typeReference, nativeType); 73 TypeReference<ColorSpaceTransform> managedType, int nativeType) { 74 return new MarshalerColorSpaceTransform(managedType, nativeType); 79 TypeReference<ColorSpaceTransform> managedType, int nativeType) { 80 return nativeType == TYPE_RATIONAL &&
|
MarshalQueryableHighSpeedVideoConfiguration.java | 42 int nativeType) { 43 super(MarshalQueryableHighSpeedVideoConfiguration.this, typeReference, nativeType); 73 TypeReference<HighSpeedVideoConfiguration> managedType, int nativeType) { 74 return new MarshalerHighSpeedVideoConfiguration(managedType, nativeType); 79 int nativeType) { 80 return nativeType == TYPE_INT32 &&
|
MarshalQueryableNativeByteToInteger.java | 36 int nativeType) { 37 super(MarshalQueryableNativeByteToInteger.this, typeReference, nativeType); 59 int nativeType) { 60 return new MarshalerNativeByteToInteger(managedType, nativeType); 64 public boolean isTypeMappingSupported(TypeReference<Integer> managedType, int nativeType) { 66 || int.class.equals(managedType.getType())) && nativeType == TYPE_BYTE;
|
MarshalQueryableRect.java | 36 int nativeType) { 37 super(MarshalQueryableRect.this, typeReference, nativeType); 68 public Marshaler<Rect> createMarshaler(TypeReference<Rect> managedType, int nativeType) { 69 return new MarshalerRect(managedType, nativeType); 73 public boolean isTypeMappingSupported(TypeReference<Rect> managedType, int nativeType) { 74 return nativeType == TYPE_INT32 && (Rect.class.equals(managedType.getType()));
|
MarshalQueryableRggbChannelVector.java | 36 int nativeType) { 37 super(MarshalQueryableRggbChannelVector.this, typeReference, nativeType); 65 TypeReference<RggbChannelVector> managedType, int nativeType) { 66 return new MarshalerRggbChannelVector(managedType, nativeType); 71 TypeReference<RggbChannelVector> managedType, int nativeType) { 72 return nativeType == TYPE_FLOAT && (RggbChannelVector.class.equals(managedType.getType()));
|
MarshalQueryableSize.java | 35 protected MarshalerSize(TypeReference<Size> typeReference, int nativeType) { 36 super(MarshalQueryableSize.this, typeReference, nativeType); 60 public Marshaler<Size> createMarshaler(TypeReference<Size> managedType, int nativeType) { 61 return new MarshalerSize(managedType, nativeType); 65 public boolean isTypeMappingSupported(TypeReference<Size> managedType, int nativeType) { 66 return nativeType == TYPE_INT32 && (Size.class.equals(managedType.getType()));
|
MarshalQueryableSizeF.java | 37 protected MarshalerSizeF(TypeReference<SizeF> typeReference, int nativeType) { 38 super(MarshalQueryableSizeF.this, typeReference, nativeType); 63 TypeReference<SizeF> managedType, int nativeType) { 64 return new MarshalerSizeF(managedType, nativeType); 68 public boolean isTypeMappingSupported(TypeReference<SizeF> managedType, int nativeType) { 69 return nativeType == TYPE_FLOAT && (SizeF.class.equals(managedType.getType()));
|
MarshalQueryableStreamConfiguration.java | 40 int nativeType) { 41 super(MarshalQueryableStreamConfiguration.this, typeReference, nativeType); 71 TypeReference<StreamConfiguration> managedType, int nativeType) { 72 return new MarshalerStreamConfiguration(managedType, nativeType); 77 int nativeType) { 78 return nativeType == TYPE_INT32 && managedType.getType().equals(StreamConfiguration.class);
|
MarshalQueryableStreamConfigurationDuration.java | 49 TypeReference<StreamConfigurationDuration> typeReference, int nativeType) { 50 super(MarshalQueryableStreamConfigurationDuration.this, typeReference, nativeType); 79 TypeReference<StreamConfigurationDuration> managedType, int nativeType) { 80 return new MarshalerStreamConfigurationDuration(managedType, nativeType); 85 int nativeType) { 86 return nativeType == TYPE_INT64 &&
|
MarshalQueryableMeteringRectangle.java | 37 int nativeType) { 38 super(MarshalQueryableMeteringRectangle.this, typeReference, nativeType); 78 TypeReference<MeteringRectangle> managedType, int nativeType) { 79 return new MarshalerMeteringRectangle(managedType, nativeType); 84 TypeReference<MeteringRectangle> managedType, int nativeType) { 85 return nativeType == TYPE_INT32 && MeteringRectangle.class.equals(managedType.getType());
|
MarshalQueryableReprocessFormatsMap.java | 39 TypeReference<ReprocessFormatsMap> typeReference, int nativeType) { 40 super(MarshalQueryableReprocessFormatsMap.this, typeReference, nativeType); 122 TypeReference<ReprocessFormatsMap> managedType, int nativeType) { 123 return new MarshalerReprocessFormatsMap(managedType, nativeType); 128 int nativeType) { 129 return nativeType == TYPE_INT32 && managedType.getType().equals(ReprocessFormatsMap.class);
|
MarshalQueryableString.java | 41 protected MarshalerString(TypeReference<String> typeReference, int nativeType) { 42 super(MarshalQueryableString.this, typeReference, nativeType); 102 TypeReference<String> managedType, int nativeType) { 103 return new MarshalerString(managedType, nativeType); 107 public boolean isTypeMappingSupported(TypeReference<String> managedType, int nativeType) { 108 return nativeType == TYPE_BYTE && String.class.equals(managedType.getType());
|
MarshalQueryablePrimitive.java | 58 protected MarshalerPrimitive(TypeReference<T> typeReference, int nativeType) { 59 super(MarshalQueryablePrimitive.this, typeReference, nativeType); 160 public Marshaler<T> createMarshaler(TypeReference<T> managedType, int nativeType) { 161 return new MarshalerPrimitive(managedType, nativeType); 165 public boolean isTypeMappingSupported(TypeReference<T> managedType, int nativeType) { 170 return nativeType == TYPE_BYTE; 172 return nativeType == TYPE_INT32; 174 return nativeType == TYPE_FLOAT; 176 return nativeType == TYPE_INT64; 178 return nativeType == TYPE_DOUBLE [all...] |
MarshalQueryableEnum.java | 52 protected MarshalerEnum(TypeReference<T> typeReference, int nativeType) { 53 super(MarshalQueryableEnum.this, typeReference, nativeType); 102 public Marshaler<T> createMarshaler(TypeReference<T> managedType, int nativeType) { 103 return new MarshalerEnum(managedType, nativeType); 107 public boolean isTypeMappingSupported(TypeReference<T> managedType, int nativeType) { 108 if (nativeType == TYPE_INT32 || nativeType == TYPE_BYTE) {
|
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
EglSurface.cpp | 24 EglOS::releasePbuffer(m_dpy->nativeType(),m_native);
|
EglContext.cpp | 41 mngr->attachShareGroup(context,shared_context->nativeType()): 52 EglOS::destroyContext(m_dpy->nativeType(),m_native);
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omnibox/ |
OmniboxSuggestion.java | 63 Type(int nativeType) { 64 mNativeType = nativeType; 67 static Type getTypeFromNativeType(int nativeType) { 69 if (t.mNativeType == nativeType) return t; 87 public int nativeType() { 92 public OmniboxSuggestion(int nativeType, int relevance, int transition, 96 mType = Type.getTypeFromNativeType(nativeType);
|