/frameworks/base/core/java/android/os/storage/ |
H A D | VolumeInfo.java | 159 public String path; field in class:VolumeInfo 184 path = parcel.readString(); 297 return (path != null) ? new File(path) : null; 305 if (path == null) { 308 return new File(path); 310 return new File(path, Integer.toString(userId)); 322 // TODO: plumb through cleaner path from vold 323 return new File(path.replace("/storage/", "/mnt/media_rw/")); 471 pw.printPair("path", pat [all...] |
H A D | IMountServiceListener.java | 78 final String path = data.readString(); 81 this.onStorageStateChanged(path, oldState, newState); 165 * @param path The volume mount path. 171 public void onStorageStateChanged(String path, String oldState, String newState) argument 177 _data.writeString(path); 293 * @param path The volume mount path. 298 public void onStorageStateChanged(String path, String oldState, String newState) argument
|
/frameworks/base/core/java/android/app/ |
H A D | NativeActivity.java | 96 private native long loadNativeCode(String path, String funcname, MessageQueue queue, argument 165 String path = classLoader.findLibrary(libname); 167 if (path == null) { 175 mNativeHandle = loadNativeCode(path, funcname, Looper.myQueue(), 183 "Unable to load native library \"" + path + "\": " + getDlError());
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | FindRegion.java | 178 Path path = new Path(); 181 path.moveTo(xy[i] - rec.left, xy[i + 1] - rec.top); 183 path.lineTo(xy[i] - rec.left, xy[i + 1] - rec.top); 186 path.close(); 187 c.drawPath(path, paint);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecLocalDeviceTv.java | 364 void updateActiveInput(int path, boolean notifyInputChange) { argument 367 setActivePath(path); 378 info = new HdmiDeviceInfo(path, getActivePortId()); 590 int path = HdmiUtils.twoBytesToInt(message.getParams()); 594 if (updateCecSwitchInfo(address, type, path)) return true; 602 if (!isInDeviceList(address, path)) { 603 handleNewDeviceAtTheTailOfActivePath(path); 608 HdmiDeviceInfo deviceInfo = new HdmiDeviceInfo(address, path, getPortId(path), type, 611 startNewDeviceAction(ActiveSource.of(address, path), typ 634 updateCecSwitchInfo(int address, int type, int path) argument 666 handleNewDeviceAtTheTailOfActivePath(int path) argument 685 isTailOfActivePath(int path, int activePath) argument 1364 isConnectedToCecSwitch(int path, Collection<Integer> switches) argument 1491 handleRemoveActiveRoutingPath(int path) argument 1536 getDeviceInfoByPath(int path) argument 1554 getSafeDeviceInfoByPath(int path) argument [all...] |
H A D | RoutingControlAction.java | 36 * <li> New CEC device at the tail of the active routing path 37 * <li> Removed CEC device from the active routing path 45 // latest routing path to set the new active source. 60 // true if <Give Power Status> should be sent once the new active routing path is determined. 71 // The latest routing path. Updated by each <Routing Information> from CEC switches. 74 RoutingControlAction(HdmiCecLocalDevice localDevice, int path, boolean queryDevicePowerStatus, argument 78 mCurrentRoutingPath = path; 101 // If the routing path doesn't belong to the currently active one, we should
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | VectorDrawableCompat.java | 138 * <dt><code><path></code></dt> 142 * <dd>Defines the name of the path.</dd> 144 * <dd>Defines path data using exactly same format as "d" attribute 145 * in the SVG's path data. This is defined in the viewport space.</dd> 147 * <dd>Specifies the color used to fill the path. 149 * No path fill is drawn if this property is not specified.</dd> 151 * <dd>Specifies the color used to draw the path outline. 153 * No path outline is drawn if this property is not specified.</dd> 155 * <dd>The width a path stroke. Default is 0.</dd> 157 * <dd>The opacity of a path strok 1543 toPath(Path path) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | VectorDrawable.h | 50 * Each node can be a group node, or a path. 51 * A group node can have groups or paths as children, but a path node has 141 // Updates the path data. Note that we don't generate a new Skia path right away 142 // because there are cases where the animation is changing the path data, but the view 144 // postpone the Skia path generation to the draw time. 159 Path(const Path& path); 160 Path(const char* path, size_t strLength); 356 FullPath(const FullPath& path); // for cloning 357 FullPath(const char* path, size_ argument 399 ClipPath(const ClipPath& path) argument 400 ClipPath(const char* path, size_t strLength) argument [all...] |
H A D | SkiaCanvas.cpp | 105 virtual bool quickRejectPath(const SkPath& path) const override; 108 virtual bool clipPath(const SkPath* path, SkRegion::Op op) override; 132 virtual void drawPath(const SkPath& path, const SkPaint& paint) override; 171 virtual void drawGlyphsOnPath(const uint16_t* glyphs, int count, const SkPath& path, 219 virtual void clipPath(const SkPath& path, SkRegion::Op op, bool antialias) { argument 220 m_dstCanvas->clipPath(path, op, antialias); 287 // Fast path - no record for this frame. 489 bool SkiaCanvas::quickRejectPath(const SkPath& path) const { 490 return mCanvas->quickReject(path); 499 bool SkiaCanvas::clipPath(const SkPath* path, SkRegio argument 611 drawPath(const SkPath& path, const SkPaint& paint) argument 768 drawGlyphsOnPath(const uint16_t* glyphs, int count, const SkPath& path, float hOffset, float vOffset, const SkPaint& paint) argument [all...] |
H A D | CanvasState.h | 126 bool clipPath(const SkPath* path, SkRegion::Op op); 138 void setProjectionPathMask(LinearAllocator& allocator, const SkPath* path);
|
H A D | OpenGLRenderer.h | 191 void drawPath(const SkPath* path, const SkPaint* paint); 194 void drawTextOnPath(const glyph_t* glyphs, int bytesCount, int count, const SkPath* path, 320 bool clipPath(const SkPath* path, SkRegion::Op op); 332 void setProjectionPathMask(LinearAllocator& allocator, const SkPath* path); 345 std::unique_ptr<SkPath> path(new SkPath()); 346 SkPath* returnPath = path.get(); 347 mTempPaths.push_back(std::move(path)); 600 * Draws the shape represented by the specified path texture. 631 * Renders the convex hull defined by the specified path as a strip of polygons. 633 * @param path Th [all...] |
H A D | SkiaCanvasProxy.h | 62 virtual void onDrawPath(const SkPath& path, const SkPaint&) override; 82 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
|
H A D | Snapshot.h | 144 * Modifies the current clip with the specified path and operation. 146 void clipPath(const SkPath& path, SkRegion::Op op); 210 void setProjectionPathMask(LinearAllocator& allocator, const SkPath* path); 303 * Current projection masking path - used exclusively to mask projected, tessellated circles.
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
H A D | StorageMeasurement.java | 383 final File path = new File(basePath, type); 384 final long size = getDirectorySize(imcs, path); 442 private static long getDirectorySize(IMediaContainerService imcs, File path) { argument 444 final long size = imcs.calculateDirectorySize(path.toString()); 445 if (LOGV) Log.v(TAG, "getDirectorySize(" + path + ") returned " + size); 448 Log.w(TAG, "Could not read memory from default container service for " + path, e);
|
/frameworks/base/tools/aapt/ |
H A D | Main.cpp | 28 * This operates in-place on the path string. 30 void convertPath(char *path) { argument 31 if (path != NULL && OS_PATH_SEPARATOR != '/') { 32 for (; *path; path++) { 33 if (*path == '/') { 34 *path = OS_PATH_SEPARATOR; 115 " -k junk path of file(s) added\n" 128 " -M specify full path to AndroidManifest.xml to include in zip\n"
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
H A D | Main.java | 193 File[] hosts = host.listFiles(path -> path.isDirectory() && 194 (path.getName().startsWith("linux-") || path.getName().startsWith("darwin-"))); 212 File[] sdkDirs = sdkDir.listFiles(path -> { 214 return path.isDirectory() && path.getName().startsWith("sdk"); 227 path -> path.isDirectory() && path [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | GestureDescription.java | 99 * Return the smallest key point (where a path starts or ends) that is at least a specified 148 StrokeDescription path = paths.get(i); 149 latestEnd = Math.max(latestEnd, path.mEndTime); 164 * added to a gesture, and the total gesture duration (earliest path start time to latest 165 * path end time) may not exceed {@link GestureDescription#getMaxGestureDuration()}. 208 * @param path The path to follow. Must have exactly one contour. The bounds of the path 209 * must not be negative. The path must not be empty. If the path ha 216 StrokeDescription(@onNull Path path, @IntRange(from = 0) long startTime, @IntRange(from = 0) long duration) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewFactory.java | 432 for (String path : nativeLibs) { 433 if (path == null || TextUtils.isEmpty(path)) continue; 434 if (DEBUG) Log.d(LOGTAG, "Checking file size of " + path); 435 File f = new File(path); 440 if (path.contains("!/")) { 441 String[] split = TextUtils.split(path, "!/"); 455 Log.e(LOGTAG, "error sizing load for " + path); 488 // Return a path formatted for dlopen() load from APK.
|
/frameworks/base/core/jni/ |
H A D | android_graphics_drawable_VectorDrawable.cpp | 142 VectorDrawable::FullPath* path = reinterpret_cast<VectorDrawable::FullPath*>(pathPtr); local 144 path->mutateStagingProperties()->setFillGradient(fillShader); 148 VectorDrawable::FullPath* path = reinterpret_cast<VectorDrawable::FullPath*>(pathPtr); local 150 path->mutateStagingProperties()->setStrokeGradient(strokeShader); 180 VectorDrawable::Path* path = reinterpret_cast<VectorDrawable::Path*>(pathPtr); local 189 path->mutateStagingProperties()->setData(data); 267 VectorDrawable::Path* path = reinterpret_cast<VectorDrawable::Path*>(pathPtr); local 269 path->mutateStagingProperties()->setData(*pathData);
|
/frameworks/base/include/androidfw/ |
H A D | Asset.h | 114 * path, it might be a colon-separated list of identifiers. 141 void setAssetSource(const String8& path) { mAssetSource = path; } argument
|
/frameworks/base/libs/hwui/protos/ |
H A D | hwui.proto | 77 optional bytes path = 6;
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.cpp | 103 const SkPaint& paint, const SkPath& path) { 105 canvas->drawTextOnPath(utf16.get(), strlen(text), 0, path, 0, 0, paint, nullptr); 102 drawUtf8ToCanvas(Canvas* canvas, const char* text, const SkPaint& paint, const SkPath& path) argument
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | MediaFrameworkTest.java | 123 Uri path = Uri.parse(filename); 125 intent.setDataAndType(path, mimetype);
|
/frameworks/base/tools/aapt2/proto/ |
H A D | ProtoHelpers.cpp | 36 StringPool::Ref ref = srcPool->makeRef(util::utf8ToUtf16(source.path)); 46 outSource->path = util::getString8(srcPool, pbSource.path_idx()).toString();
|
/frameworks/base/tools/layoutlib/rename_font/ |
H A D | build_font_single.py | 23 Usage: build_font_single.py /path/to/input_font.ttf /path/to/output_font.ttf 71 sys.exit('Usage: build_font_single.py /path/to/input/font.ttf /path/to/out/font.ttf') 74 extension = os.path.splitext(input_path)[1].lower() 83 filename = os.path.basename(input_path) 85 # the path to the output file. The file name is the fontfilename.ttx
|