/frameworks/base/graphics/java/android/graphics/ |
D | Outline.java | 66 public Path mPath; field in Outline 94 if (mPath != null) { in setEmpty() 96 mPath.rewind(); in setEmpty() 159 if (mPath == null) { in set() 160 mPath = new Path(); in set() 162 mPath.set(src.mPath); in set() 197 mPath.rewind(); in setRoundRect() 254 if (mPath == null) { in setOval() 255 mPath = new Path(); in setOval() 257 mPath.rewind(); in setOval() [all …]
|
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/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/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() 95 mPath.append(iterator, false /*connect*/); in setPathIterator() 196 Area area = new Area(pathDelegate.mPath); in nIsRect() 347 pathDelegate.mPath.append(new Ellipse2D.Float( in nAddOval() 359 pathDelegate.mPath.append(new Ellipse2D.Float( in nAddCircle() 372 pathDelegate.mPath.append(new Arc2D.Float( in nAddArc() 386 pathDelegate.mPath.append(new RoundRectangle2D.Float( in nAddRoundRect() [all …]
|
/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 | 40 private Path mPath; // this is what we actually draw field in RoundRectShape 76 mPath = new Path(); in RoundRectShape() 81 canvas.drawPath(mPath, paint); in draw() 94 outline.setConvexPath(mPath); in getOutline() 110 mPath.reset(); in onResize() 113 mPath.addRoundRect(r, mOuterRadii, Path.Direction.CW); in onResize() 115 mPath.addRect(r, Path.Direction.CW); in onResize() 122 mPath.addRoundRect(mInnerRect, mInnerRadii, Path.Direction.CCW); in onResize() 124 mPath.addRect(mInnerRect, Path.Direction.CCW); in onResize() 137 shape.mPath = new Path(mPath); in clone()
|
D | PathShape.java | 35 private Path mPath; field in PathShape 52 mPath = path; in PathShape() 61 canvas.drawPath(mPath, paint); in draw() 74 shape.mPath = new Path(mPath); in clone()
|
/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/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/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/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() 389 pw.printPair("mPath", mPath); in dump() 424 parcel.writeString(mPath.toString()); in writeToParcel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | SlashDrawable.java | 42 private final Path mPath = new Path(); field in SlashDrawable 154 mPath.reset(); in draw() 156 mPath.addRoundRect(mSlashRect, radiusX, radiusY, Direction.CW); in draw() 159 mPath.transform(m); in draw() 160 canvas.drawPath(mPath, mPaint); in draw() 164 mPath.transform(m); in draw() 168 mPath.transform(m); in draw() 169 mPath.addRoundRect(mSlashRect, 1.0f * width, 1.0f * height, Direction.CW); in draw() 171 mPath.transform(m); in draw() 172 canvas.clipOutPath(mPath); in draw()
|
/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/data-binding/compiler/src/main/java/android/databinding/tool/solver/ |
D | ExecutionBranch.java | 33 private final ExecutionPath mPath; field in ExecutionBranch 39 mPath = path; in ExecutionBranch() 53 return mPath; in getPath()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpStorage.java | 32 private final String mPath; field in MtpStorage 40 mPath = volume.getPath(); in MtpStorage() 62 return mPath; in getPath()
|
/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()
|