Home
last modified time | relevance | path

Searched refs:TYPE_FLOAT (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/base/core/java/android/hardware/camera2/marshal/
DMarshalHelpers.java60 case TYPE_FLOAT: in getPrimitiveTypeSize()
218 case TYPE_FLOAT: in toStringNativeType()
245 case TYPE_FLOAT: in checkNativeType()
270 case TYPE_FLOAT: in getPrimitiveTypeClass()
/frameworks/base/core/java/com/android/internal/display/
DBrightnessSynchronizer.java117 mPendingUpdate = new BrightnessUpdate(BrightnessUpdate.TYPE_FLOAT, in startSynchronizing()
125 mPendingUpdate = new BrightnessUpdate(BrightnessUpdate.TYPE_FLOAT, defaultBrightness); in startSynchronizing()
196 handleBrightnessChange(BrightnessUpdate.TYPE_FLOAT, brightness); in handleBrightnessChangeFloat()
378 static final int TYPE_FLOAT = 0x2; field in BrightnessSynchronizer.BrightnessUpdate
432 mUpdatedTypes |= TYPE_FLOAT; in update()
446 + toStringLabel(mUpdatedTypes & TYPE_FLOAT, brightnessFloat) + " " in update()
480 type == TYPE_FLOAT && floatEquals(getBrightnessAsFloat(), brightness); in swallowUpdate()
519 if (mSourceType == TYPE_FLOAT) { in getBrightnessAsFloat()
531 : ((type == TYPE_FLOAT) ? brightness + "(f)" in toStringLabel()
/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp231 ResTable_map::TYPE_FLOAT), in TEST()
232 Pointee(ValueEq(BinaryPrimitive(Res_value::TYPE_FLOAT, expected_float_flattened)))); in TEST()
240 ResTable_map::TYPE_FLOAT), in TEST()
241 Pointee(ValueEq(BinaryPrimitive(Res_value::TYPE_FLOAT, expected_float_flattened)))); in TEST()
246 ResTable_map::TYPE_FLOAT), in TEST()
247 Pointee(ValueEq(BinaryPrimitive(Res_value::TYPE_FLOAT, special_float_flattened)))); in TEST()
256 ResTable_map::TYPE_FLOAT), in TEST()
257 Pointee(ValueEq(BinaryPrimitive(Res_value::TYPE_FLOAT, big_flattened)))); in TEST()
/frameworks/base/core/java/android/service/controls/actions/
DControlAction.java62 TYPE_FLOAT,
92 public static final @ActionType int TYPE_FLOAT = 2; field in ControlAction
236 case TYPE_FLOAT: in createActionFromBundle()
DFloatAction.java30 private static final @ActionType int TYPE = TYPE_FLOAT;
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
DPrimitiveFormat.java41 return createFormat(FrameFormat.TYPE_FLOAT, count, target); in createFloatFormat()
61 return createFormat(FrameFormat.TYPE_FLOAT, target); in createFloatFormat()
/frameworks/base/core/java/android/view/animation/
DScaleAnimation.java74 if (tv.type == TypedValue.TYPE_FLOAT) { in ScaleAnimation()
86 if (tv.type == TypedValue.TYPE_FLOAT) { in ScaleAnimation()
99 if (tv.type == TypedValue.TYPE_FLOAT) { in ScaleAnimation()
111 if (tv.type == TypedValue.TYPE_FLOAT) { in ScaleAnimation()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryablePrimitive.java80 checkNativeTypeEquals(TYPE_FLOAT, mNativeType); in marshal()
133 case TYPE_FLOAT: in unmarshalObject()
172 return nativeType == TYPE_FLOAT; in isTypeMappingSupported()
DMarshalQueryableSizeF.java69 return nativeType == TYPE_FLOAT && (SizeF.class.equals(managedType.getType())); in isTypeMappingSupported()
DMarshalQueryableRggbChannelVector.java72 return nativeType == TYPE_FLOAT && (RggbChannelVector.class.equals(managedType.getType())); in isTypeMappingSupported()
/frameworks/layoutlib/bridge/tests/src/android/content/res/
DBridgeTypedArrayTest.java23 import static android.util.TypedValue.TYPE_FLOAT;
58 assertEquals(TYPE_FLOAT, BridgeTypedArray.getType("43.364")); in getType()
/frameworks/base/graphics/java/android/graphics/
DMeshSpecification.java119 value = {TYPE_FLOAT, TYPE_FLOAT2, TYPE_FLOAT3, TYPE_FLOAT4, TYPE_UBYTE4}
127 public static final int TYPE_FLOAT = 0; field in MeshSpecification
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFrameFormat.java35 public static final int TYPE_FLOAT = 5; field in FrameFormat
321 case TYPE_FLOAT: in bytesPerSampleOf()
353 case TYPE_FLOAT: return "float"; in baseTypeToString()
DSimpleFrame.java61 case FrameFormat.TYPE_FLOAT: in initWithFormat()
/frameworks/base/tools/streaming_proto/
Dstream_proto_utils.cpp47 case FieldDescriptorProto::TYPE_FLOAT: in get_proto_type()
/frameworks/base/services/core/java/com/android/server/display/utils/
DAmbientFilterFactory.java98 if (value.type != TypedValue.TYPE_FLOAT) { in getFloat()
/frameworks/base/cmds/idmap2/libidmap2/
DResourceUtils.cpp46 case Res_value::TYPE_FLOAT: in DataTypeToString()
/frameworks/av/media/module/foundation/
DMetaDataBase.cpp138 return setData(key, TYPE_FLOAT, &value, sizeof(value)); in setFloat()
208 if (!findData(key, &type, &data, &size) || type != TYPE_FLOAT) { in findFloat()
403 case TYPE_FLOAT: in asString()
562 case TYPE_FLOAT: in updateFromParcel()
/frameworks/base/core/tests/coretests/src/android/service/controls/actions/
DControlActionTest.java54 assertEquals(ControlAction.TYPE_FLOAT, fromParcel.getActionType()); in testUnparcelingCorrectClass_float()
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBinaryXmlPullParser.java26 import static com.android.modules.utils.BinaryXmlSerializer.TYPE_FLOAT;
255 case TYPE_FLOAT: in consumeToken()
732 case TYPE_FLOAT: in getValueString()
854 case TYPE_FLOAT: in getValueFloat()
DBinaryXmlSerializer.java90 static final int TYPE_FLOAT = 10 << 4; field in BinaryXmlSerializer
297 mOut.writeByte(ATTRIBUTE | TYPE_FLOAT); in attributeFloat()
/frameworks/base/core/java/android/util/
DTypedValue.java49 public static final int TYPE_FLOAT = 0x04; field in TypedValue
778 case TYPE_FLOAT: in coerceToString()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/utils/
DAmbientFilterTest.java115 value.type = TypedValue.TYPE_FLOAT; in setMockValues()
/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java98 static final int TYPE_FLOAT = 'F' | 4 << 8; field in TypedProperties
124 return TYPE_FLOAT; in interpretType()
/frameworks/base/media/java/android/media/
DMediaFormat.java1870 public static final int TYPE_FLOAT = 3; field in MediaFormat
1879 TYPE_FLOAT,
1898 return TYPE_FLOAT; in getValueTypeForKey()

123