Searched refs:mPath (Results 1 - 25 of 64) sorted by relevance

123

/frameworks/support/documents-archive/src/android/support/provider/
H A DParsedDocumentId.java24 public final String mPath; field in class:ParsedDocumentId
28 mPath = path;
46 if (mPath == null) {
49 return mArchiveId + idDelimiter + mPath;
/frameworks/av/media/img_utils/src/
H A DFileOutput.cpp24 FileOutput::FileOutput(String8 path) : mFp(NULL), mPath(path), mOpen(false) {}
28 ALOGW("%s: Destructor called with %s still open.", __FUNCTION__, mPath.string());
35 ALOGW("%s: Open called when file %s already open.", __FUNCTION__, mPath.string());
38 mFp = ::fopen(mPath, "wb");
40 ALOGE("%s: Could not open file %s", __FUNCTION__, mPath.string());
49 ALOGE("%s: Could not write file %s, file not open.", __FUNCTION__, mPath.string());
57 ALOGE("%s: Error %d occurred while writing file %s.", __FUNCTION__, error, mPath.string());
65 ALOGW("%s: Close called when file %s already close.", __FUNCTION__, mPath.string());
71 ALOGE("%s: Failed to close file %s.", __FUNCTION__, mPath.string());
H A DFileInput.cpp24 FileInput::FileInput(String8 path) : mFp(NULL), mPath(path), mOpen(false) {}
36 ALOGW("%s: Open called when file %s already open.", __FUNCTION__, mPath.string());
39 mFp = ::fopen(mPath, "rb");
41 ALOGE("%s: Could not open file %s", __FUNCTION__, mPath.string());
50 ALOGE("%s: Could not read file %s, file not open.", __FUNCTION__, mPath.string());
57 ALOGE("%s: Error %d occurred while reading file %s.", __FUNCTION__, error, mPath.string());
71 ALOGW("%s: Close called when file %s already close.", __FUNCTION__, mPath.string());
77 ALOGE("%s: Failed to close file %s.", __FUNCTION__, mPath.string());
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DPathShape.java30 private Path mPath; field in class:PathShape
49 mPath = path;
58 canvas.drawPath(mPath, paint);
71 shape.mPath = new Path(mPath);
H A DRoundRectShape.java38 private Path mPath; // this is what we actually draw field in class:RoundRectShape
74 mPath = new Path();
79 canvas.drawPath(mPath, paint);
92 outline.setConvexPath(mPath);
109 mPath.reset();
112 mPath.addRoundRect(r, mOuterRadii, Path.Direction.CW);
114 mPath.addRect(r, Path.Direction.CW);
121 mPath.addRoundRect(mInnerRect, mInnerRadii, Path.Direction.CCW);
123 mPath.addRect(mInnerRect, Path.Direction.CCW);
136 shape.mPath
[all...]
/frameworks/base/tools/aapt/
H A DOutputSet.h31 : mPath(path), mFile(file) {}
38 return mPath;
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; member in class:OutputEntry
/frameworks/base/libs/hwui/
H A DRevealClip.h40 mPath.rewind();
42 mPath.addCircle(x, y, radius);
62 return &mPath;
70 SkPath mPath; member in class:android::uirenderer::RevealClip
H A DOutline.h58 // update mPath to reflect new outline
59 mPath.reset();
61 mPath.addRoundRect(SkRect::MakeLTRB(left, top, right, bottom),
64 mPath.addRect(left, top, right, bottom);
74 mPath = *outline;
81 mPath.reset();
87 mPath.reset();
129 return &mPath;
150 SkPath mPath; member in class:android::uirenderer::Outline::Type
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathOffsetActivity.java39 private Path mPath; field in class:PathOffsetActivity.PathsView
49 mPath = new Path();
50 mPath.lineTo(100, 100);
51 mPath.lineTo(200, 300);
56 mPath.offset(1, 1);
58 canvas.drawPath(mPath, mPaint);
H A DSmallCircleActivity.java49 private final Path mPath; field in class:SmallCircleActivity.PathView
54 mPath = new Path();
55 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.275f, Path.Direction.CW);
56 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.225f, Path.Direction.CCW);
67 canvas.drawPath(mPath, mPaint);
H A DScaledPathsActivity.java39 private final Path mPath; field in class:ScaledPathsActivity.PathsView
51 mPath = new Path();
52 mPath.moveTo(0.0f, 0.0f);
53 mPath.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f);
54 mPath.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f);
55 mPath.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f);
57 mPath.computeBounds(mPathBounds, true);
87 canvas.drawPath(mPath, mPathPaint);
H A DPathsCacheActivity.java33 private Path mPath; field in class:PathsCacheActivity
43 mPath = makePath();
96 canvas.drawPath(mPath, mMediumPaint);
98 mPath.reset();
99 buildPath(mPath);
102 canvas.drawPath(mPath, mMediumPaint);
103 canvas.drawPath(mPath, mMediumPaint);
105 mPath.reset();
106 buildPath(mPath);
109 canvas.drawPath(mPath, mMediumPain
[all...]
H A DTextOnPathActivity.java30 private Path mPath; field in class:TextOnPathActivity
37 mPath = makePath();
98 mMeasure = new PathMeasure(mPath, false);
115 canvas.drawTextOnPath(mText + mText, mPath, 0.0f, 0.0f, mPaint);
116 canvas.drawPath(mPath, mPathPaint);
135 canvas.drawTextOnPath(mText, mPath, 0.0f, 10.0f, mPaint);
139 canvas.drawPath(mPath, mPathPaint);
143 canvas.drawTextOnPath(mText, mPath, 0.0f, 0.0f, mPaint);
144 canvas.drawPath(mPath, mPathPaint);
148 canvas.drawTextOnPath(mText, mPath, 0.
[all...]
H A DClearActivity.java43 private final Path mPath; field in class:ClearActivity.PathsView
58 mPath = new Path();
59 mPath.moveTo(0.0f, 0.0f);
60 mPath.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f);
61 mPath.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f);
62 mPath.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f);
77 canvas.drawPath(mPath, mClearPaint);
H A DPathsActivity.java46 private final Path mPath; field in class:PathsActivity.PathsView
85 mPath = new Path();
86 mPath.moveTo(0.0f, 0.0f);
87 mPath.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f);
88 mPath.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f);
89 mPath.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f);
92 mPath.computeBounds(mPathBounds, true);
103 canvas.drawPath(mPath, mMediumPaint);
115 canvas.drawPath(mPath, mSmallPaint);
118 canvas.drawPath(mPath, mMediumPain
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureLibraries.java53 private final File mPath; field in class:GestureLibraries.FileGestureLibrary
56 mPath = path;
61 return !mPath.canWrite();
67 final File file = mPath;
83 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e);
85 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e);
93 final File file = mPath;
99 Log.d(LOG_TAG, "Could not load the gesture library from " + mPath, e);
101 Log.d(LOG_TAG, "Could not load the gesture library from " + mPath, e);
/frameworks/base/media/java/android/mtp/
H A DMtpStorage.java32 private final String mPath; field in class:MtpStorage
40 mPath = volume.getPath();
62 return mPath;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java64 private Path2D mPath = new Path2D.Double(); field in class:Path_Delegate
79 return mPath;
84 mPath.append(shape, false /*connect*/);
88 mPath.reset();
93 mPath.append(iterator, false /*connect*/);
127 pathDelegate.mPath.reset();
194 Area area = new Area(pathDelegate.mPath);
345 pathDelegate.mPath.append(new Ellipse2D.Float(
357 pathDelegate.mPath.append(new Ellipse2D.Float(
370 pathDelegate.mPath
[all...]
/frameworks/base/core/java/android/net/
H A DWebAddress.java51 private String mPath; field in class:WebAddress
79 mPath = "/";
105 mPath = t;
107 mPath = "/" + t;
141 return mScheme + "://" + authInfo + mHost + port + mPath;
176 mPath = path;
181 return mPath;
/frameworks/base/graphics/java/android/graphics/
H A DOutline.java62 public final Path mPath = new Path(); field in class:Outline
91 mPath.rewind();
151 mPath.set(src.mPath);
186 mPath.rewind();
240 mPath.rewind();
241 mPath.addOval(left, top, right, bottom, Path.Direction.CW);
268 mPath.set(convexPath);
280 mPath.offset(dx, dy);
H A DPathMeasure.java20 private Path mPath; field in class:PathMeasure
32 mPath = null;
52 mPath = path;
61 mPath = path;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DUsageGraph.java49 private final Path mPath = new Path(); field in class:UsageGraph
221 mPath.reset();
224 mPath.moveTo(x, y);
225 mPath.lineTo(canvas.getWidth(), mProjectUp ? 0 : canvas.getHeight());
226 canvas.drawPath(mPath, mDottedPaint);
230 mPath.reset();
231 mPath.moveTo(mLocalPaths.keyAt(0), mLocalPaths.valueAt(0));
237 mPath.moveTo(mLocalPaths.keyAt(i), mLocalPaths.valueAt(i));
240 mPath.lineTo(x, y);
243 canvas.drawPath(mPath, mLinePain
[all...]
/frameworks/base/core/java/android/webkit/
H A DPlugin.java50 private String mPath; field in class:Plugin
66 mPath = path;
99 return mPath;
139 mPath = path;
/frameworks/base/core/java/android/os/storage/
H A DStorageVolume.java82 private final File mPath; field in class:StorageVolume
129 mPath = Preconditions.checkNotNull(path);
145 mPath = new File(in.readString());
170 return mPath.toString();
175 return mPath;
354 if (obj instanceof StorageVolume && mPath != null) {
356 return (mPath.equals(volume.mPath));
363 return mPath.hashCode();
390 pw.printPair("mPath", mPat
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
H A DDrawerArrowDrawable.java108 private final Path mPath = new Path(); field in class:DrawerArrowDrawable
359 mPath.rewind();
365 mPath.moveTo(arrowEdge + arrowShaftCut, 0);
366 mPath.rLineTo(arrowShaftLength - arrowShaftCut * 2, 0);
369 mPath.moveTo(arrowEdge, topBottomBarOffset);
370 mPath.rLineTo(arrowWidth, arrowHeight);
373 mPath.moveTo(arrowEdge, -topBottomBarOffset);
374 mPath.rLineTo(arrowWidth, -arrowHeight);
376 mPath.close();
393 canvas.drawPath(mPath, mPain
[all...]

Completed in 994 milliseconds

123