/external/parameter-framework/upstream/test/tmpfile/ |
TmpFile.hpp | 49 TmpFile(std::string content) : mPath(mktmp()) 51 std::ofstream file(mPath); 58 TmpFile(TmpFile &&right) : mPath(std::move(right.mPath)) { right.mPath.clear(); } 69 mPath = std::move(right.mPath); 70 right.mPath.clear(); 79 const std::string &getPath() const { return mPath; } 96 if (not mPath.empty()) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
TraceFileInfo.java | 20 private final String mPath; 25 mPath = path; 31 return mPath;
|
/sdk/find_java2/src/ |
JavaPath.cpp | 27 CJavaPath::CJavaPath(int version, CPath path) : mVersion(version), mPath(path) {
28 mPath.Canonicalize();
37 mPath = CPath();
42 mPath = path;
43 mPath.Canonicalize();
54 const TCHAR *longPath = mPath;
72 mPath = CPath(shortPath);
85 const CString &pl = mPath;
86 const CString &pr = rhs.mPath;
92 const CString &pl = mPath;
[all...] |
/frameworks/av/media/img_utils/src/ |
FileOutput.cpp | 24 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());
|
FileInput.cpp | 24 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());
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
RoundedLine.java | 26 private final Path mPath = new Path(); 45 mPath.rewind(); 51 return mPath; // Return an empty path 92 mPath.moveTo(p1x, p1y); 93 mPath.arcTo(mArc1, angle, a1); 95 mPath.moveTo(p2x, p2y); 96 mPath.arcTo(mArc2, angle, a2); 98 mPath.moveTo(p1ax, p1ay); 99 mPath.lineTo(p1x, p1y); 100 mPath.lineTo(p1bx, p1by) [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
PathShape.java | 35 private Path mPath; 52 mPath = path; 61 canvas.drawPath(mPath, paint); 74 shape.mPath = new Path(mPath);
|
RoundRectShape.java | 40 private Path mPath; // this is what we actually draw 76 mPath = new Path(); 81 canvas.drawPath(mPath, paint); 94 outline.setConvexPath(mPath); 110 mPath.reset(); 113 mPath.addRoundRect(r, mOuterRadii, Path.Direction.CW); 115 mPath.addRect(r, Path.Direction.CW); 122 mPath.addRoundRect(mInnerRect, mInnerRadii, Path.Direction.CCW); 124 mPath.addRect(mInnerRect, Path.Direction.CCW); 137 shape.mPath = new Path(mPath) [all...] |
/frameworks/base/tools/aapt/ |
OutputSet.h | 31 : 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;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
StateView.java | 35 private Path mPath = new Path(); 136 mPath.reset(); 164 canvas.drawPath(mPath, mPaint); 170 mPath.moveTo(w, 0); 172 mPath.lineTo(0, 0); 173 mPath.lineTo(0, h); 175 mPath.lineTo(d, 0); 176 mPath.lineTo(d, r); 177 mPath.lineTo(0, r + d); 178 mPath.lineTo(d, r + d + r) [all...] |
/system/vold/model/ |
PrivateVolume.cpp | 105 mPath = StringPrintf("/mnt/expand/%s", mFsUuid.c_str()); 106 setPath(mPath); 108 if (PrepareDir(mPath, 0700, AID_ROOT, AID_ROOT)) { 109 PLOG(ERROR) << getId() << " failed to create mount point " << mPath; 114 int res = ext4::Check(mDmDevPath, mPath); 122 if (ext4::Mount(mDmDevPath, mPath, false, false, true)) { 136 if (f2fs::Mount(mDmDevPath, mPath)) { 146 RestoreconRecursive(mPath); 149 if (PrepareDir(mPath + "/app", 0771, AID_SYSTEM, AID_SYSTEM) || 150 PrepareDir(mPath + "/user", 0711, AID_SYSTEM, AID_SYSTEM) | [all...] |
/frameworks/base/media/java/android/mtp/ |
MtpStorage.java | 31 private final String mPath; 38 mPath = volume.getInternalPath(); 59 return mPath;
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/solver/ |
ExecutionBranch.java | 33 private final ExecutionPath mPath; 39 mPath = path; 53 return mPath;
|
/frameworks/base/graphics/java/android/graphics/ |
Outline.java | 66 public Path mPath; 94 if (mPath != null) { 96 mPath.rewind(); 159 if (mPath == null) { 160 mPath = new Path(); 162 mPath.set(src.mPath); 197 mPath.rewind(); 254 if (mPath == null) { 255 mPath = new Path() [all...] |
/frameworks/base/libs/hwui/ |
RevealClip.h | 36 mPath.rewind(); 38 mPath.addCircle(x, y, radius); 55 return &mPath; 63 SkPath mPath;
|
Outline.h | 47 if ( mPath.countVerbs() > 10) { 48 mPath.reset(); 50 mPath.rewind(); 53 // update mPath to reflect new outline 55 mPath.addRoundRect(SkRect::MakeLTRB(left, top, right, bottom), radius, radius); 57 mPath.addRect(left, top, right, bottom); 67 mPath = *outline; 74 mPath.reset(); 80 mPath.reset(); 114 return &mPath; [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PathFillTypes.java | 38 private Path mPath; 45 mPath = new Path(); 46 mPath.addCircle(40, 40, 45, Path.Direction.CCW); 47 mPath.addCircle(80, 80, 45, Path.Direction.CCW); 56 mPath.setFillType(ft); 57 canvas.drawPath(mPath, paint);
|
Clipping.java | 34 private Path mPath; 46 mPath = new Path(); 81 mPath.reset(); 82 canvas.clipPath(mPath); // makes the clip empty 83 mPath.addCircle(50, 50, 50, Path.Direction.CCW); 84 canvas.clipPath(mPath);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PathOffsetActivity.java | 39 private Path mPath; 49 mPath = new Path(); 50 mPath.lineTo(100, 100); 51 mPath.lineTo(200, 300); 56 mPath.offset(1, 1); 58 canvas.drawPath(mPath, mPaint);
|
SmallCircleActivity.java | 49 private final Path mPath; 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);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathMeasureTest.java | 38 private Path mPath; 42 mPath = new Path(); 74 mPathMeasure.setPath(mPath, true); 75 mPath.addRect(1f, 2f, 3f, 4f, Path.Direction.CW); 76 mPathMeasure.setPath(mPath, true); 85 mPath.addRect(1, 2, 3, 4, Path.Direction.CW); 86 mPath.addRect(1, 2, 3, 4, Path.Direction.CW); 87 mPathMeasure.setPath(mPath, true); 95 mPath.addRect(1, 2, 3, 4, Path.Direction.CW); 96 mPathMeasure.setPath(mPath, true) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
FastScrollThumbDrawable.java | 33 private final Path mPath = new Path(); 44 if (mPath.isConvex()) { 45 outline.setConvexPath(mPath); 51 mPath.reset(); 58 mPath.addRoundRect(bounds.left, bounds.top, bounds.left + diameter, bounds.top + diameter, 67 mPath.transform(sMatrix); 72 canvas.drawPath(mPath, mPaint);
|
/frameworks/base/core/java/android/gesture/ |
GestureLibraries.java | 53 private final File mPath; 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);
|
/packages/apps/TV/src/com/android/tv/license/ |
License.java | 34 private final String mPath; 70 dest.writeString(mPath); 87 this.mPath = path; 94 mPath = in.readString(); 110 return mPath;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
ArchiveId.java | 26 public final String mPath; 34 mPath = path; 55 return mArchiveUri.toString() + DELIMITER + mAccessMode + DELIMITER + mPath;
|