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

12

/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.java37 private Path mPath; // this is what we actually draw field in class:RoundRectShape
73 mPath = new Path();
78 canvas.drawPath(mPath, paint);
86 mPath.reset();
89 mPath.addRoundRect(r, mOuterRadii, Path.Direction.CW);
91 mPath.addRect(r, Path.Direction.CW);
98 mPath.addRoundRect(mInnerRect, mInnerRadii, Path.Direction.CCW);
100 mPath.addRect(mInnerRect, Path.Direction.CCW);
113 shape.mPath = new Path(mPath);
[all...]
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DMediaPlayerDataSource.java39 private final String mPath; field in class:MediaPlayerDataSource
44 mPath = null;
50 mPath = path;
57 mediaPlayer.setDataSource(mPath);
65 VariableSpeedNative.playUri(mPath);
/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 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 DPathsCacheActivity.java33 private Path mPath; field in class:PathsCacheActivity
42 mPath = makePath();
84 canvas.drawPath(mPath, mMediumPaint);
86 mPath.reset();
87 buildPath(mPath);
90 canvas.drawPath(mPath, mMediumPaint);
91 canvas.drawPath(mPath, mMediumPaint);
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.java52 private final File mPath; field in class:GestureLibraries.FileGestureLibrary
55 mPath = path;
60 return !mPath.canWrite();
66 final File file = mPath;
82 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e);
84 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e);
92 final File file = mPath;
98 Log.d(LOG_TAG, "Could not load the gesture library from " + mPath, e);
100 Log.d(LOG_TAG, "Could not load the gesture library from " + mPath, e);
H A DGestureOverlayView.java88 private final Path mPath = new Path(); field in class:GestureOverlayView
293 mPath.rewind();
294 mPath.addPath(path, -bounds.left + (getWidth() - bounds.width()) / 2.0f,
303 return mPath;
307 path.set(mPath);
396 canvas.drawPath(mPath, mGesturePaint);
432 mPath.rewind();
441 mPath.rewind();
452 mPath.rewind();
562 mPath
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpStorage.java32 private final String mPath; field in class:MtpStorage
40 mPath = volume.getPath();
74 return mPath;
/frameworks/base/core/java/android/os/storage/
H A DStorageVolume.java37 private final File mPath; field in class:StorageVolume
57 mPath = path;
70 mPath = new File(in.readString());
93 return mPath.toString();
97 return mPath;
194 if (obj instanceof StorageVolume && mPath != null) {
196 return (mPath.equals(volume.mPath));
203 return mPath.hashCode();
210 builder.append(" mPath
[all...]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DFileList.java43 if (mPath.length() > mBaseLength) {
44 File f = new File(mPath);
48 mPath = f.getPath();
59 mPath = path;
85 File f = new File(mPath);
94 StringBuilder sb = new StringBuilder(mPath);
136 mPath = path;
178 String title = mPath; //.substring(mBaseLength-11); // show the word LayoutTests
184 mPath = Environment.getExternalStorageDirectory() + "/webkit/layout_tests";
185 mBaseLength = mPath
188 protected String mPath; field in class:FileList
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java59 private GeneralPath mPath = new GeneralPath(); field in class:Path_Delegate
71 return mPath;
75 mPath.reset();
76 mPath.append(shape, false /*connect*/);
80 mPath.reset();
84 mPath.reset();
85 mPath.append(iterator, false /*connect*/);
119 pathDelegate.mPath.reset();
182 Area area = new Area(pathDelegate.mPath);
341 pathDelegate.mPath
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPathMeasure.java20 private Path mPath; field in class:PathMeasure
32 mPath = null;
52 mPath = path;
61 mPath = path;
/frameworks/base/core/java/android/net/
H A DWebAddress.java45 private String mPath; field in class:WebAddress
73 mPath = "/";
99 mPath = t;
101 mPath = "/" + t;
135 return mScheme + "://" + authInfo + mHost + port + mPath;
163 mPath = path;
167 return mPath;
/frameworks/base/core/java/android/webkit/
H A DPlugin.java51 private String mPath; field in class:Plugin
67 mPath = path;
100 return mPath;
140 mPath = path;
/frameworks/base/services/java/com/android/server/
H A DCertBlacklister.java53 private final String mPath; field in class:CertBlacklister.BlacklistObserver
61 mPath = path;
62 mTmpDir = new File(mPath).getParentFile();
95 tmp.renameTo(new File(mPath));
/frameworks/base/core/java/android/net/http/
H A DRequest.java63 String mPath; field in class:Request
118 mPath = path;
232 HttpLog.v("Request.requestSent() " + mHost.getSchemeName() + "://" + getHostPort() + mPath);
358 mHost.getSchemeName() + "://" + getHostPort() + mPath);
399 return mPath;
401 return mHost.getSchemeName() + "://" + getHostPort() + mPath;
408 return mPath;
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java88 private String mPath; field in class:MediaRecorder
629 mPath = null;
644 mPath = path;
663 if (mPath != null) {
664 FileOutputStream fos = new FileOutputStream(mPath);
/frameworks/av/media/mtp/
H A DMtpServer.h76 MtpString mPath; member in class:android::MtpServer::ObjectEdit
83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) {
/frameworks/av/media/libstagefright/include/
H A DFragmentedMP4Extractor.h58 Vector<uint32_t> mPath; member in class:android::FragmentedMP4Extractor
/frameworks/base/tools/aapt/
H A DAaptAssets.h180 const String8& getPath() const { return mPath; }
209 String8 mPath; member in class:AaptFile
227 : mLeaf(leaf), mPath(path) { }
233 const String8& getPath() const { return mPath; }
247 String8 mPath; member in class:AaptGroup
260 : mLeaf(leaf), mPath(path) { }
265 const String8& getPath() const { return mPath; }
312 String8 mPath; member in class:AaptDir
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.h86 AString mPath; member in struct:android::SimplePlayer

Completed in 674 milliseconds

12