Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 27) sorted by relevance

12

/cts/apps/CtsVerifier/include/colorchecker/
Dcolorcheckertest.h42 const std::vector<std::vector<Vec2f> >* getCheckerCenterAdd() const { in getCheckerCenterAdd()
43 std::vector<std::vector<Vec2f> >* returnPositions = in getCheckerCenterAdd()
44 new std::vector<std::vector<Vec2f> >( in getCheckerCenterAdd()
45 4, std::vector<Vec2f>(6, Vec2f(0.f, 0.f))); in getCheckerCenterAdd()
55 const std::vector<std::vector<float> >* getCheckerRadiusAdd() const { in getCheckerRadiusAdd()
56 std::vector<std::vector<float> >* returnRadius= in getCheckerRadiusAdd()
57 new std::vector<std::vector<float> >( in getCheckerRadiusAdd()
58 4, std::vector<float>(6, 0.f)); in getCheckerRadiusAdd()
80 void findCheckerBoards(std::vector<std::vector<int> > linesDir1,
81 std::vector<std::vector<int> > linesDir2);
[all …]
Dmeteringtest.h35 void addDataToList(const std::vector<Vec3f>* checkerColors) { in addDataToList()
44 const std::vector<bool>* getComparisonResults() const { in getComparisonResults()
49 bool isDarkerThan(const std::vector<Vec3f>* checkerColors1,
50 const std::vector<Vec3f>* checkerColors2) const;
51 bool isEquivalentTo(const std::vector<Vec3f>* checkerColors1,
52 const std::vector<Vec3f>* checkerColors2) const;
54 std::vector<std::vector<Vec3f> > mCheckerColors;
55 std::vector<bool> mComparisonResults;
Dautolocktest.h31 void addDataToList(const std::vector<Vec3f>* checkerColors) { in addDataToList()
40 const std::vector<bool>* getComparisonResults() const { in getComparisonResults()
45 bool IsBrighterThan(const std::vector<Vec3f>* colorCheckers1,
46 const std::vector<Vec3f>* colorCheckers2) const;
47 bool IsEquivalentTo(const std::vector<Vec3f>* colorCheckers1,
48 const std::vector<Vec3f>* colorCheckers2) const;
50 std::vector<std::vector<Vec3f> > mCheckerColors;
51 std::vector<bool> mComparisonResults;
Dexposurecompensationtest.h38 const std::vector<Vec3f>* checkerColors) { in addDataToList()
52 std::vector<std::vector<Vec3f> > mCheckerColors;
53 std::vector<Vec3i> mReferenceColors;
54 std::vector<float> mExposureValues;
Dtestingimage.h53 const std::vector<Vec3f>* getColorChecker(
55 const std::vector<std::vector< Vec2f > >* centerAddress,
56 const std::vector<std::vector< float > >* radiusAddress) const;
Dwhitebalancetest.h33 const std::vector<Vec3f>* checkerColors) { in addDataToList()
53 std::vector<Vec3f> mCheckerColors;
54 std::vector<Vec3f> mCheckerXyzColors;
55 std::vector<Vec3f> mXyzColorsDaylight;
/cts/apps/CtsVerifier/jni/cameraanalyzer/
Dcom_android_cts_verifier_camera_analyzer_MeteringTest.cpp56 std::vector<std::vector< Vec2f > >* checkerCenter = in Java_com_android_cts_verifier_camera_analyzer_MeteringTest_createMeteringClass()
57 (std::vector<std::vector< Vec2f > >*) (long) checkercenterAddress; in Java_com_android_cts_verifier_camera_analyzer_MeteringTest_createMeteringClass()
58 std::vector<std::vector< float > >* checkerRadius = in Java_com_android_cts_verifier_camera_analyzer_MeteringTest_createMeteringClass()
59 (std::vector<std::vector< float > >*) (long) checkerradiusAddress; in Java_com_android_cts_verifier_camera_analyzer_MeteringTest_createMeteringClass()
82 const std::vector<bool>* nativeComparisonResults = in Java_com_android_cts_verifier_camera_analyzer_MeteringTest_processMeteringTest()
109 std::vector<std::vector< Vec2f > >* checkerCenter = in Java_com_android_cts_verifier_camera_analyzer_MeteringTest_findGreyCoordinates()
110 (std::vector<std::vector< Vec2f > >*) (long) checkercenterAddress; in Java_com_android_cts_verifier_camera_analyzer_MeteringTest_findGreyCoordinates()
111 std::vector<std::vector< float > >* checkerRadius = in Java_com_android_cts_verifier_camera_analyzer_MeteringTest_findGreyCoordinates()
112 (std::vector<std::vector< float > >*) (long) checkerradiusAddress; in Java_com_android_cts_verifier_camera_analyzer_MeteringTest_findGreyCoordinates()
Dcom_android_cts_verifier_camera_analyzer_ExposureCompensationTest.cpp61 std::vector<std::vector< Vec2f > >* checkerCenter = in Java_com_android_cts_verifier_camera_analyzer_ExposureCompensationTest_createExposureCompensationClass()
62 (std::vector<std::vector< Vec2f > >*) (long) checkerCenterAddress; in Java_com_android_cts_verifier_camera_analyzer_ExposureCompensationTest_createExposureCompensationClass()
63 std::vector<std::vector< float > >* checkerRadius = in Java_com_android_cts_verifier_camera_analyzer_ExposureCompensationTest_createExposureCompensationClass()
64 (std::vector<std::vector< float > >*) (long) checkerRadiusAddress; in Java_com_android_cts_verifier_camera_analyzer_ExposureCompensationTest_createExposureCompensationClass()
66 const std::vector<Vec3f>* checkerValue = in Java_com_android_cts_verifier_camera_analyzer_ExposureCompensationTest_createExposureCompensationClass()
Dcom_android_cts_verifier_camera_analyzer_AutoLockTest.cpp55 std::vector<std::vector< Vec2f > >* checkerCenter = in Java_com_android_cts_verifier_camera_analyzer_AutoLockTest_createAutoLockClass()
56 (std::vector<std::vector< Vec2f > >*) (long) checkercenterAddress; in Java_com_android_cts_verifier_camera_analyzer_AutoLockTest_createAutoLockClass()
57 std::vector<std::vector< float > >* checkerRadius = in Java_com_android_cts_verifier_camera_analyzer_AutoLockTest_createAutoLockClass()
58 (std::vector<std::vector< float > >*) (long) checkerradiusAddress; in Java_com_android_cts_verifier_camera_analyzer_AutoLockTest_createAutoLockClass()
83 const std::vector<bool>* nativeComparisonResults = in Java_com_android_cts_verifier_camera_analyzer_AutoLockTest_processAutoLockTest()
Dcom_android_cts_verifier_camera_analyzer_WhiteBalanceTest.cpp56 std::vector<std::vector< Vec2f > >* checkerCenter = in Java_com_android_cts_verifier_camera_analyzer_WhiteBalanceTest_createWhiteBalanceClass()
57 (std::vector<std::vector< Vec2f > >*) (long) checkercenterAddress; in Java_com_android_cts_verifier_camera_analyzer_WhiteBalanceTest_createWhiteBalanceClass()
58 std::vector<std::vector< float > >* checkerRadius = in Java_com_android_cts_verifier_camera_analyzer_WhiteBalanceTest_createWhiteBalanceClass()
59 (std::vector<std::vector< float > >*) (long) checkerradiusAddress; in Java_com_android_cts_verifier_camera_analyzer_WhiteBalanceTest_createWhiteBalanceClass()
/cts/apps/CtsVerifier/lib/colorchecker/
Dautolocktest.cpp55 const std::vector<Vec3f>* colorCheckers1, in IsBrighterThan()
56 const std::vector<Vec3f>* colorCheckers2) const { in IsBrighterThan()
78 const std::vector<Vec3f>* colorCheckers1, in IsEquivalentTo()
79 const std::vector<Vec3f>* colorCheckers2) const { in IsEquivalentTo()
Dmeteringtest.cpp60 const std::vector<Vec3f>* checkerColors1, in isDarkerThan()
61 const std::vector<Vec3f>* checkerColors2) const { in isDarkerThan()
84 const std::vector<Vec3f>* checkerColors1, in isEquivalentTo()
85 const std::vector<Vec3f>* checkerColors2) const { in isEquivalentTo()
Dtestingimage.cpp128 const std::vector<Vec3f>* TestingImage::getColorChecker( in getColorChecker()
130 const std::vector<std::vector< Vec2f > >* centerAddress, in getColorChecker()
131 const std::vector<std::vector< float > >* radiusAddress) const { in getColorChecker()
132 std::vector<Vec3f>* checkerColors = new std::vector<Vec3f>; in getColorChecker()
Dcolorcheckertest.cpp90 mReferenceColors.resize(4, std::vector<Vec3i*>(6, NULL)); in initializeRefColor()
91 mMatchPositions.resize(4, std::vector<Vec2f*>(6, NULL)); in initializeRefColor()
92 mMatchColors.resize(4, std::vector<Vec3f*>(6, NULL)); in initializeRefColor()
93 mMatchRadius.resize(4, std::vector<float>(6, 0.f)); in initializeRefColor()
275 std::vector<std::vector<int> > verticalLines; in houghLineDetection()
276 std::vector<std::vector<int> > horizontalLines; in houghLineDetection()
355 std::vector<int> line(2); in houghLineDetection()
448 std::vector<std::vector<int> > verticalLines, in findCheckerBoards()
449 std::vector<std::vector<int> > horizontalLines) { in findCheckerBoards()
514 Vec2f ColorCheckerTest::findCrossing(std::vector<int> line1, in findCrossing()
[all …]
Dwhitebalancetest.cpp40 std::vector<Vec3f> xyzColors(numPatches); in processData()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DAccelerometerTestRenderer.java197 public static void normalize(float[] vector) { in normalize() argument
198 double mag = Math.sqrt(vector[0] * vector[0] + vector[1] * vector[1] + vector[2] in normalize()
199 * vector[2]); in normalize()
200 vector[0] /= mag; in normalize()
201 vector[1] /= mag; in normalize()
202 vector[2] /= mag; in normalize()
/cts/suite/audio_quality/lib/include/task/
DTaskProcess.h42 bool parseParams(std::vector<Param>& list, const char* str, bool isInput);
49 bool prepareParams(std::vector<TaskProcess::Param>& list,
86 std::vector<Param> mInput;
87 std::vector<Param> mOutput;
/cts/suite/audio_quality/lib/src/
DStringUtil.cpp24 std::vector<android::String8>* StringUtil::split(const android::String8& str, char delimiter) in split()
26 std::vector<android::String8>* tokens = new std::vector<android::String8>(); in split()
/cts/suite/audio_quality/lib/src/task/
DTaskSave.cpp54 UniquePtr<std::vector<android::String8> > list(StringUtil::split(fileValue, ',')); in handleFile()
55 std::vector<android::String8>* listp = list.get(); in handleFile()
107 UniquePtr<std::vector<android::String8> > list(StringUtil::split(reportValue, ',')); in handleReport()
108 std::vector<android::String8>* listp = list.get(); in handleReport()
DTaskProcess.cpp53 bool TaskProcess::prepareParams(std::vector<TaskProcess::Param>& list, in prepareParams()
244 bool TaskProcess::parseParams(std::vector<TaskProcess::Param>& list, const char* str, bool isInput) in parseParams()
248 UniquePtr<std::vector<android::String8> > paramTokens(StringUtil::split(paramStr, ',')); in parseParams()
253 std::vector<android::String8>& tokens = *(paramTokens.get()); in parseParams()
255 UniquePtr<std::vector<android::String8> > itemTokens(StringUtil::split(tokens[i], ':')); in parseParams()
264 std::vector<android::String8>& item = *(itemTokens.get()); in parseParams()
297 UniquePtr<std::vector<android::String8> > tokenPtr(StringUtil::split(value, ':')); in parseAttribute()
298 std::vector<android::String8>* tokens = tokenPtr.get(); in parseAttribute()
DTaskSound.cpp64 UniquePtr<std::vector<android::String8> > tokens(StringUtil::split(type, ':')); in run()
/cts/suite/audio_quality/test/
DStringUtilTest.cpp56 std::vector<android::String8>* tokens = StringUtil::split(str, ':'); in TEST_F()
66 std::vector<android::String8>* tokens2 = StringUtil::split(str2, ':'); in TEST_F()
/cts/suite/cts/deviceTests/opengl/assets/fragment/
Dperspective21 // Get a lighting direction vector from the light to the vertex.
23 // Calculate the dot product of the light vector and vertex normal.
Dwater28 // Get a lighting direction vector from the light to the vertex.
30 // Calculate the dot product of the light vector and vertex normal.
/cts/suite/audio_quality/lib/include/
DStringUtil.h32 static std::vector<android::String8>* split(const android::String8& str, char delimiter);

12