Home
last modified time | relevance | path

Searched refs:mPath (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java59 private GeneralPath mPath = new GeneralPath(); field in Path_Delegate
71 return mPath; in getJavaShape()
75 mPath.reset(); in setJavaShape()
76 mPath.append(shape, false /*connect*/); in setJavaShape()
80 mPath.reset(); in reset()
84 mPath.reset(); in setPathIterator()
85 mPath.append(iterator, false /*connect*/); in setPathIterator()
119 pathDelegate.mPath.reset(); in native_reset()
182 Area area = new Area(pathDelegate.mPath); in native_isRect()
341 pathDelegate.mPath.append(new Ellipse2D.Float( in native_addOval()
[all …]
/frameworks/base/core/java/android/webkit/
DFileLoader.java38 private String mPath; // Full path to the file to load field in FileLoader
70 mPath = index > 0 ? URLUtil.stripAnchor( in FileLoader()
75 mPath = index > 0 ? URLUtil.stripAnchor( in FileLoader()
80 mPath = index > 0 ? URLUtil.stripAnchor( in FileLoader()
101 mDataStream = mContext.getAssets().open(mPath); in setupStreamAndSendStatus()
104 mDataStream = mContext.getAssets().openNonAsset(mPath); in setupStreamAndSendStatus()
110 if (mPath == null || mPath.length() == 0) { in setupStreamAndSendStatus()
117 int slash = mPath.indexOf('/'); in setupStreamAndSendStatus()
118 int dot = mPath.indexOf('.', slash); in setupStreamAndSendStatus()
120 Log.e(LOGTAG, "Incorrect res path: " + mPath); in setupStreamAndSendStatus()
[all …]
DPlugin.java51 private String mPath; field in Plugin
67 mPath = path; in Plugin()
100 return mPath; in getPath()
140 mPath = path; in setPath()
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DRoundRectShape.java37 private Path mPath; // this is what we actually draw field in RoundRectShape
73 mPath = new Path(); in RoundRectShape()
78 canvas.drawPath(mPath, paint); in draw()
86 mPath.reset(); in onResize()
89 mPath.addRoundRect(r, mOuterRadii, Path.Direction.CW); in onResize()
91 mPath.addRect(r, Path.Direction.CW); in onResize()
98 mPath.addRoundRect(mInnerRect, mInnerRadii, Path.Direction.CCW); in onResize()
100 mPath.addRect(mInnerRect, Path.Direction.CCW); in onResize()
113 shape.mPath = new Path(mPath); in clone()
DPathShape.java30 private Path mPath; field in PathShape
49 mPath = path; in PathShape()
58 canvas.drawPath(mPath, paint); in draw()
71 shape.mPath = new Path(mPath); in clone()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DPathsActivity.java46 private final Path mPath; field in PathsActivity.PathsView
85 mPath = new Path(); in PathsView()
86 mPath.moveTo(0.0f, 0.0f); in PathsView()
87 mPath.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); in PathsView()
88 mPath.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); in PathsView()
89 mPath.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f); in PathsView()
92 mPath.computeBounds(mPathBounds, true); in PathsView()
103 canvas.drawPath(mPath, mMediumPaint); in PathsView()
115 canvas.drawPath(mPath, mSmallPaint); in onDraw()
118 canvas.drawPath(mPath, mMediumPaint); in onDraw()
[all …]
DClearActivity.java43 private final Path mPath; field in ClearActivity.PathsView
58 mPath = new Path(); in PathsView()
59 mPath.moveTo(0.0f, 0.0f); in PathsView()
60 mPath.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); in PathsView()
61 mPath.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); in PathsView()
62 mPath.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f); in PathsView()
77 canvas.drawPath(mPath, mClearPaint); in onDraw()
DSmallCircleActivity.java49 private final Path mPath; field in SmallCircleActivity.PathView
54 mPath = new Path(); in PathView()
55 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.275f, Path.Direction.CW); in PathView()
56 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.225f, Path.Direction.CCW); in PathView()
67 canvas.drawPath(mPath, mPaint); in onDraw()
/frameworks/base/core/java/android/os/storage/
DStorageVolume.java30 private final String mPath; field in StorageVolume
47 mPath = path; in StorageVolume()
60 mPath = path; in StorageVolume()
76 return mPath; in getPath()
161 if (obj instanceof StorageVolume && mPath != null) { in equals()
163 return (mPath.equals(volume.mPath)); in equals()
170 return mPath.hashCode(); in hashCode()
177 + ", mMtpReserveSpace=" + mMtpReserveSpace + ", mPath=" + mPath + ", mRemovable=" in toString()
207 parcel.writeString(mPath); in writeToParcel()
/frameworks/base/core/java/android/gesture/
DGestureLibraries.java52 private final File mPath; field in GestureLibraries.FileGestureLibrary
55 mPath = path; in FileGestureLibrary()
60 return !mPath.canWrite(); in isReadOnly()
66 final File file = mPath; in save()
82 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e); in save()
84 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e); in save()
92 final File file = mPath; in load()
98 Log.d(LOG_TAG, "Could not load the gesture library from " + mPath, e); in load()
100 Log.d(LOG_TAG, "Could not load the gesture library from " + mPath, e); in load()
DGestureOverlayView.java88 private final Path mPath = new Path(); field in GestureOverlayView
293 mPath.rewind(); in setGesture()
294 mPath.addPath(path, -bounds.left + (getWidth() - bounds.width()) / 2.0f, in setGesture()
303 return mPath; in getGesturePath()
307 path.set(mPath); in getGesturePath()
396 canvas.drawPath(mPath, mGesturePaint); in draw()
432 mPath.rewind(); in clear()
441 mPath.rewind(); in clear()
452 mPath.rewind(); in cancelClearAnimation()
562 mPath.rewind(); in touchDown()
[all …]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DFileList.java43 if (mPath.length() > mBaseLength) { in onKeyDown()
44 File f = new File(mPath); in onKeyDown()
48 mPath = f.getPath(); in onKeyDown()
59 mPath = path; in onKeyDown()
85 File f = new File(mPath); in getData()
94 StringBuilder sb = new StringBuilder(mPath); in getData()
136 mPath = path; in onListItemClick()
178 String title = mPath; //.substring(mBaseLength-11); // show the word LayoutTests in updateList()
184 mPath = Environment.getExternalStorageDirectory() + "/webkit/layout_tests"; in setupPath()
185 mBaseLength = mPath.length(); in setupPath()
[all …]
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
DMediaPlayerDataSource.java39 private final String mPath; field in MediaPlayerDataSource
44 mPath = null; in MediaPlayerDataSource()
50 mPath = path; in MediaPlayerDataSource()
57 mediaPlayer.setDataSource(mPath); in setAsSourceFor()
65 VariableSpeedNative.playUri(mPath); in playNative()
/frameworks/base/core/java/android/net/
DWebAddress.java45 private String mPath; field in WebAddress
73 mPath = "/"; in WebAddress()
99 mPath = t; in WebAddress()
101 mPath = "/" + t; in WebAddress()
135 return mScheme + "://" + authInfo + mHost + port + mPath; in toString()
163 mPath = path; in setPath()
167 return mPath; in getPath()
/frameworks/base/media/java/android/mtp/
DMtpStorage.java31 private final String mPath; field in MtpStorage
39 mPath = volume.getPath(); in MtpStorage()
73 return mPath; in getPath()
/frameworks/base/core/java/android/net/http/
DRequest.java63 String mPath; field in Request
118 mPath = path; in Request()
232 … HttpLog.v("Request.requestSent() " + mHost.getSchemeName() + "://" + getHostPort() + mPath); in sendRequest()
358 mHost.getSchemeName() + "://" + getHostPort() + mPath); in readResponse()
399 return mPath; in getUri()
401 return mHost.getSchemeName() + "://" + getHostPort() + mPath; in getUri()
408 return mPath; in toString()
/frameworks/base/media/java/android/media/
DMediaRecorder.java88 private String mPath; field in MediaRecorder
594 mPath = null; in setOutputFile()
609 mPath = path; in setOutputFile()
628 if (mPath != null) { in prepare()
629 FileOutputStream fos = new FileOutputStream(mPath); in prepare()
DMediaScanner.java359 String mPath; field in MediaScanner.FileCacheEntry
367 mPath = path; in FileCacheEntry()
376 return mPath + " mRowId: " + mRowId; in toString()
466 private String mPath; field in MediaScanner.MyMediaScannerClient
545 mPath = path; in beginFile()
741 map.put(MediaStore.MediaColumns.DATA, mPath);
833 exif = new ExifInterface(entry.mPath);
904 format = MediaFile.getFormatCode(entry.mPath, mMimeType);
934 doesPathHaveFilename(entry.mPath, mDefaultNotificationFilename)) {
940 doesPathHaveFilename(entry.mPath, mDefaultRingtoneFilename)) {
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java264 private final String mPath; field in SQLiteDatabase
391 EventLog.writeEvent(EVENT_DB_CORRUPT, mPath); in onCorruption()
523 String msg = "lock held on " + mPath + " for " + lockedTime + "ms. Thread time was " in checkLockHoldTime()
1095 Log.i(TAG, "closing db: " + mPath + " (connection # " + mConnectionNum);
1940 mPath + "' ", mStackTrace); in finalize()
1969 mPath = path; in SQLiteDatabase()
2014 return mPath; in getPath()
2081 if (mPath == null) { in getPathForLogs()
2084 if (mPath.indexOf('@') == -1) { in getPathForLogs()
2085 mPathForLogs = mPath; in getPathForLogs()
[all …]
/frameworks/base/tools/aapt/
DAaptAssets.h184 const String8& getPath() const { return mPath; } in getPath()
213 String8 mPath; variable
231 : mLeaf(leaf), mPath(path) { } in AaptGroup()
237 const String8& getPath() const { return mPath; } in getPath()
251 String8 mPath; variable
264 : mLeaf(leaf), mPath(path) { } in AaptDir()
269 const String8& getPath() const { return mPath; } in getPath()
316 String8 mPath; variable
/frameworks/base/core/tests/coretests/src/android/os/storage/
DAsecTests.java144 String mPath = Environment.getExternalStorageDirectory().toString(); in isMediaMounted() local
145 String state = getMs().getVolumeState(mPath); in isMediaMounted()
365 String mPath = Environment.getExternalStorageDirectory().toString(); in getMediaState() local
366 String state = getMs().getVolumeState(mPath); in getMediaState()
378 String mPath = Environment.getExternalStorageDirectory().toString(); in mountMedia() local
379 int ret = getMs().mountVolume(mPath); in mountMedia()
/frameworks/base/media/mtp/
DMtpServer.h76 MtpString mPath; variable
83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) { in ObjectEdit()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DObjectViewer.java59 private String mPath; field in ObjectViewer.ScannerClient
66 mPath = path; in setScanPath()
71 mScannerConnection.scanFile(mPath, null); in onMediaScannerConnected()
/frameworks/base/media/libstagefright/
DMPEG4Extractor.cpp568 : mPath(path) { in PathAdder()
569 mPath->push(chunkType); in PathAdder()
573 mPath->pop(); in ~PathAdder()
577 Vector<uint32_t> *mPath; member
647 PathAdder autoAdder(&mPath, chunk_type); in parseChunk()
653 && mPath.size() == 5 && underMetaDataPath(mPath)) { in parseChunk()
1163 if (mPath.size() >= 2 in parseChunk()
1164 && mPath[mPath.size() - 2] == FOURCC('m', 'p', '4', 'a')) { in parseChunk()
1272 if (mPath.size() == 6 && underMetaDataPath(mPath)) { in parseChunk()
1520 switch (mPath[4]) { in parseMetaData()
/frameworks/base/media/libstagefright/include/
DMPEG4Extractor.h66 Vector<uint32_t> mPath; variable

12