/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Path_Delegate.java | 64 private Path2D mPath = new Path2D.Double(); field in Path_Delegate 79 return mPath; in getJavaShape() 84 mPath.append(shape, false /*connect*/); in setJavaShape() 88 mPath.reset(); in reset() 93 mPath.append(iterator, false /*connect*/); in setPathIterator() 127 pathDelegate.mPath.reset(); in native_reset() 194 Area area = new Area(pathDelegate.mPath); in native_isRect() 345 pathDelegate.mPath.append(new Ellipse2D.Float( in native_addOval() 357 pathDelegate.mPath.append(new Ellipse2D.Float( in native_addCircle() 370 pathDelegate.mPath.append(new Arc2D.Float( in native_addArc() [all …]
|
/frameworks/av/media/img_utils/src/ |
D | FileOutput.cpp | 24 FileOutput::FileOutput(String8 path) : mFp(NULL), mPath(path), mOpen(false) {} in FileOutput() 28 ALOGW("%s: Destructor called with %s still open.", __FUNCTION__, mPath.string()); in ~FileOutput() 35 ALOGW("%s: Open called when file %s already open.", __FUNCTION__, mPath.string()); in open() 38 mFp = ::fopen(mPath, "wb"); in open() 40 ALOGE("%s: Could not open file %s", __FUNCTION__, mPath.string()); in open() 49 ALOGE("%s: Could not write file %s, file not open.", __FUNCTION__, mPath.string()); in write() 57 ALOGE("%s: Error %d occurred while writing file %s.", __FUNCTION__, error, mPath.string()); in write() 65 ALOGW("%s: Close called when file %s already close.", __FUNCTION__, mPath.string()); in close() 71 ALOGE("%s: Failed to close file %s.", __FUNCTION__, mPath.string()); in close()
|
D | FileInput.cpp | 24 FileInput::FileInput(String8 path) : mFp(NULL), mPath(path), mOpen(false) {} in FileInput() 36 ALOGW("%s: Open called when file %s already open.", __FUNCTION__, mPath.string()); in open() 39 mFp = ::fopen(mPath, "rb"); in open() 41 ALOGE("%s: Could not open file %s", __FUNCTION__, mPath.string()); in open() 50 ALOGE("%s: Could not read file %s, file not open.", __FUNCTION__, mPath.string()); in read() 57 ALOGE("%s: Error %d occurred while reading file %s.", __FUNCTION__, error, mPath.string()); in read() 71 ALOGW("%s: Close called when file %s already close.", __FUNCTION__, mPath.string()); in close() 77 ALOGE("%s: Failed to close file %s.", __FUNCTION__, mPath.string()); in close()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PathsCacheActivity.java | 33 private Path mPath; field in PathsCacheActivity 43 mPath = makePath(); in onCreate() 96 canvas.drawPath(mPath, mMediumPaint); in onDraw() 98 mPath.reset(); in onDraw() 99 buildPath(mPath); in onDraw() 102 canvas.drawPath(mPath, mMediumPaint); in onDraw() 103 canvas.drawPath(mPath, mMediumPaint); in onDraw() 105 mPath.reset(); in onDraw() 106 buildPath(mPath); in onDraw() 109 canvas.drawPath(mPath, mMediumPaint); in onDraw() [all …]
|
D | PathsActivity.java | 46 private final Path mPath; field in PathsActivity.PathsView 85 mPath = new Path(); in PathsView() 86 mPath.moveTo(0.0f, 0.0f); in PathsView() 87 mPath.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); in PathsView() 88 mPath.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); in PathsView() 89 mPath.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f); in PathsView() 92 mPath.computeBounds(mPathBounds, true); in PathsView() 103 canvas.drawPath(mPath, mMediumPaint); in PathsView() 115 canvas.drawPath(mPath, mSmallPaint); in onDraw() 118 canvas.drawPath(mPath, mMediumPaint); in onDraw() [all …]
|
D | TextOnPathActivity.java | 30 private Path mPath; field in TextOnPathActivity 37 mPath = makePath(); in onCreate() 98 mMeasure = new PathMeasure(mPath, false); in TextOnPathView() 115 canvas.drawTextOnPath(mText + mText, mPath, 0.0f, 0.0f, mPaint); in onDraw() 116 canvas.drawPath(mPath, mPathPaint); in onDraw() 135 canvas.drawTextOnPath(mText, mPath, 0.0f, 10.0f, mPaint); in onDraw() 139 canvas.drawPath(mPath, mPathPaint); in onDraw() 143 canvas.drawTextOnPath(mText, mPath, 0.0f, 0.0f, mPaint); in onDraw() 144 canvas.drawPath(mPath, mPathPaint); in onDraw() 148 canvas.drawTextOnPath(mText, mPath, 0.0f, 0.0f, mPaint); in onDraw() [all …]
|
D | ScaledPathsActivity.java | 39 private final Path mPath; field in ScaledPathsActivity.PathsView 51 mPath = new Path(); in PathsView() 52 mPath.moveTo(0.0f, 0.0f); in PathsView() 53 mPath.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); in PathsView() 54 mPath.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); in PathsView() 55 mPath.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f); in PathsView() 57 mPath.computeBounds(mPathBounds, true); in PathsView() 87 canvas.drawPath(mPath, mPathPaint); in drawPath()
|
D | PathOffsetActivity.java | 39 private Path mPath; field in PathOffsetActivity.PathsView 49 mPath = new Path(); in PathsView() 50 mPath.lineTo(100, 100); in PathsView() 51 mPath.lineTo(200, 300); in PathsView() 56 mPath.offset(1, 1); in onDraw() 58 canvas.drawPath(mPath, mPaint); in onDraw()
|
D | ClearActivity.java | 43 private final Path mPath; field in ClearActivity.PathsView 58 mPath = new Path(); in PathsView() 59 mPath.moveTo(0.0f, 0.0f); in PathsView() 60 mPath.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); in PathsView() 61 mPath.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); in PathsView() 62 mPath.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f); in PathsView() 77 canvas.drawPath(mPath, mClearPaint); in onDraw()
|
D | SmallCircleActivity.java | 49 private final Path mPath; field in SmallCircleActivity.PathView 54 mPath = new Path(); in PathView() 55 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.275f, Path.Direction.CW); in PathView() 56 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.225f, Path.Direction.CCW); in PathView() 67 canvas.drawPath(mPath, mPaint); in onDraw()
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | RoundRectShape.java | 38 private Path mPath; // this is what we actually draw field in RoundRectShape 74 mPath = new Path(); in RoundRectShape() 79 canvas.drawPath(mPath, paint); in draw() 92 outline.setConvexPath(mPath); in getOutline() 109 mPath.reset(); in onResize() 112 mPath.addRoundRect(r, mOuterRadii, Path.Direction.CW); in onResize() 114 mPath.addRect(r, Path.Direction.CW); in onResize() 121 mPath.addRoundRect(mInnerRect, mInnerRadii, Path.Direction.CCW); in onResize() 123 mPath.addRect(mInnerRect, Path.Direction.CCW); in onResize() 136 shape.mPath = new Path(mPath); in clone()
|
D | PathShape.java | 30 private Path mPath; field in PathShape 49 mPath = path; in PathShape() 58 canvas.drawPath(mPath, paint); in draw() 71 shape.mPath = new Path(mPath); in clone()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | UsageGraph.java | 49 private final Path mPath = new Path(); field in UsageGraph 221 mPath.reset(); in drawProjection() 224 mPath.moveTo(x, y); in drawProjection() 225 mPath.lineTo(canvas.getWidth(), mProjectUp ? 0 : canvas.getHeight()); in drawProjection() 226 canvas.drawPath(mPath, mDottedPaint); in drawProjection() 230 mPath.reset(); in drawLinePath() 231 mPath.moveTo(mLocalPaths.keyAt(0), mLocalPaths.valueAt(0)); in drawLinePath() 237 mPath.moveTo(mLocalPaths.keyAt(i), mLocalPaths.valueAt(i)); in drawLinePath() 240 mPath.lineTo(x, y); in drawLinePath() 243 canvas.drawPath(mPath, mLinePaint); in drawLinePath() [all …]
|
/frameworks/base/core/java/android/gesture/ |
D | GestureLibraries.java | 53 private final File mPath; field in GestureLibraries.FileGestureLibrary 56 mPath = path; in FileGestureLibrary() 61 return !mPath.canWrite(); in isReadOnly() 67 final File file = mPath; in save() 83 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e); in save() 85 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e); in save() 93 final File file = mPath; in load() 99 Log.d(LOG_TAG, "Could not load the gesture library from " + mPath, e); in load() 101 Log.d(LOG_TAG, "Could not load the gesture library from " + mPath, e); in load()
|
/frameworks/base/libs/hwui/ |
D | Outline.h | 59 mPath.reset(); in setRoundRect() 61 mPath.addRoundRect(SkRect::MakeLTRB(left, top, right, bottom), in setRoundRect() 64 mPath.addRect(left, top, right, bottom); in setRoundRect() 74 mPath = *outline; in setConvexPath() 81 mPath.reset(); in setEmpty() 87 mPath.reset(); in setNone() 129 return &mPath; in getPath() 150 SkPath mPath; variable
|
D | RevealClip.h | 40 mPath.rewind(); in set() 42 mPath.addCircle(x, y, radius); in set() 62 return &mPath; in getPath() 70 SkPath mPath; variable
|
/frameworks/base/graphics/java/android/graphics/ |
D | Outline.java | 62 public final Path mPath = new Path(); field in Outline 91 mPath.rewind(); in setEmpty() 151 mPath.set(src.mPath); in set() 186 mPath.rewind(); in setRoundRect() 240 mPath.rewind(); in setOval() 241 mPath.addOval(left, top, right, bottom, Path.Direction.CW); in setOval() 268 mPath.set(convexPath); in setConvexPath() 280 mPath.offset(dx, dy); in offset()
|
D | PathMeasure.java | 20 private Path mPath; field in PathMeasure 32 mPath = null; in PathMeasure() 52 mPath = path; in PathMeasure() 61 mPath = path; in setPath()
|
/frameworks/base/tools/aapt/ |
D | OutputSet.h | 31 : mPath(path), mFile(file) {} in OutputEntry() 38 return mPath; in getPath() 41 bool operator<(const OutputEntry& o) const { return getPath() < o.mPath; } 42 bool operator==(const OutputEntry& o) const { return getPath() == o.mPath; } 45 android::String8 mPath;
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageVolume.java | 82 private final File mPath; field in StorageVolume 129 mPath = Preconditions.checkNotNull(path); in StorageVolume() 145 mPath = new File(in.readString()); in StorageVolume() 170 return mPath.toString(); in getPath() 175 return mPath; in getPathFile() 354 if (obj instanceof StorageVolume && mPath != null) { in equals() 356 return (mPath.equals(volume.mPath)); in equals() 363 return mPath.hashCode(); in hashCode() 390 pw.printPair("mPath", mPath); in dump() 425 parcel.writeString(mPath.toString()); in writeToParcel()
|
/frameworks/base/core/java/android/net/ |
D | WebAddress.java | 51 private String mPath; field in WebAddress 79 mPath = "/"; in WebAddress() 105 mPath = t; in WebAddress() 107 mPath = "/" + t; in WebAddress() 141 return mScheme + "://" + authInfo + mHost + port + mPath; in toString() 176 mPath = path; in setPath() 181 return mPath; in getPath()
|
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
D | DrawerArrowDrawable.java | 112 private final Path mPath = new Path(); field in DrawerArrowDrawable 363 mPath.rewind(); in draw() 369 mPath.moveTo(arrowEdge + arrowShaftCut, 0); in draw() 370 mPath.rLineTo(arrowShaftLength - arrowShaftCut * 2, 0); in draw() 373 mPath.moveTo(arrowEdge, topBottomBarOffset); in draw() 374 mPath.rLineTo(arrowWidth, arrowHeight); in draw() 377 mPath.moveTo(arrowEdge, -topBottomBarOffset); in draw() 378 mPath.rLineTo(arrowWidth, -arrowHeight); in draw() 380 mPath.close(); in draw() 397 canvas.drawPath(mPath, mPaint); in draw()
|
/frameworks/support/documents-archive/src/android/support/provider/ |
D | ParsedDocumentId.java | 29 public final String mPath; field in ParsedDocumentId 33 mPath = path; in ParsedDocumentId() 51 if (mPath == null) { in toDocumentId() 54 return mArchiveId + idDelimiter + mPath; in toDocumentId()
|
D | DocumentArchive.java | 255 final String parentPath = parsedParentId.mPath != null ? parsedParentId.mPath : "/"; in queryChildDocuments() 282 Preconditions.checkArgumentNotNull(parsedId.mPath, "Not a document within an archive."); in getDocumentType() 284 final ZipEntry entry = mEntries.get(parsedId.mPath); in getDocumentType() 304 Preconditions.checkArgumentNotNull(parsedId.mPath, in isChildDocument() 307 final ZipEntry entry = mEntries.get(parsedId.mPath); in isChildDocument() 312 if (parsedParentId.mPath == null) { in isChildDocument() 318 final ZipEntry parentEntry = mEntries.get(parsedParentId.mPath); in isChildDocument() 342 Preconditions.checkArgumentNotNull(parsedId.mPath, "Not a document within an archive."); in queryDocument() 344 final ZipEntry entry = mEntries.get(parsedId.mPath); in queryDocument() 372 Preconditions.checkArgumentNotNull(parsedId.mPath, "Not a document within an archive."); in openDocument() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | Plugin.java | 50 private String mPath; field in Plugin 66 mPath = path; in Plugin() 99 return mPath; in getPath() 139 mPath = path; in setPath()
|