Home
last modified time | relevance | path

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

123

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateView.java35 private Path mPath = new Path(); field in StateView
136 mPath.reset(); in onDraw()
164 canvas.drawPath(mPath, mPaint); in onDraw()
170 mPath.moveTo(w, 0); in drawHorizontalPath()
172 mPath.lineTo(0, 0); in drawHorizontalPath()
173 mPath.lineTo(0, h); in drawHorizontalPath()
175 mPath.lineTo(d, 0); in drawHorizontalPath()
176 mPath.lineTo(d, r); in drawHorizontalPath()
177 mPath.lineTo(0, r + d); in drawHorizontalPath()
178 mPath.lineTo(d, r + d + r); in drawHorizontalPath()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DRoundedLine.java26 private final Path mPath = new Path(); field in RoundedLine
45 mPath.rewind(); in makePath()
51 return mPath; // Return an empty path in makePath()
92 mPath.moveTo(p1x, p1y); in makePath()
93 mPath.arcTo(mArc1, angle, a1); in makePath()
95 mPath.moveTo(p2x, p2y); in makePath()
96 mPath.arcTo(mArc2, angle, a2); in makePath()
98 mPath.moveTo(p1ax, p1ay); in makePath()
99 mPath.lineTo(p1x, p1y); in makePath()
100 mPath.lineTo(p1bx, p1by); in makePath()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DRoundedArrowDrawable.java41 private final Path mPath; field in RoundedArrowDrawable
63 mPath = new Path(); in RoundedArrowDrawable()
70 addDownPointingRoundedTriangleToPath(width, height, radius, mPath); in RoundedArrowDrawable()
72 mPath); in RoundedArrowDrawable()
78 mPath.transform(pathTransform); in RoundedArrowDrawable()
93 mPath = new Path(); in RoundedArrowDrawable()
100 addDownPointingRoundedTriangleToPath(width, height, radius, mPath); in RoundedArrowDrawable()
113 mPath.transform(pathTransform); in RoundedArrowDrawable()
147 canvas.drawPath(mPath, mPaint); in draw()
152 outline.setPath(mPath); in getOutline()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DFastScrollThumbDrawable.java33 private final Path mPath = new Path(); field in FastScrollThumbDrawable
44 if (mPath.isConvex()) { in getOutline()
45 outline.setConvexPath(mPath); in getOutline()
51 mPath.reset(); in onBoundsChange()
58 mPath.addRoundRect(bounds.left, bounds.top, bounds.left + diameter, bounds.top + diameter, in onBoundsChange()
67 mPath.transform(sMatrix); in onBoundsChange()
72 canvas.drawPath(mPath, mPaint); in draw()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/draw/
DCanvasView.java32 private final Path mPath; field in CanvasView
39 mPath = new Path(); in CanvasView()
50 canvas.drawPath(mPath, mPaint); in onDraw()
78 mPath.reset(); in clearCanvas()
88 mPath.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); in moveTouch()
95 mPath.moveTo(x, y); in downTouch()
101 mPath.lineTo(mX, mY); in upTouch()
/packages/apps/Settings/src/com/android/settings/widget/
DUsageGraph.java56 private final Path mPath = new Path(); field in UsageGraph
280 mPath.reset(); in drawLinePath()
281 mPath.moveTo(localPaths.keyAt(0), localPaths.valueAt(0)); in drawLinePath()
287 mPath.moveTo(localPaths.keyAt(i), localPaths.valueAt(i)); in drawLinePath()
290 mPath.lineTo(x, y); in drawLinePath()
293 canvas.drawPath(mPath, paint); in drawLinePath()
301 mPath.reset(); in drawFilledPath()
303 mPath.moveTo(localPaths.keyAt(0), localPaths.valueAt(0)); in drawFilledPath()
308 mPath.lineTo(localPaths.keyAt(i - 1), getHeight()); in drawFilledPath()
309 mPath.lineTo(lastStartX, getHeight()); in drawFilledPath()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterDrawRepresentation.java91 public Path mPath; field in FilterDrawRepresentation.StrokeData
102 mPath = new Path(copy.mPath); in StrokeData()
121 return mPath.equals(sd.mPath); in equals()
126 return "stroke(" + mType + ", path(" + (mPath) + "), " + mRadius + " , " in toString()
242 if (fdRep.mCurrent == null ^ (mCurrent == null || mCurrent.mPath == null)) { in equals()
247 if (fdRep.mCurrent != null && mCurrent != null && mCurrent.mPath != null) { in equals()
283 mCurrent.mPath = new Path(); in startNewSection()
284 mCurrent.mPath.moveTo(x, y); in startNewSection()
292 mCurrent.mPath.lineTo(x, y); in addPoint()
376 stroke.mPath = new Path(); in deSerializeRepresentation()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/dao/
DFileRow.java23 private String mPath; field in FileRow
38 private String mPath; field in FileRow.Builder
55 this.mPath = path; in setPath()
111 fileRow.mPath = this.mPath; in build()
140 return mPath; in getPath()
/packages/apps/TV/src/com/android/tv/license/
DLicense.java34 private final String mPath; field in License
70 dest.writeString(mPath); in writeToParcel()
87 this.mPath = path; in License()
94 mPath = in.readString(); in License()
110 return mPath; in getPath()
/packages/services/BuiltInPrintService/src/com/android/bips/
DLocalPrintJob.java73 private Uri mPath; field in LocalPrintJob
190 mPath = printer.path; in onPrinterFound()
194 mPath = path; in onPrinterFound()
244 if (DEBUG) Log.d(TAG, "Capabilities for " + mPath + " are " + capabilities); in onCapabilities()
265 IPP_SCHEME.equals(mPath.getScheme())) { in deliver()
266 mPath = mPath.buildUpon().scheme(IPPS_SCHEME).encodedAuthority(mPath.getHost() + in deliver()
270 if (DEBUG) Log.d(TAG, "deliver() to " + mPath); in deliver()
271 if (mCapabilities.certificate != null && !IPPS_SCHEME.equals(mPath.getScheme())) { in deliver()
279 mBackend.print(mPath, mPrintJob, mCapabilities, this::handleJobStatus); in deliver()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DWebAddress.java47 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()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaVolume.java59 private final @Nullable File mPath; field in MediaVolume
85 return mPath; in getPath()
104 this.mPath = path; in MediaVolume()
113 this.mPath = new File(in.readString()); in MediaVolume()
188 dest.writeString(mPath.toString()); in writeToParcel()
197 + mPath + "] externallyManaged: [" + mExternallyManaged + "] mPublicVolume: [" in toString()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DImageCacheRequest.java32 private Path mPath; field in ImageCacheRequest
40 mPath = path; in ImageCacheRequest()
47 return mPath + "," + mTimeModified + "," + in debugTag()
58 boolean found = cacheService.getImageData(mPath, mTimeModified, mType, buffer); in run()
97 cacheService.putImageData(mPath, mTimeModified, mType, array); in run()
DMediaObject.java72 protected final Path mPath; field in MediaObject
81 mPath = path; in MediaObject()
86 return mPath; in getPath()
/packages/services/Car/cpp/watchdog/stable_server/src/
DUidCpuStatsCollector.h54 explicit UidCpuStatsCollector(const std::string& path = kShowUidCpuTimeFile) : mPath(path) {} in mPath() function
63 mEnabled = access(mPath.c_str(), R_OK) == 0; in init()
83 const std::string filePath() const override { return mPath; } in filePath()
87 const std::string mPath;
DUidProcStatsCollector.cpp356 mPath(path), in UidProcStatsCollector()
368 std::string pidStatPath = StringPrintf((mPath + kStatFileFormat).c_str(), PID_FOR_INIT); in init()
371 std::string tidStatPath = StringPrintf((mPath + kTaskDirFormat + kStatFileFormat).c_str(), in init()
375 std::string pidStatusPath = StringPrintf((mPath + kStatusFileFormat).c_str(), PID_FOR_INIT); in init()
379 StringPrintf((mPath + kTaskDirFormat + kTimeInStateFileFormat).c_str(), PID_FOR_INIT, in init()
384 std::string statmPath = StringPrintf((mPath + kStatmFileFormat).c_str(), PID_FOR_INIT); in init()
493 auto procDirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(mPath.c_str()), closedir); in readUidProcStatsLocked()
495 return Error() << "Failed to open " << mPath << " directory"; in readUidProcStatsLocked()
533 std::string path = StringPrintf((mPath + kStatFileFormat).c_str(), pid); in readProcessStatsLocked()
544 path = StringPrintf((mPath + kStatusFileFormat).c_str(), pid); in readProcessStatsLocked()
[all …]
/packages/services/Car/cpp/watchdog/server/src/
DUidCpuStatsCollector.h54 explicit UidCpuStatsCollector(const std::string& path = kShowUidCpuTimeFile) : mPath(path) {} in mPath() function
63 mEnabled = access(mPath.c_str(), R_OK) == 0; in init()
83 const std::string filePath() const override { return mPath; } in filePath()
87 const std::string mPath;
DUidProcStatsCollector.cpp356 mPath(path), in UidProcStatsCollector()
368 std::string pidStatPath = StringPrintf((mPath + kStatFileFormat).c_str(), PID_FOR_INIT); in init()
371 std::string tidStatPath = StringPrintf((mPath + kTaskDirFormat + kStatFileFormat).c_str(), in init()
375 std::string pidStatusPath = StringPrintf((mPath + kStatusFileFormat).c_str(), PID_FOR_INIT); in init()
379 StringPrintf((mPath + kTaskDirFormat + kTimeInStateFileFormat).c_str(), PID_FOR_INIT, in init()
384 std::string statmPath = StringPrintf((mPath + kStatmFileFormat).c_str(), PID_FOR_INIT); in init()
493 auto procDirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(mPath.c_str()), closedir); in readUidProcStatsLocked()
495 return Error() << "Failed to open " << mPath << " directory"; in readUidProcStatsLocked()
533 std::string path = StringPrintf((mPath + kStatFileFormat).c_str(), pid); in readProcessStatsLocked()
544 path = StringPrintf((mPath + kStatusFileFormat).c_str(), pid); in readProcessStatsLocked()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchive.java205 final List<ArchiveEntry> parentList = mTree.get(parsedParentId.mPath);
227 final ArchiveEntry entry = mEntries.get(parsedId.mPath);
248 final ArchiveEntry entry = mEntries.get(parsedId.mPath);
253 final ArchiveEntry parentEntry = mEntries.get(parsedParentId.mPath);
263 return pathWithSlash.startsWith(parsedParentId.mPath) &&
264 !parsedParentId.mPath.equals(pathWithSlash);
280 final ArchiveEntry entry = mEntries.get(parsedId.mPath);
DArchiveId.java26 public final String mPath; field in ArchiveId
34 mPath = path; in ArchiveId()
55 return mArchiveUri.toString() + DELIMITER + mAccessMode + DELIMITER + mPath; in toDocumentId()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/component/
DPdfPagePathObject.java32 private final Path mPath; field in PdfPagePathObject
44 this.mPath = path; in PdfPagePathObject()
60 return new Path(mPath); in toPath()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DRoundedRectImageView.java35 private Path mPath = new Path(); field in RoundedRectImageView
83 mPath.reset(); in updatePath()
87 mPath.addRoundRect(getPaddingLeft(), getPaddingTop(), imageWidth, imageHeight, mRadius, in updatePath()
122 canvas.clipPath(mPath); in onDraw()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DCustomShapeImageView.java36 private Path mPath; field in CustomShapeImageView
78 mPath = PathParser.createPathFromPathData(string); in setClippingPath()
91 Path scaledPath = new Path(mPath); in onDraw()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DPersistentInt.java36 private final String mPath; field in PersistentInt
52 mPath = path; in PersistentInt()
106 return mPath; in getPath()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DFileImageRequest.java35 private final String mPath; field in FileImageRequest
41 mPath = descriptor.path; in FileImageRequest()
52 final ExifInterface exif = new ExifInterface(mPath); in loadBitmapInternal()

123