Home
last modified time | relevance | path

Searched refs:normalized (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/graphics/cam/
DCamUtils.java164 double normalized = rgbComponent / 100.0; in delinearized() local
166 if (normalized <= 0.0031308) { in delinearized()
167 delinearized = normalized * 12.92; in delinearized()
169 delinearized = 1.055 * Math.pow(normalized, 1.0 / 2.4) - 0.055; in delinearized()
280 float normalized = (float) rgbComponent / 255.0f; in linearized() local
282 if (normalized <= 0.04045f) { in linearized()
283 return (normalized / 12.92f) * 100.0f; in linearized()
285 return (float) Math.pow(((normalized + 0.055f) / 1.055f), 2.4f) * 100.0f; in linearized()
DHctSolver.java341 double normalized = rgbComponent / 100.0; in trueDelinearized() local
343 if (normalized <= 0.0031308) { in trueDelinearized()
344 delinearized = normalized * 12.92; in trueDelinearized()
346 delinearized = 1.055 * Math.pow(normalized, 1.0 / 2.4) - 0.055; in trueDelinearized()
/frameworks/rs/driver/
DrsdVertexArray.cpp49 normalized = false; in clear()
54 bool normalized, size_t offset, in set() argument
60 this->normalized = normalized; in set()
77 mAttribs[idx].normalized, in logAttrib()
112 mAttribs[ct].normalized, in setup()
DrsdVertexArray.h43 bool normalized; variable
48 …void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char…
DrsdMeshObj.cpp117 mAttribs[userNum].normalized = f->mHal.state.dataType != RS_TYPE_FLOAT_32; in init()
/frameworks/base/graphics/java/android/graphics/drawable/
DTransitionDrawable.java195 float normalized = (float) in draw() local
197 done = normalized >= 1.0f; in draw()
198 normalized = Math.min(normalized, 1.0f); in draw()
199 mAlpha = (int) (mFrom + (mTo - mFrom) * normalized); in draw()
/frameworks/compile/slang/
Dslang_rs_export_element.cpp37 bool normalized; member
61 EI->normalized = DataElementInfoTable[i].normalized; in Init()
97 EI->normalized); in Create()
112 EI->normalized); in Create()
Dslang_rs_export_element.h45 bool normalized; member
/frameworks/native/libs/vr/libdvrcommon/tests/
Dpose_test.cpp32 FT(M_PI / 3.0), vec3_t(FT(3.0), FT(4.0), FT(5.0)).normalized())); in TYPED_TEST()
75 FT(M_PI / 6.0), vec3_t(FT(3.0), FT(4.0), FT(5.0)).normalized())); in TYPED_TEST()
102 FT(M_PI / 3.0), vec3_t(FT(1.0), FT(-1.0), FT(0.0)).normalized())); in TYPED_TEST()
130 FT(M_PI / 2.0), vec3_t(FT(4.0), FT(-2.0), FT(-1.0)).normalized())); in TYPED_TEST()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecMessageBuilder.java101 String normalized = language.toLowerCase(); in buildSetMenuLanguageCommand() local
103 (byte) (normalized.charAt(0) & 0xFF), in buildSetMenuLanguageCommand()
104 (byte) (normalized.charAt(1) & 0xFF), in buildSetMenuLanguageCommand()
105 (byte) (normalized.charAt(2) & 0xFF), in buildSetMenuLanguageCommand()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceProcessor.java1284 private static final long normDateTimeComparisonValue(Time normalized) { in normDateTimeComparisonValue() argument
1287 return ((long)normalized.getYear() << 26) + (normalized.getMonth() << 22) in normDateTimeComparisonValue()
1288 + (normalized.getDay() << 17) + (normalized.getHour() << 12) in normDateTimeComparisonValue()
1289 + (normalized.getMinute() << 6) + normalized.getSecond(); in normDateTimeComparisonValue()
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dnumeric.h84 vec2 normalized((pt - vec2(from.p1)).array() / vec2(from.GetSize()).array()); in MapPoint()
85 return (normalized * vec2(to.GetSize())) + vec2(to.p1); in MapPoint()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DVector3Test.java106 AnyMotionDetector.Vector3 unitXAxisNormalized = unitXAxis.normalized();
112 AnyMotionDetector.Vector3 x3Normalized = x3.normalized();
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp59 normalized(false), in VertexAttrib()
959 attrib.normalized = normalize; in SetAttributeValues()
985 attrib.normalized = normalize; in SetAttributeValues()
1025 attrib.normalized = false; in SetAttributeValues()
1075 attrib.normalized, in PushAttributes()
1085 attrib.normalized, in PushAttributes()
Dshader_program.h413 bool normalized; member
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAnyMotionDetector.java286 Vector3 previousGravityVectorNormalized = mPreviousGravityVector.normalized(); in getStationaryStatusLocked()
287 Vector3 currentGravityVectorNormalized = mCurrentGravityVector.normalized(); in getStationaryStatusLocked()
402 public Vector3 normalized() { in normalized() method in AnyMotionDetector.Vector3
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java675 String normalized; in buildTestMessage() local
677 normalized = "NFC"; in buildTestMessage()
679 normalized = "NFD"; in buildTestMessage()
681 normalized = "NFKC"; in buildTestMessage()
683 normalized = "NFKD"; in buildTestMessage()
695 + ", Normalization: " + normalized; in buildTestMessage()
/frameworks/base/services/core/java/com/android/server/power/
DThermalManagerService.java1239 float normalized = normalizeTemperature(currentTemperature, threshold); in getForecast() local
1240 if (Float.isNaN(maxNormalized) || normalized > maxNormalized) { in getForecast()
1241 maxNormalized = normalized; in getForecast()
1247 float normalized = normalizeTemperature( in getForecast() local
1249 if (Float.isNaN(maxNormalized) || normalized > maxNormalized) { in getForecast()
1250 maxNormalized = normalized; in getForecast()
/frameworks/base/opengl/java/android/opengl/
DGLES20.java1885 boolean normalized, in glVertexAttribPointer() argument
1896 boolean normalized, in glVertexAttribPointerBounds() argument
1906 boolean normalized, in glVertexAttribPointer() argument
1914 normalized, in glVertexAttribPointer()
/frameworks/native/opengl/tools/glgen/stubs/gles11/
Dcommon.cpp29 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { in glVertexAttribPointerBounds() argument
30 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); in glVertexAttribPointerBounds()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dcamera_response_fast.rsh13 // The difference here is that we use a normalized model such
Dcamera_response.rsh13 // The difference here is that we use a normalized model such
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES20.spec142 void glVertexAttribPointer ( GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei st…
143 void glVertexAttribPointer ( GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei st…
/frameworks/base/core/jni/
Dandroid_opengl_GLES10Ext.cpp54 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { in glVertexAttribPointerBounds() argument
55 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); in glVertexAttribPointerBounds()
/frameworks/rs/script_api/
Drs_vector_math.spec158 summary: Approximate normalized vector

12