/frameworks/compile/mclinker/lib/Support/ |
D | Path.cpp | 34 const Path::StringType separator_str("/"); 41 const Path::StringType separator_str("/"); 49 Path::Path() : m_PathName() { in Path() function in mcld::sys::fs::Path 52 Path::Path(const Path::ValueType* s) : m_PathName(s) { in Path() function in mcld::sys::fs::Path 55 Path::Path(const Path::StringType& s) : m_PathName(s) { in Path() function in mcld::sys::fs::Path 58 Path::Path(const Path& pCopy) : m_PathName(pCopy.m_PathName) { in Path() function in mcld::sys::fs::Path 61 Path::~Path() { in ~Path() 64 bool Path::isFromRoot() const { in isFromRoot() 70 bool Path::isFromPWD() const { in isFromPWD() 76 Path& Path::assign(const Path::StringType& s) { in assign() [all …]
|
D | RealPath.cpp | 18 RealPath::RealPath() : Path() { in RealPath() 21 RealPath::RealPath(const RealPath::ValueType* s) : Path(s) { in RealPath() 25 RealPath::RealPath(const RealPath::StringType& s) : Path(s) { in RealPath() 29 RealPath::RealPath(const Path& pPath) : Path(pPath) { in RealPath() 36 RealPath& RealPath::assign(const Path& pPath) { in assign() 37 Path::m_PathName.assign(pPath.native()); in assign() 45 Path path_name; in initialize()
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | Path.h | 44 class Path { 50 Path(); 51 explicit Path(const ValueType* s); 52 explicit Path(const StringType& s); 53 Path(const Path& pCopy); 54 virtual ~Path(); 58 Path& assign(InputIterator begin, InputIterator end); 59 Path& assign(const StringType& s); 60 Path& assign(const ValueType* s, unsigned int length); 64 Path& append(InputIterator begin, InputIterator end); [all …]
|
D | FileSystem.h | 69 class Path; variable 73 bool exists(const Path& pPath); 74 bool is_directory(const Path& pPath); 78 extern Path::StringType static_library_extension; 79 extern Path::StringType shared_library_extension; 80 extern Path::StringType executable_extension; 81 extern Path::StringType relocatable_extension; 82 extern Path::StringType assembly_extension; 83 extern Path::StringType bitcode_extension; 85 size_t canonicalize(Path::StringType& pPathName); [all …]
|
D | RealPath.h | 23 class RealPath : public Path { 25 typedef Path::ValueType ValueType; 26 typedef Path::StringType StringType; 32 explicit RealPath(const Path& pPath); 36 RealPath& assign(const Path& pPath);
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | PathPerfTest.java | 19 import android.graphics.Path; 37 Path path = new Path(); in testReset() 46 Path path = new Path(); in testAddReset() 48 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testAddReset() 56 Path path = new Path(); in testRewind() 65 Path path = new Path(); in testAddRewind() 67 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testAddRewind() 75 Path path = new Path(); in testIsEmpty() 76 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testIsEmpty() 85 Path path = new Path(); in testIsConvex() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | PathTest.cpp | 21 m_pTestee = new Path(); in PathTest() 47 m_pTestee = new Path(root); in TEST_F() 57 m_pTestee = new Path(root); in TEST_F() 67 m_pTestee = new Path(root); in TEST_F() 78 m_pTestee = new Path(root); in TEST_F() 87 Path* p2 = new Path("ccc///////"); in TEST_F() 92 m_pTestee = new Path(root); in TEST_F() 99 Path* p2 = new Path("aaa//"); in TEST_F() 105 m_pTestee = new Path(root); in TEST_F() 117 m_pTestee = new Path("aa/"); in TEST_F() [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PathOpsActivity.java | 24 import android.graphics.Path; 40 private Path[] mPaths; 57 Path.Op[] ops = Path.Op.values(); in onSizeChanged() 58 mPaths = new Path[ops.length]; in onSizeChanged() 62 Path p1 = new Path(); in onSizeChanged() 63 p1.addRect(0.0f, 0.0f, mSize, mSize, Path.Direction.CW); in onSizeChanged() 65 Path p2 = new Path(); in onSizeChanged() 66 p2.addCircle(mSize, mSize, mSize / 2.0f, Path.Direction.CW); in onSizeChanged() 69 mPaths[i] = new Path(); in onSizeChanged() 81 for (Path path : mPaths) { in onDraw()
|
D | PathsCacheActivity.java | 23 import android.graphics.Path; 33 private Path mPath; 37 private final ArrayList<Path> mPathList = new ArrayList<Path>(); 49 private static Path makePath() { in makePath() 50 Path path = new Path(); in makePath() 55 private static void buildPath(Path path) { in buildPath() 62 private static Path makeLargePath() { in makeLargePath() 63 Path path = new Path(); in makeLargePath() 68 private static void buildLargePath(Path path) { in buildLargePath() 115 Path path = makePath(); in onDraw()
|
D | TextOnPathActivity.java | 23 import android.graphics.Path; 30 private Path mPath; 31 private Path mStraightPath; 44 private static Path makePath() { in makePath() 45 Path path = new Path(); in makePath() 50 private static void buildPath(Path path) { in buildPath() 57 private static Path makeStraightPath() { in makeStraightPath() 58 Path path = new Path(); in makeStraightPath() 63 private static void buildStraightPath(Path path) { in buildStraightPath()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | PathOffsetTest.java | 22 import android.graphics.Path.Direction; 44 Path actualPath = new Path(); in testPathOffset() 50 Path expectedPath = new Path(); in testPathOffset() 60 Path initialPath = new Path(); in testPathOffsetWithDestination() 62 Path actualPath = new Path(); in testPathOffsetWithDestination() 68 Path expectedPath = new Path(); in testPathOffsetWithDestination() 75 private static void assertPaths(Path actual, Path expected) { in assertPaths() 81 private static Bitmap drawAndGetBitmap(Path path) { in drawAndGetBitmap()
|
D | PathTest.java | 27 Path path = new Path(); in testResetPreservesFillType() 29 final Path.FillType defaultFillType = path.getFillType(); in testResetPreservesFillType() 30 final Path.FillType fillType = Path.FillType.INVERSE_EVEN_ODD; in testResetPreservesFillType()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutBidiCursorPathTest.java | 22 import android.graphics.Path; 62 final Path actualPath = new Path(); in testGetCursorPathSegments() 71 final Path expectedPath = new Path(); in testGetCursorPathSegments() 89 final Path actualPath = new Path(); in testGetCursorPath_whenShiftIsPressed() 102 final Path expectedPath = new Path(); in testGetCursorPath_whenShiftIsPressed() 129 final Path actualPath = new Path(); in testGetCursorPath_whenAltIsPressed() 141 final Path expectedPath = new Path(); in testGetCursorPath_whenAltIsPressed() 159 private void setupLayoutAndGetCursorPath(Path path) { in setupLayoutAndGetCursorPath()
|
/frameworks/base/core/java/android/transition/ |
D | PatternPathMotion.java | 21 import android.graphics.Path; 41 private Path mOriginalPatternPath; 43 private final Path mPatternPath = new Path(); 62 Path pattern = PathParser.createPathFromPathData(pathData); in PatternPathMotion() 78 public PatternPathMotion(Path patternPath) { in PatternPathMotion() 90 public Path getPatternPath() { in getPatternPath() 102 public void setPatternPath(Path patternPath) { in setPatternPath() 130 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() 139 Path path = new Path(); in getPath()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | DocumentsProviderTest.java | 22 import android.provider.DocumentsContract.Path; 56 final Path expected = new Path(ROOT_ID, Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID)); in testFindDocumentPath_docUri() 63 final Path actual = DocumentsContract.findDocumentPath( in testFindDocumentPath_docUri() 72 final Path expected = new Path(null, Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID)); in testFindDocumentPath_treeUri() 77 final Path actual = DocumentsContract.findDocumentPath(mResolver, docUri); in testFindDocumentPath_treeUri() 84 mProvider.nextPath = new Path(null, Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID)); in testFindDocumentPath_treeUri_throwsOnNonChildDocument() 97 mProvider.nextPath = new Path(ROOT_ID, Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID)); in testFindDocumentPath_treeUri_erasesNonNullRootId() 101 Path path = DocumentsContract.findDocumentPath(mResolver, docUri); in testFindDocumentPath_treeUri_erasesNonNullRootId() 109 mProvider.nextPath = new Path( in testFindDocumentPath_treeUri_erasesDocsOutsideTree() 114 Path path = DocumentsContract.findDocumentPath(mResolver, docUri); in testFindDocumentPath_treeUri_erasesDocsOutsideTree()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | ArtStatsLogUtilsTest.java | 38 import java.nio.file.Path; 67 private static Path TEST_DIR; 68 private static Path DEX; 69 private static Path NON_DEX; 95 Path dexMetadataPath = null; in testProfileAndVdexDexMetadata() 96 Path apk = null; in testProfileAndVdexDexMetadata() 127 Path dexMetadataPath = null; in testProfileOnlyDexMetadata() 128 Path apk = null; in testProfileOnlyDexMetadata() 159 Path dexMetadataPath = null; in testVdexOnlyDexMetadata() 160 Path apk = null; in testVdexOnlyDexMetadata() [all …]
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | SearchDirs.h | 44 explicit SearchDirs(const sys::fs::Path& pSysRoot); 49 sys::fs::Path* find(const std::string& pNamespec, 52 const sys::fs::Path* find(const std::string& pNamespec, 55 void setSysRoot(const sys::fs::Path& pSysRoot) { m_SysRoot = pSysRoot; } in setSysRoot() 56 const sys::fs::Path& sysroot() const { return m_SysRoot; } in sysroot() 69 bool insert(const sys::fs::Path& pDirectory); 73 sys::fs::Path m_SysRoot;
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuThreadReader.java | 31 import java.nio.file.Path; 89 private static final Path DEFAULT_PROC_PATH = Paths.get("/proc"); 92 private static final Path DEFAULT_INITIAL_TIME_IN_STATE_PATH = 105 private final Path mProcPath; 132 Path procPath, in KernelCpuThreadReader() 133 Path initialTimeInStatePath, in KernelCpuThreadReader() 182 try (DirectoryStream<Path> processPaths = in getProcessCpuUsage() 184 for (Path processPath : processPaths) { in getProcessCpuUsage() 261 private ProcessCpuUsage getProcessCpuUsage(Path processPath, int processId, int uid) { in getProcessCpuUsage() 273 final Path allThreadsPath = processPath.resolve("task"); in getProcessCpuUsage() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | TriangleShape.java | 20 import android.graphics.Path; 30 private Path mTriangularPath; 32 public TriangleShape(Path path, float stdWidth, float stdHeight) { in TriangleShape() 38 Path triangularPath = new Path(); in create() 56 Path triangularPath = new Path(); in createHorizontal()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | TriangleShape.java | 20 import android.graphics.Path; 32 private Path mTriangularPath; 34 public TriangleShape(Path path, float stdWidth, float stdHeight) { in TriangleShape() 40 Path triangularPath = new Path(); in create() 58 Path triangularPath = new Path(); in createHorizontal()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | SysUiOverlay.java | 23 import android.graphics.Path; 29 private final Path mCornerPath; 30 private final Path mNotchPath; 36 private static Path createCornerPath(float width, float height, float r) { in createCornerPath() 37 Path corner = new Path(); in createCornerPath() 46 private static Path createNotchPath(float topWidth, float bottomWidth, float height, float r) { in createNotchPath() 47 Path corner = new Path(); in createNotchPath()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | ProcTimeInStateReaderTest.java | 38 import java.nio.file.Path; 59 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testSimple() 75 final Path initialTimeInStateFile = mProcDirectory.toPath().resolve( in testHeaderFormat() 92 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testDifferentFile() 96 Path timeInStateFile = mProcDirectory.toPath().resolve("time-in-state"); in testDifferentFile() 106 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testWrongLength() 110 Path timeInStateFile = mProcDirectory.toPath().resolve("time-in-state"); in testWrongLength() 117 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testEmptyInitialFails()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | CornerPathRenderer.java | 19 import android.graphics.Path; 49 public Path getInsetPath(Corner corner, float insetAmountPx) { in getInsetPath() 58 public abstract Path getCornerPath(Corner corner); in getCornerPath() 60 private Path approximateInnerPath(Path input, float delta) { in approximateInnerPath() 65 private ArrayList<PointF> getApproximatePoints(Path path) { in getApproximatePoints() 90 private Path toPath(List<PointF> points) { in toPath() 91 Path path = new Path(); in toPath()
|
D | PathSpecCornerPathRenderer.java | 21 import android.graphics.Path; 40 private final Path mPath = new Path(); 41 private final Path mRoundedPath; 52 Path path = PathParser.createPathFromPathData(pathData); in PathSpecCornerPathRenderer() 55 mRoundedPath = new Path(); in PathSpecCornerPathRenderer() 79 public Path getCornerPath(Corner corner) { in getCornerPath()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | MagnifierView.java | 27 import android.graphics.Path; 51 private Path mOuterCircle; 52 private Path mInnerCircle; 54 private Path mCheckerboard; 114 mOuterCircle = new Path(); in onLayout() 115 mOuterCircle.addCircle(radius, radius, radius, Path.Direction.CW); in onLayout() 116 mInnerCircle = new Path(); in onLayout() 117 mInnerCircle.addCircle(radius, radius, radius - mBorderPx, Path.Direction.CW); in onLayout() 200 private Path generateCheckerboard() { 201 Path path = new Path(); [all …]
|