/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathMeasureTest.java | 39 private Path mPath; field in PathMeasureTest 43 mPath = new Path(); in setup() 75 mPathMeasure.setPath(mPath, true); in testGetPosTan() 76 mPath.addRect(1f, 2f, 3f, 4f, Path.Direction.CW); in testGetPosTan() 77 mPathMeasure.setPath(mPath, true); in testGetPosTan() 86 mPath.addRect(1, 2, 3, 4, Path.Direction.CW); in testNextContour() 87 mPath.addRect(1, 2, 3, 4, Path.Direction.CW); in testNextContour() 88 mPathMeasure.setPath(mPath, true); in testNextContour() 96 mPath.addRect(1, 2, 3, 4, Path.Direction.CW); in testGetLength() 97 mPathMeasure.setPath(mPath, true); in testGetLength() [all …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ViewClippingTests.java | 119 Path mPath = new Path(); in testOvalOutlineClip() 122 mPath.reset(); in testOvalOutlineClip() 123 mPath.addOval(0, 0, view.getWidth(), view.getHeight(), in testOvalOutlineClip() 125 outline.setConvexPath(mPath); in testOvalOutlineClip() 142 Path mPath = new Path(); in testConcaveOutlineClip() 145 mPath.reset(); in testConcaveOutlineClip() 146 mPath.addRect(0, 0, 10, 100, Path.Direction.CW); in testConcaveOutlineClip() 147 mPath.addRect(0, 0, 100, 10, Path.Direction.CW); in testConcaveOutlineClip() 148 assertFalse(mPath.isConvex()); in testConcaveOutlineClip() 150 outline.setConvexPath(mPath); in testConcaveOutlineClip()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ReadElf.java | 125 private final String mPath; field in ReadElf 196 mPath = file.getPath(); in ReadElf() 229 throw new IllegalArgumentException("Invalid ELF file: " + mPath); in readHeader() 238 throw new IOException("Invalid ELF EI_CLASS: " + elfClass + ": " + mPath); in readHeader() 244 throw new IOException("Unsupported ELFDATA2MSB file: " + mPath); in readHeader() 246 throw new IOException("Invalid ELF EI_DATA: " + mEndian + ": " + mPath); in readHeader() 256 throw new IOException("Invalid ELF e_machine: " + e_machine + ": " + mPath); in readHeader() 266 e_machine + "/" + elfClass + ": " + mPath); in readHeader() 271 throw new IOException("Invalid e_version: " + e_version + ": " + mPath); in readHeader()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | ReadElf.java | 125 private final String mPath; field in ReadElf 196 mPath = file.getPath(); in ReadElf() 229 throw new IllegalArgumentException("Invalid ELF file: " + mPath); in readHeader() 238 throw new IOException("Invalid ELF EI_CLASS: " + elfClass + ": " + mPath); in readHeader() 244 throw new IOException("Unsupported ELFDATA2MSB file: " + mPath); in readHeader() 246 throw new IOException("Invalid ELF EI_DATA: " + mEndian + ": " + mPath); in readHeader() 256 throw new IOException("Invalid ELF e_machine: " + e_machine + ": " + mPath); in readHeader() 266 e_machine + "/" + elfClass + ": " + mPath); in readHeader() 271 throw new IOException("Invalid e_version: " + e_version + ": " + mPath); in readHeader()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | WindowInsetsPresenterDrawable.java | 39 private final Path mPath; field in WindowInsetsPresenterDrawable 90 mPath = new Path(); in WindowInsetsPresenterDrawable() 146 canvas.drawPath(mPath, mTouchTrackPaint); in draw() 187 mPath.moveTo(event.getX(), event.getY()); in onTouch() 197 mPath.lineTo(event.getX(), event.getY()); in onTouch() 204 mPath.quadTo(mLastX, mLastY, event.getX(), event.getY()); in onTouch() 212 mPath.lineTo(event.getX(), event.getY()); in onTouch()
|
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/ |
D | MediaBitstreamsTest.java | 103 private String mPath = ""; field in MediaBitstreamsTest 120 final String mPath, mCodecName, mStatus; field in MediaBitstreamsTest.ConformanceEntry 122 mPath = path; in ConformanceEntry() 128 return String.format("%s,%s,%s", mPath, mCodecName, mStatus); in toString() 220 mPath = path; in MediaBitstreamsTest() 479 File bitstreamFile = new File(mHostBitstreamsPath, mPath); in testBitstreamsConformance() 486 if (!mResults.containsKey(mPath)) { in testBitstreamsConformance() 491 addConformanceEntry(curMethod, mPath, MediaBitstreams.K_UNAVAILABLE, e.toString()); in testBitstreamsConformance() 496 if (!mResults.containsKey(mPath)) { in testBitstreamsConformance() 497 Assert.fail("no results captured for " + mPath); in testBitstreamsConformance() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckAnalyzer.java | 65 private final String mPath; field in RVCVXCheckAnalyzer 77 mPath = path; in RVCVXCheckAnalyzer() 189 final boolean use_solved = new File(mPath, "vision_rpy.log").exists() && !FORCE_CV_ANALYSIS; in processDataSet() 192 nframe = nvlog = loadAttitudeRecs(new File(mPath, "vision_rpy.log"), vrecs); in processDataSet() 193 nslog = loadAttitudeRecs(new File(mPath, "sensor_rpy.log"),srecs); in processDataSet() 252 dumpAttitudeRecs(new File(mPath, "vision_rpy.log"), vrecs); in processDataSet() 253 dumpAttitudeRecs(new File(mPath, "sensor_rpy.log"), srecs); in processDataSet() 255 dumpAttitudeRecs(new File(mPath, "sensor_rpy_resampled.log"), srecs2); in processDataSet() 256 dumpAttitudeError(new File(mPath, "attitude_error.log"), vrecs, srecs2); in processDataSet() 278 report.writeToFile(new File(mPath, "report.json")); in processDataSet() [all …]
|