HomeSort by relevance Sort by last modified time
    Searched refs:mPath (Results 1 - 25 of 58) sorted by null

1 2 3

  /cts/tools/host/src/com/android/cts/
InvalidApkPathException.java 24 private String mPath;
29 mPath = path;
35 return "Invalid APK path: " + mPath;
  /frameworks/base/graphics/java/android/graphics/drawable/shapes/
PathShape.java 30 private Path mPath;
49 mPath = path;
58 canvas.drawPath(mPath, paint);
71 shape.mPath = new Path(mPath);
RoundRectShape.java 37 private Path mPath; // this is what we actually draw
75 mPath = new Path();
80 canvas.drawPath(mPath, paint);
88 mPath.reset();
91 mPath.addRoundRect(r, mOuterRadii, Path.Direction.CW);
93 mPath.addRect(r, Path.Direction.CW);
100 mPath.addRoundRect(mInnerRect, mInnerRadii,
103 mPath.addRect(mInnerRect, Path.Direction.CCW);
116 shape.mPath = new Path(mPath);
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PathFillTypes.java 40 private Path mPath;
47 mPath = new Path();
48 mPath.addCircle(40, 40, 45, Path.Direction.CCW);
49 mPath.addCircle(80, 80, 45, Path.Direction.CCW);
58 mPath.setFillType(ft);
59 canvas.drawPath(mPath, paint);
Compass.java 82 private Path mPath = new Path();
90 mPath.moveTo(0, -50);
91 mPath.lineTo(-20, 60);
92 mPath.lineTo(0, 50);
93 mPath.lineTo(20, 60);
94 mPath.close();
115 canvas.drawPath(mPath, mPaint);
Clipping.java 35 private Path mPath;
47 mPath = new Path();
82 mPath.reset();
83 canvas.clipPath(mPath); // makes the clip empty
84 mPath.addCircle(50, 50, 50, Path.Direction.CCW);
85 canvas.clipPath(mPath, Region.Op.REPLACE);
PathEffects.java 36 private Path mPath;
64 mPath = makeFollowPath();
77 mPath.computeBounds(bounds, false);
87 canvas.drawPath(mPath, mPaint);
95 mPath = makeFollowPath();
FingerPaint.java 66 private Path mPath;
74 mPath = new Path();
89 canvas.drawPath(mPath, mPaint);
96 mPath.reset();
97 mPath.moveTo(x, y);
105 mPath.quadTo(mX, mY, (x + mX)/2, (y + mY)/2);
111 mPath.lineTo(mX, mY);
113 mCanvas.drawPath(mPath, mPaint);
115 mPath.reset();
TextAlign.java 41 private Path mPath;
82 mPath = new Path();
83 makePath(mPath);
143 canvas.drawPath(mPath, mPathPaint);
145 canvas.drawTextOnPath(TEXTONPATH, mPath, 0, 0, p);
148 canvas.drawPath(mPath, mPathPaint);
150 canvas.drawTextOnPath(TEXTONPATH, mPath, 0, 0, p);
153 canvas.drawPath(mPath, mPathPaint);
155 canvas.drawTextOnPath(TEXTONPATH, mPath, 0, 0, p);
SensorTest.java 163 private Path mPath = new Path();
171 mPath.moveTo(0, -50);
172 mPath.lineTo(-20, 60);
173 mPath.lineTo(0, 50);
174 mPath.lineTo(20, 60);
175 mPath.close();
197 canvas.drawPath(mPath, mPaint);
  /cts/tests/tests/graphics/src/android/graphics/cts/
PathMeasureTest.java 33 private Path mPath;
38 mPath = new Path();
85 mPathMeasure.setPath(mPath, true);
86 mPath.addRect(1f, 2f, 3f, 4f, Path.Direction.CW);
87 mPathMeasure.setPath(mPath, true);
100 mPath.addRect(1, 2, 3, 4, Path.Direction.CW);
101 mPathMeasure.setPath(mPath, true);
112 mPath.addRect(1, 2, 3, 4, Path.Direction.CW);
113 mPathMeasure.setPath(mPath, true);
146 mPathMeasure.setPath(mPath, true)
    [all...]
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/
ExtraPackage.java 46 private final String mPath;
62 mPath = XmlParserUtils.getXmlString(packageNode, SdkRepository.NODE_PATH);
96 mPath = path != null ? path : getProperty(props, PROP_PATH, path);
110 props.setProperty(PROP_PATH, mPath);
129 if (SdkConstants.FD_ADDONS.equals(mPath) ||
130 SdkConstants.FD_PLATFORMS.equals(mPath) ||
131 SdkConstants.FD_TOOLS.equals(mPath) ||
132 SdkConstants.FD_DOCS.equals(mPath)) {
135 return mPath != null && mPath.indexOf('/') == -1 && mPath.indexOf('\\') == -1;
    [all...]
  /frameworks/base/core/java/android/gesture/
GestureLibraries.java 52 private final File mPath;
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);
GestureOverlayView.java 88 private final Path mPath = new Path();
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.rewind()
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/
ClasspathEntryMock.java 29 private IPath mPath;
32 mPath = path;
41 return mPath;
  /frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
FileList.java 42 if (mPath.length() > mBaseLength) {
43 File f = new File(mPath);
47 mPath = f.getPath();
58 mPath = path;
84 File f = new File(mPath);
93 StringBuilder sb = new StringBuilder(mPath);
135 mPath = path;
177 String title = mPath; //.substring(mBaseLength-11); // show the word LayoutTests
184 mPath = "/sdcard/android/layout_tests";
185 mBaseLength = mPath.length()
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Path_Delegate.java 59 private GeneralPath mPath = new GeneralPath();
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.append(new Ellipse2D.Float
    [all...]
  /system/core/include/sysutils/
NetlinkEvent.h 23 char *mPath;
  /frameworks/base/core/java/android/net/
WebAddress.java 47 public String mPath;
75 mPath = "/";
101 mPath = t;
103 mPath = "/" + t;
136 return mScheme + "://" + authInfo + mHost + port + mPath;
  /frameworks/base/core/java/android/webkit/
FileLoader.java 38 private String mPath; // Full path to the file to load
70 mPath = index > 0 ? URLUtil.stripAnchor(
75 mPath = index > 0 ? URLUtil.stripAnchor(
80 mPath = index > 0 ? URLUtil.stripAnchor(
101 mDataStream = mContext.getAssets().open(mPath);
104 mDataStream = mContext.getAssets().openNonAsset(mPath);
110 if (mPath == null || mPath.length() == 0) {
117 int slash = mPath.indexOf('/');
118 int dot = mPath.indexOf('.', slash)
    [all...]
Plugin.java 40 private String mPath;
55 mPath = path;
85 return mPath;
121 mPath = path;
  /system/core/libsysutils/src/
NetlinkEvent.cpp 32 mPath = NULL;
38 if (mPath)
39 free(mPath);
72 mPath = strdup(p);
  /development/samples/Obb/src/com/example/android/obbapp/
ObbMountActivity.java 44 private TextView mPath;
62 mPath = (TextView) findViewById(R.id.path);
69 mPath.setText(state.path);
84 mPath.setText(mSM.getMountedObbPath(mObbPath));
86 mPath.setText("");
133 ObbState state = new ObbState(mSM, mStatus.getText(), mPath.getText());
  /packages/apps/Mms/src/com/android/mms/ui/
UriImage.java 51 private String mPath;
68 mSrc = mPath.substring(mPath.lastIndexOf('/') + 1);
87 mPath = uri.getPath();
89 String extension = MimeTypeMap.getFileExtensionFromUrl(mPath);
93 int dotPos = mPath.lastIndexOf('.');
95 extension = mPath.substring(dotPos + 1);
133 mPath = filePath;
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaThumbRequest.java 59 String mPath;
89 mPath = path;
175 if (mPath != null) {
177 bitmap = ThumbnailUtils.createVideoThumbnail(mPath,
180 bitmap = ThumbnailUtils.createImageThumbnail(mPath,
184 Log.w(TAG, "Can't create mini thumbnail for " + mPath);

Completed in 1581 milliseconds

1 2 3