/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/Settings/src/com/android/settings/widget/ |
D | UsageGraph.java | 56 private final Path mPath = new Path(); field in UsageGraph 275 mPath.reset(); in drawLinePath() 276 mPath.moveTo(localPaths.keyAt(0), localPaths.valueAt(0)); in drawLinePath() 282 mPath.moveTo(localPaths.keyAt(i), localPaths.valueAt(i)); in drawLinePath() 285 mPath.lineTo(x, y); in drawLinePath() 288 canvas.drawPath(mPath, paint); in drawLinePath() 296 mPath.reset(); in drawFilledPath() 298 mPath.moveTo(localPaths.keyAt(0), localPaths.valueAt(0)); in drawFilledPath() 303 mPath.lineTo(localPaths.keyAt(i - 1), getHeight()); in drawFilledPath() 304 mPath.lineTo(lastStartX, getHeight()); in drawFilledPath() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaVolume.java | 56 private final @Nullable File mPath; field in MediaVolume 72 return mPath; in getPath() 82 this.mPath = path; in MediaVolume() 89 this.mPath = new File(in.readString()); in MediaVolume() 100 Objects.equals(mPath, that.mPath) && in equals() 106 return Objects.hash(mName, mUser, mPath, mId); in hashCode() 137 dest.writeString(mPath.toString()); in writeToParcel() 144 + mPath + "]"; in toString()
|
/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/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() 76 mPath.reset(); in clearCanvas() 86 mPath.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); in moveTouch() 93 mPath.moveTo(x, y); in downTouch() 99 mPath.lineTo(mX, mY); in upTouch()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | LocalPrintJob.java | 67 private Uri mPath; field in LocalPrintJob 177 mPath = printer.path; in onPrinterFound() 181 mPath = path; in onPrinterFound() 231 if (DEBUG) Log.d(TAG, "Capabilities for " + mPath + " are " + capabilities); in onCapabilities() 252 IPP_SCHEME.equals(mPath.getScheme())) { in deliver() 253 mPath = mPath.buildUpon().scheme(IPPS_SCHEME).encodedAuthority(mPath.getHost() + in deliver() 257 if (DEBUG) Log.d(TAG, "deliver() to " + mPath); in deliver() 258 if (mCapabilities.certificate != null && !IPPS_SCHEME.equals(mPath.getScheme())) { in deliver() 266 mBackend.print(mPath, mPrintJob, mCapabilities, this::handleJobStatus); in deliver()
|
/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() 83 canvas.drawPath(mPath, mPaint); in draw() 88 outline.setPath(mPath); in getOutline()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | ProcPidStat.h | 72 mPath(path) { 73 std::string pidStatPath = StringPrintf((mPath + kStatFileFormat).c_str(), PID_FOR_INIT); 74 std::string tidStatPath = StringPrintf((mPath + kTaskDirFormat + kStatFileFormat).c_str(), 76 std::string pidStatusPath = StringPrintf((mPath + kStatusFileFormat).c_str(), PID_FOR_INIT); 102 virtual std::string dirPath() { return mPath; } in dirPath() 130 std::string mPath; variable
|
D | ProcPidStat.cpp | 236 auto procDirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(mPath.c_str()), closedir); in getProcessStatsLocked() 238 return Error() << "Failed to open " << mPath << " directory"; in getProcessStatsLocked() 248 std::string path = StringPrintf((mPath + kStatFileFormat).c_str(), pid); in getProcessStatsLocked() 263 path = StringPrintf((mPath + kStatusFileFormat).c_str(), curStats.process.pid); in getProcessStatsLocked() 291 std::string taskDir = StringPrintf((mPath + kTaskDirFormat).c_str(), pid); in getProcessStatsLocked()
|
/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/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()
|
D | ClusterAlbumSet.java | 108 childPath = mPath.getChild(Uri.encode(childName)); in updateClusters() 111 childPath = mPath.getChild(minSize); in updateClusters() 113 childPath = mPath.getChild(i); in updateClusters()
|
/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()
|
D | WriteableArchive.java | 147 (ZipArchiveEntry) mEntries.get(parsedParentId.mPath); in createDocument() 212 entry = (ZipArchiveEntry) mEntries.get(parsedId.mPath); in openDocument() 217 if (!mPendingEntries.contains(parsedId.mPath)) { in openDocument() 220 mPendingEntries.remove(parsedId.mPath); in openDocument()
|
/packages/providers/MediaProvider/src/com/android/providers/media/fuse/ |
D | FuseDaemon.java | 42 private final String mPath; field in FuseDaemon 54 mPath = Objects.requireNonNull(path); in FuseDaemon() 70 native_start(ptr, mFuseDeviceFd, mPath); // Blocks in run() 98 String path = mMediaProvider.getFuseFile(new File(mPath)).getAbsolutePath(); in initializeDeviceId()
|
/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/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/Settings/tests/componenttests/src/com/android/settings/testutils/ |
D | CommonUtils.java | 45 String mPath = in takeScreenshot() local 47 Log.d(TAG, "screenshot path is " + mPath); in takeScreenshot() 55 File imageFile = new File(mPath); in takeScreenshot()
|
/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()
|
/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()
|