/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | StateView.java | 35 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/ |
D | RoundedLine.java | 26 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/ |
D | RoundedArrowDrawable.java | 41 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/ |
D | FastScrollThumbDrawable.java | 33 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/ |
D | CanvasView.java | 32 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/ |
D | UsageGraph.java | 56 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/ |
D | FilterDrawRepresentation.java | 91 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/ |
D | FileRow.java | 23 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/ |
D | License.java | 34 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/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | WebAddress.java | 47 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/services/BuiltInPrintService/src/com/android/bips/ |
D | LocalPrintJob.java | 70 private Uri mPath; field in LocalPrintJob 187 mPath = printer.path; in onPrinterFound() 191 mPath = path; in onPrinterFound() 241 if (DEBUG) Log.d(TAG, "Capabilities for " + mPath + " are " + capabilities); in onCapabilities() 262 IPP_SCHEME.equals(mPath.getScheme())) { in deliver() 263 mPath = mPath.buildUpon().scheme(IPPS_SCHEME).encodedAuthority(mPath.getHost() + in deliver() 267 if (DEBUG) Log.d(TAG, "deliver() to " + mPath); in deliver() 268 if (mCapabilities.certificate != null && !IPPS_SCHEME.equals(mPath.getScheme())) { in deliver() 276 mBackend.print(mPath, mPrintJob, mCapabilities, this::handleJobStatus); in deliver()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaVolume.java | 59 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/ |
D | ImageCacheRequest.java | 32 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()
|
D | MediaObject.java | 72 protected final Path mPath; field in MediaObject 81 mPath = path; in MediaObject() 86 return mPath; in getPath()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | UidCpuStatsCollector.h | 55 explicit UidCpuStatsCollector(const std::string& path = kShowUidCpuTimeFile) : mPath(path) {} in mPath() function 64 mEnabled = access(mPath.c_str(), R_OK) == 0; in init() 84 const std::string filePath() const override { return mPath; } in filePath() 88 const std::string mPath;
|
D | UidProcStatsCollector.cpp | 356 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 …]
|
D | UidCpuStatsCollector.cpp | 105 return Error() << "Can not access: " << mPath; in collect() 107 auto cpuTimeMillisByUid = readUidCpuTimeFile(mPath); in collect() 110 << "Failed to read top-level per UID CPU time file " << mPath << ": " in collect()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | Archive.java | 146 final List<ArchiveEntry> parentList = mTree.get(parsedParentId.mPath); in queryChildDocuments() 168 final ArchiveEntry entry = mEntries.get(parsedId.mPath); in getDocumentType() 189 final ArchiveEntry entry = mEntries.get(parsedId.mPath); in isChildDocument() 194 final ArchiveEntry parentEntry = mEntries.get(parsedParentId.mPath); in isChildDocument() 204 return pathWithSlash.startsWith(parsedParentId.mPath) && in isChildDocument() 205 !parsedParentId.mPath.equals(pathWithSlash); in isChildDocument() 221 final ArchiveEntry entry = mEntries.get(parsedId.mPath); in queryDocument()
|
D | ArchiveId.java | 26 public final String mPath; field in ArchiveId 34 mPath = path; in ArchiveId() 55 return mArchiveUri.toString() + DELIMITER + mAccessMode + DELIMITER + mPath; in toDocumentId()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | PersistentInt.java | 36 private final String mPath; field in PersistentInt 52 mPath = path; in PersistentInt() 106 return mPath; in getPath()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | CustomShapeImageView.java | 36 private Path mPath; field in CustomShapeImageView 78 mPath = PathParser.createPathFromPathData(string); in setClippingPath() 91 Path scaledPath = new Path(mPath); in onDraw()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/ |
D | RoundedRectImageView.java | 35 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/Messaging/src/com/android/messaging/datamodel/media/ |
D | FileImageRequest.java | 35 private final String mPath; field in FileImageRequest 41 mPath = descriptor.path; in FileImageRequest() 52 final ExifInterface exif = new ExifInterface(mPath); in loadBitmapInternal()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieItem.java | 47 private Path mPath; field in PieItem 82 mPath = p; in setPath() 86 return mPath; in getPath()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/ |
D | RedirectListener.java | 48 private final String mPath; field in RedirectListener 77 mPath = "rnd" + Integer.toString(Math.abs(rnd.nextInt()), Character.MAX_RADIX); in RedirectListener() 78 mServerUrl = new URL("http", getHostname(), port, mPath); in RedirectListener()
|