Home
last modified time | relevance | path

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

123

/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/angle/src/libANGLE/renderer/gl/cgl/
DDeviceCGL.cpp30 egl::Error DeviceCGL::getAttribute(const egl::Display *display, EGLint attribute, void **outValue) in getAttribute() argument
37 *outValue = displayImpl->getCGLContext(); in getAttribute()
40 *outValue = displayImpl->getCGLPixelFormat(); in getAttribute()
DDeviceCGL.h26 void **outValue) override;
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DPartnerConfigHelper.java163 TypedValue outValue = new TypedValue(); in getColor() local
164 resource.getValue(resId, outValue, true); in getColor()
165 if (outValue.type == TypedValue.TYPE_REFERENCE && outValue.data == 0) { in getColor()
207 TypedValue outValue = new TypedValue(); in getDrawable() local
208 resource.getValue(resId, outValue, true); in getDrawable()
209 if (outValue.type == TypedValue.TYPE_REFERENCE && outValue.data == 0) { in getDrawable()
479 TypedValue outValue = new TypedValue(); in getIllustrationResourceEntry() local
480 resource.getValue(resId, outValue, true); in getIllustrationResourceEntry()
481 if (outValue.type == TypedValue.TYPE_REFERENCE && outValue.data == 0) { in getIllustrationResourceEntry()
/external/angle/src/libANGLE/
DBinaryStream.h55 void readInt(IntT *outValue) in readInt() argument
57 *outValue = readInt<IntT>(); in readInt()
78 void readEnum(EnumT *outValue) in readEnum() argument
80 *outValue = readEnum<EnumT>(); in readEnum()
90 void readBool(bool *outValue) { *outValue = readBool(); } in readBool() argument
/external/angle/src/libANGLE/renderer/gl/eagl/
DDeviceEAGL.cpp31 egl::Error DeviceEAGL::getAttribute(const egl::Display *display, EGLint attribute, void **outValue) in getAttribute() argument
38 *outValue = displayImpl->getEAGLContext(); in getAttribute()
DDeviceEAGL.h30 void **outValue) override;
/external/angle/src/libANGLE/renderer/d3d/
DDeviceD3D.cpp35 egl::Error DeviceD3D::getAttribute(const egl::Display *display, EGLint attribute, void **outValue) in getAttribute() argument
41 *outValue = mDevice; in getAttribute()
/external/angle/src/libANGLE/renderer/metal/
DDeviceMtl.mm27 egl::Error DeviceMtl::getAttribute(const egl::Display *display, EGLint attribute, void **outValue)
34 *outValue = displayImpl->getMetalDevice();
DDeviceMtl.h28 void **outValue) override;
/external/OpenCL-CTS/test_conformance/compiler/
Dtest_build_options.cpp66 …lt_from_program( cl_context context, cl_command_queue queue, cl_program program, cl_int *outValue ) in get_result_from_program() argument
85 …error = clEnqueueReadBuffer( queue, outStream, true, 0, sizeof( cl_int ), outValue, 0, NULL, NULL … in get_result_from_program()
306 …ntext, cl_command_queue queue, cl_program program, cl_float inA, cl_float inB, cl_float *outValue ) in get_float_result_from_program() argument
331 …error = clEnqueueReadBuffer( queue, outStream, true, 0, sizeof( cl_float ), outValue, 0, NULL, NUL… in get_float_result_from_program()
/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/OpenCL-CTS/test_conformance/atomics/
Dtest_atomics.cpp316 cl_int *outValue = (cl_int *)( destItems + i * typeSize ); in test_atomic_function() local
317 …ERROR: Result %ld from kernel does not validate! (should be %d, was %d)\n", i, intVal, *outValue ); in test_atomic_function()
330 cl_long *outValue = (cl_long *)( destItems + i * typeSize ); in test_atomic_function() local
331 …: Result %ld from kernel does not validate! (should be %lld, was %lld)\n", i, longVal, *outValue ); in test_atomic_function()
352 cl_float *outValue = (cl_float *)destItems; in test_atomic_function() local
353 if( !testFns.VerifyRefsFloatFn( threadSize, (cl_float *)refValues, *outValue ) != 0 ) in test_atomic_function()
361 cl_int *outValue = (cl_int *)destItems; in test_atomic_function() local
362 if( !testFns.VerifyRefsIntFn( threadSize, (cl_int *)refValues, *outValue ) != 0 ) in test_atomic_function()
370 cl_long *outValue = (cl_long *)destItems; in test_atomic_function() local
371 if( !testFns.VerifyRefsLongFn( threadSize, (cl_long *)refValues, *outValue ) != 0 ) in test_atomic_function()
/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/angle/src/libANGLE/renderer/null/
DDeviceNULL.cpp26 egl::Error DeviceNULL::getAttribute(const egl::Display *display, EGLint attribute, void **outValue) in getAttribute() argument
DDeviceNULL.h27 void **outValue) override;
/external/angle/src/libANGLE/renderer/vulkan/
DDeviceVk.h27 void **outValue) override;
DDeviceVk.cpp27 egl::Error DeviceVk::getAttribute(const egl::Display *display, EGLint attribute, void **outValue) in getAttribute() argument
/external/angle/src/libANGLE/renderer/
DDeviceImpl.h35 void **outValue) = 0;

123