/frameworks/av/media/img_utils/src/ |
H A D | 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());
|
H A D | 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());
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | PathShape.java | 35 private Path mPath; field in class:PathShape 52 mPath = path; 61 canvas.drawPath(mPath, paint); 74 shape.mPath = new Path(mPath);
|
H A D | RoundRectShape.java | 40 private Path mPath; // this is what we actually draw field in class:RoundRectShape 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 [all...] |
/frameworks/base/tools/aapt/ |
H A D | 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; member in class:OutputEntry
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpStorage.java | 31 private final String mPath; field in class:MtpStorage 38 mPath = volume.getInternalPath(); 59 return mPath;
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/solver/ |
H A D | ExecutionBranch.java | 33 private final ExecutionPath mPath; field in class:ExecutionBranch 39 mPath = path; 53 return mPath;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Outline.java | 66 public Path mPath; field in class:Outline 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 [all...] |
H A D | PathMeasure.java | 20 private Path mPath; field in class:PathMeasure 32 mPath = null; 52 mPath = path; 61 mPath = path;
|
/frameworks/base/libs/hwui/ |
H A D | RevealClip.h | 36 mPath.rewind(); 38 mPath.addCircle(x, y, radius); 55 return &mPath; 63 SkPath mPath; member in class:android::uirenderer::RevealClip
|
H A D | 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; 129 SkPath mPath; member in class:android::uirenderer::Outline::Type [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PathOffsetActivity.java | 39 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 D | SmallCircleActivity.java | 49 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 D | ScaledPathsActivity.java | 39 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 D | PathsCacheActivity.java | 33 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 D | TextOnPathActivity.java | 30 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 D | ClearActivity.java | 43 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 D | PathsActivity.java | 46 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 D | GestureLibraries.java | 53 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/layoutlib/bridge/src/android/graphics/ |
H A D | Path_Delegate.java | 64 private Path2D mPath = new Path2D.Double(); field in class:Path_Delegate 79 return mPath; 84 mPath.append(shape, false /*connect*/); 88 mPath.reset(); 95 mPath.append(iterator, false /*connect*/); 196 Area area = new Area(pathDelegate.mPath); 347 pathDelegate.mPath.append(new Ellipse2D.Float( 359 pathDelegate.mPath.append(new Ellipse2D.Float( 372 pathDelegate.mPath.append(new Arc2D.Float( 386 pathDelegate.mPath [all...] |
/frameworks/base/core/java/android/net/ |
H A D | WebAddress.java | 51 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/core/java/android/webkit/ |
H A D | Plugin.java | 50 private String mPath; field in class:Plugin 66 mPath = path; 99 return mPath; 139 mPath = path;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | MessagingImageMessage.java | 50 private final Path mPath = new Path(); field in class:MessagingImageMessage 153 mPath.reset(); 159 mPath.moveTo(left, top + roundnessY); 160 mPath.quadTo(left, top, left + roundnessX, top); 161 mPath.lineTo(right - roundnessX, top); 162 mPath.quadTo(right, top, right, top + roundnessY); 163 mPath.lineTo(right, bottom - roundnessY); 164 mPath.quadTo(right, bottom, right - roundnessX, bottom); 165 mPath.lineTo(left + roundnessX, bottom); 166 mPath [all...] |
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageVolume.java | 80 private final File mPath; field in class:StorageVolume 126 mPath = Preconditions.checkNotNull(path); 141 mPath = new File(in.readString()); 166 return mPath.toString(); 181 return mPath; 332 if (obj instanceof StorageVolume && mPath != null) { 334 return (mPath.equals(volume.mPath)); 341 return mPath.hashCode(); 366 pw.printPair("mPath", mPat [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | SlashDrawable.java | 42 private final Path mPath = new Path(); field in class:SlashDrawable 154 mPath.reset(); 156 mPath.addRoundRect(mSlashRect, radiusX, radiusY, Direction.CW); 159 mPath.transform(m); 160 canvas.drawPath(mPath, mPaint); 164 mPath.transform(m); 168 mPath.transform(m); 169 mPath.addRoundRect(mSlashRect, 1.0f * width, 1.0f * height, Direction.CW); 171 mPath.transform(m); 172 canvas.clipOutPath(mPath); [all...] |