Home
last modified time | relevance | path

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

12

/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DUsageGraph.java56 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()
292 mPath.reset(); in drawFilledPath()
294 mPath.moveTo(localPaths.keyAt(0), localPaths.valueAt(0)); in drawFilledPath()
299 mPath.lineTo(localPaths.keyAt(i - 1), getHeight()); in drawFilledPath()
300 mPath.lineTo(lastStartX, getHeight()); in drawFilledPath()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DUsageGraph.java56 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/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 …]
DImageFilterDraw.java114 if (sd.mPath == null) { in paint()
131 mCacheTransPath.addPath(sd.mPath, toScrMatrix); in paint()
161 if (sd == null || sd.mPath == null) { in paint()
168 mCacheTransPath.addPath(sd.mPath, toScrMatrix); in paint()
/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/BuiltInPrintService/src/com/android/bips/
DLocalPrintJob.java67 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/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()
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/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/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/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchive.java146 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()
DArchiveId.java26 public final String mPath; field in ArchiveId
34 mPath = path; in ArchiveId()
55 return mArchiveUri.toString() + DELIMITER + mAccessMode + DELIMITER + mPath; in toDocumentId()
DWriteableArchive.java147 (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/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()
DClusterAlbumSet.java108 childPath = mPath.getChild(Uri.encode(childName)); in updateClusters()
111 childPath = mPath.getChild(minSize); in updateClusters()
113 childPath = mPath.getChild(i); in updateClusters()
/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()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieItem.java47 private Path mPath; field in PieItem
82 mPath = p; in setPath()
86 return mPath; in getPath()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewBackground.java60 private final Path mPath = new Path(); field in PreviewBackground
313 mPath.reset(); in getClipPath()
314 getShape().addToPath(mPath, getOffsetX(), getOffsetY(), getScaledRadius()); in getClipPath()
315 return mPath; in getClipPath()
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountSelectionUtil.java52 public static Uri mPath; field in AccountSelectionUtil
190 importIntent.setData(mPath); in doImportFromVcfFile()
193 mPath = null; in doImportFromVcfFile()
/packages/services/Car/procfs-inspector/server/
Ddirectory.cpp23 mPath.assign(path); in Directory()
66 return Entry(mPath, entry->d_name); in next()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DVCardService.java64 final String mPath; field in VCardService.CustomMediaScannerConnectionClient
68 mPath = path; in CustomMediaScannerConnectionClient()
78 mConnection.scanFile(mPath, null); in onMediaScannerConnected()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java853 private final Path mPath; field in PhotoDataAdapter.FullImageListener
857 mPath = item.getPath(); in FullImageListener()
869 updateFullImage(mPath, mFuture); in run()
875 private final Path mPath; field in PhotoDataAdapter.ScreenNailListener
879 mPath = item.getPath(); in ScreenNailListener()
891 updateScreenNail(mPath, mFuture); in run()
/packages/apps/WallpaperPicker/src/com/android/photos/
DBitmapRegionTileSource.java279 private String mPath; field in BitmapRegionTileSource.FilePathBitmapSource
282 mPath = file.getAbsolutePath(); in FilePathBitmapSource()
287 return ExifOrientation.readRotation(mPath); in getExifRotation()

12