Home
last modified time | relevance | path

Searched refs:outValue (Results 1 – 25 of 29) sorted by relevance

12

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DResourceHelper2.java90 TypedValue outValue, boolean requireUnit) { in parseFloatAttribute() argument
130 if (parseUnit(end, outValue, sFloatOut)) { in parseFloatAttribute()
131 computeTypedValue(outValue, f, sFloatOut[0], end); in parseFloatAttribute()
141 if (outValue != null) { in parseFloatAttribute()
142 outValue.assetCookie = 0; in parseFloatAttribute()
143 outValue.string = null; in parseFloatAttribute()
146 outValue.type = TypedValue.TYPE_FLOAT; in parseFloatAttribute()
147 outValue.data = Float.floatToIntBits(f); in parseFloatAttribute()
150 applyUnit(sUnitNames[1], outValue, sFloatOut); in parseFloatAttribute()
151 computeTypedValue(outValue, f, sFloatOut[0], "dp"); in parseFloatAttribute()
[all …]
DResourceHelper.java182 TypedValue outValue, boolean requireUnit) { in parseFloatAttribute() argument
222 if (parseUnit(end, outValue, sFloatOut)) { in parseFloatAttribute()
223 computeTypedValue(outValue, f, sFloatOut[0]); in parseFloatAttribute()
233 if (outValue != null) { in parseFloatAttribute()
234 outValue.assetCookie = 0; in parseFloatAttribute()
235 outValue.string = null; in parseFloatAttribute()
238 outValue.type = TypedValue.TYPE_FLOAT; in parseFloatAttribute()
239 outValue.data = Float.floatToIntBits(f); in parseFloatAttribute()
242 applyUnit(sUnitNames[1], outValue, sFloatOut); in parseFloatAttribute()
243 computeTypedValue(outValue, f, sFloatOut[0]); in parseFloatAttribute()
[all …]
DShadowLegacyAssetManager.java139 …private void convertAndFill(AttributeResource attribute, TypedValue outValue, ResTable_config conf… in convertAndFill() argument
141 outValue.type = TypedValue.TYPE_NULL; in convertAndFill()
142 outValue.data = TypedValue.DATA_NULL_UNDEFINED; in convertAndFill()
145 outValue.type = TypedValue.TYPE_NULL; in convertAndFill()
146 outValue.data = TypedValue.DATA_NULL_EMPTY; in convertAndFill()
151 outValue.assetCookie = Converter.getNextStringCookie(); in convertAndFill()
152 outValue.changingConfigurations = 0; in convertAndFill()
171 outValue.type = TypedValue.TYPE_REFERENCE; in convertAndFill()
174 outValue.data = resourceId; in convertAndFill()
178 outValue.resourceId = resourceId; in convertAndFill()
[all …]
DShadowArscAssetManager.java516 protected int loadResourceValue(int ident, short density, TypedValue outValue, boolean resolve) { in loadResourceValue() argument
517 if (outValue == null) { in loadResourceValue()
549 return copyValue(outValue, res, value.get(), ref.get(), block, typeSpecFlags.get(), in loadResourceValue()
556 …private static int copyValue(TypedValue outValue, ResTable table, Res_value value, int ref, int b… in copyValue() argument
558 return copyValue(outValue, table, value, ref, block, typeSpecFlags, null); in copyValue()
561 …private static int copyValue(TypedValue outValue, ResTable table, Res_value value, int ref, int b… in copyValue() argument
563 outValue.type = value.dataType; in copyValue()
564 outValue.assetCookie = table.getTableCookie(block); in copyValue()
565 outValue.data = value.data; in copyValue()
566 outValue.string = null; in copyValue()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAssetManagerTest.java138 TypedValue outValue = new TypedValue(); in multiFormatAttributes_integerDecimalValue() local
139 typedArray.getValue(0, outValue); in multiFormatAttributes_integerDecimalValue()
140 assertThat(outValue.type).isEqualTo(TypedValue.TYPE_INT_DEC); in multiFormatAttributes_integerDecimalValue()
150 TypedValue outValue = new TypedValue(); in multiFormatAttributes_integerHexValue() local
151 typedArray.getValue(0, outValue); in multiFormatAttributes_integerHexValue()
152 assertThat(outValue.type).isEqualTo(TypedValue.TYPE_INT_HEX); in multiFormatAttributes_integerHexValue()
162 TypedValue outValue = new TypedValue(); in multiFormatAttributes_stringValue() local
163 typedArray.getValue(0, outValue); in multiFormatAttributes_stringValue()
164 assertThat(outValue.type).isEqualTo(TypedValue.TYPE_STRING); in multiFormatAttributes_stringValue()
174 TypedValue outValue = new TypedValue(); in multiFormatAttributes_booleanValue() local
[all …]
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAttributeSetBuilderImpl.java75 TypedValue outValue); in parseValue() argument
130 TypedValue outValue) { in parseValue() argument
131 arscParse(attrId, attrResName, attribute, outValue); in parseValue()
135 TypedValue outValue) { in arscParse() argument
157 if (converter.fillTypedValue(attribute.value, outValue, true)) { in arscParse()
197 TypedValue outValue) { in parseValue() argument
211 if (converter.fillTypedValue(attribute.value, outValue, true)) { in parseValue()
226 Converter.getConverter(resType).fillTypedValue(attribute.value, outValue); in parseValue()
330 TypedValue outValue = parse(attrId, attrResName, value, packageName); in build()
331 type = DataType.fromCode(outValue.type); in build()
[all …]
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DPartnerConfigHelper.java134 TypedValue outValue = new TypedValue(); in getDrawable() local
135 resource.getValue(resourceEntry.getResourceId(), outValue, true); in getDrawable() local
136 if (outValue.type == TypedValue.TYPE_REFERENCE && outValue.data == 0) { in getDrawable()
/external/deqp/executor/tools/
DxeTestLogCompare.cpp109 , outValue (OUTPUTVALUE_STATUS_CODE) in CommandLine()
115 OutputValue outValue; member
344 …dst << "," << (cmdLine.outValue == OUTPUTVALUE_STATUS_CODE ? getStatusCodeName(iter->statusCode) :… in runCompare()
386 cmdLine.outValue = opts.getOption<opt::OutValue>(); in parseCommandLine()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DOpenMapRealMatrix.java209 final double outValue = in multiply() local
211 if (outValue == 0.0) { in multiply()
214 out.entries.put(outKey, outValue); in multiply()
/external/libese/apps/weaver/card/src/com/android/weaver/core/
DCoreSlots.java61 byte[] outValue, short outOffset) { in read() argument
63 return mSlots[slotId].read(key, keyOffset, outValue, outOffset); in read()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResXMLParser.java124 int getTextValue(Res_value outValue) in getTextValue() argument
364 public int getAttributeValue(int idx, Ref<Res_value> outValue) in getAttributeValue() argument
374 outValue.set(attr.typedValue); in getAttributeValue()
376 mTree.mDynamicRefTable.lookupResourceValue(outValue) != NO_ERROR) { in getAttributeValue()
DResTable.java361 public final int getResource(int resID, Ref<Res_value> outValue, boolean mayBeBag, int density,
416 outValue.set(value);
422 if (grp.dynamicRefTable.lookupResourceValue(outValue) != NO_ERROR) {
423 ALOGW("Failed to resolve referenced package: 0x%08x", outValue.get().data);
/external/wayland-protocols/flinger_headers/
Dhwcomposer2_arc_private.h244 hwc2_device_t* device, hwc2_display_t display, const int32_t attribute, int32_t* outValue);
/external/cldr/tools/java/org/unicode/cldr/tool/
DShowData.java552 String outValue = TransliteratorUtilities.toHTML
562 outValue = "<span title='"
564 + outValue + "</span>";
566 return outValue;
/external/deqp/modules/gles2/scripts/
Dgen-conversions.py194 def __init__(self, inValue, outValue): argument
196 outType = outValue.typeString()
/external/sfntly/cpp/src/test/tinyxml/
Dtinyxml.h1024 template< typename T > int QueryValueAttribute( const std::string& name, T* outValue ) const in QueryValueAttribute() argument
1031 sstream >> *outValue; in QueryValueAttribute()
1037 int QueryValueAttribute( const std::string& name, std::string* outValue ) const in QueryValueAttribute() argument
1042 *outValue = node->ValueStr(); in QueryValueAttribute()
/external/protobuf/objectivec/
DGPBDescriptor.h123 - (BOOL)getValue:(nullable int32_t *)outValue forEnumName:(NSString *)name;
DGPBDescriptor.m721 - (BOOL)getValue:(int32_t *)outValue forEnumName:(NSString *)name {
739 if (outValue) {
740 *outValue = values_[i];
/external/deqp/modules/gles3/scripts/
Dgen-conversions.py207 def __init__(self, inValue, outValue): argument
209 outType = outValue.typeString()
/external/deqp/modules/gles2/functional/
Des2fShaderOperatorTests.cpp260 , outValue (outValue_) in BuiltinFuncInfo()
278 ValueType outValue; member
1241 …bool isBoolOut = (funcInfo.outValue & (VALUE_BOOL | VALUE_BOOL_VEC | VALUE_BOOL_GENTYPE)) != … in init()
1242 bool isIntOut = (funcInfo.outValue & (VALUE_INT | VALUE_INT_VEC | VALUE_INT_GENTYPE)) != 0; in init()
1254 …int outScalarSize = ((funcInfo.outValue == VALUE_FLOAT) || (funcInfo.outValue == VALUE_BOOL)) ? … in init()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp340 , outValue (outValue_) in BuiltinFuncInfo()
377 , outValue (outValue_) in BuiltinFuncInfo()
397 ValueType outValue; member
1838 …const bool isBoolOut = (funcInfo.outValue & (VALUE_BOOL | VALUE_BOOL_VEC | VALUE_BOOL_GENTYPE)… in init()
1839 …const bool isIntOut = (funcInfo.outValue & (VALUE_INT | VALUE_INT_VEC | VALUE_INT_GENTYPE)) !=… in init()
1840 …const bool isUintOut = (funcInfo.outValue & (VALUE_UINT | VALUE_UINT_VEC | VALUE_UINT_GENTYPE)… in init()
1852 …const int outScalarSize = ((funcInfo.outValue == VALUE_FLOAT) || (funcInfo.outValue == VALUE_BOOL… in init()
/external/clang/test/ARCMT/
Dobjcmt-arc-cf-annotations.m.result1603 NSDate *outValue = inValue;
1604 if (outValue == 0)
1605 outValue = [[NSDate alloc] init]; // no-warning
1607 if (outValue != inValue)
1608 [outValue autorelease];
1610 return outValue;
Dobjcmt-arc-cf-annotations.m1561 NSDate *outValue = inValue;
1562 if (outValue == 0)
1563 outValue = [[NSDate alloc] init]; // no-warning
1565 if (outValue != inValue)
1566 [outValue autorelease];
1568 return outValue;
/external/deqp/modules/gles3/functional/
Des3fShaderOperatorTests.cpp446 , outValue (outValue_) in BuiltinFuncInfo()
472 , outValue (outValue_) in BuiltinFuncInfo()
492 ValueType outValue; member
1877 …bool isBoolOut = (funcInfo.outValue & (VALUE_BOOL | VALUE_BOOL_VEC | VALUE_BOOL_GENTYPE)) != … in init()
1878 bool isIntOut = (funcInfo.outValue & (VALUE_INT | VALUE_INT_VEC | VALUE_INT_GENTYPE)) != 0; in init()
1879 …bool isUintOut = (funcInfo.outValue & (VALUE_UINT | VALUE_UINT_VEC | VALUE_UINT_GENTYPE)) != … in init()
1891 …int outScalarSize = ((funcInfo.outValue == VALUE_FLOAT) || (funcInfo.outValue == VALUE_BOOL)) ? … in init()
/external/deqp/framework/randomshaders/
DrsgExpression.cpp1415 ExecValueAccess outValue = m_value.getValue(m_outValueRange.getType()); in evaluate() local
1417 for (int outElemNdx = 0; outElemNdx < outValue.getType().getNumElements(); outElemNdx++) in evaluate()
1420 outValue.component(outElemNdx) = inValue.component(inElemNdx).value(); in evaluate()

12