Searched defs:path (Results 101 - 125 of 387) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/view/animation/
H A DPathInterpolator.java39 * Path path = new Path();
40 * path.lineTo(0.25f, 0.25f);
41 * path.moveTo(0.25f, 0.5f);
42 * path.lineTo(1f, 1f);
58 * @param path The <code>Path</code> to use to make the line representing the interpolator.
60 public PathInterpolator(Path path) { argument
61 initPath(path);
110 Path path = PathParser.createPathFromPathData(pathData);
111 if (path == null) {
112 throw new InflateException("The path i
157 initPath(Path path) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DPlugin.java62 String path,
66 mPath = path;
138 public void setPath(String path) { argument
139 mPath = path;
61 Plugin(String name, String path, String fileName, String description) argument
/frameworks/base/core/java/com/android/internal/net/
H A DNetworkStatsFactory.java344 NetworkStats stats, String path, int limitUid, String[] limitIfaces, int limitTag);
343 nativeReadNetworkStatsDetail( NetworkStats stats, String path, int limitUid, String[] limitIfaces, int limitTag) argument
/frameworks/base/core/java/com/android/server/backup/
H A DSystemBackupAgent.java138 int type, String domain, String path, long mode, long mtime)
140 Slog.i(TAG, "Restoring file domain=" + domain + " path=" + path);
148 if (path.equals(WALLPAPER_INFO_FILENAME)) {
151 } else if (path.equals(WALLPAPER_IMAGE_FILENAME)) {
159 Slog.w(TAG, "Skipping unrecognized system file: [ " + domain + " : " + path + " ]");
137 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
/frameworks/base/graphics/java/android/graphics/
H A DPathMeasure.java24 * of a path, and/or to find the position and tangent along it, call
27 * Note that once a path is associated with the measure object, it is
28 * undefined if the path is subsequently modified and the the measure object
29 * is used. If the path is modified, you must call setPath with the path.
37 * Create a PathMeasure object associated with the specified path object
39 * path's length, and the position and tangent of any position along the
40 * path.
42 * Note that once a path is associated with the measure object, it is
43 * undefined if the path i
50 PathMeasure(Path path, boolean forceClosed) argument
60 setPath(Path path, boolean forceClosed) argument
[all...]
/frameworks/base/include/androidfw/
H A DAsset.h114 * path, it might be a colon-separated list of identifiers.
128 void setAssetSource(const String8& path) { mAssetSource = path; } argument
H A DAssetDir.h80 FileInfo(const String8& path) // useful for e.g. svect.indexOf argument
81 : mFileName(path), mFileType(kFileTypeUnknown)
109 void set(const String8& path, FileType type) { argument
110 mFileName = path;
115 void setFileName(const String8& path) { mFileName = path; } argument
121 void setSourceName(const String8& path) { mSourceName = path; } argument
/frameworks/base/libs/usb/tests/accessorytest/
H A Dhid.c134 char path[100]; local
136 snprintf(path, sizeof(path), "/dev/%s", name);
137 int fd = open(path, O_RDWR);
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java50 public void scanCompleted(String path, Uri uri) {
53 client.onScanCompleted(path, uri);
66 * @param path the path to the file that has been scanned.
70 public void onScanCompleted(String path, Uri uri); argument
88 * @param path the path to the file that has been scanned.
92 public void onScanCompleted(String path, Uri uri); argument
159 * @param path the path t
163 scanFile(String path, String mimeType) argument
198 onScanCompleted(String path, Uri uri) argument
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java280 private static String nameFromPath(String path) { argument
281 // extract name from full path
283 int lastSlash = path.lastIndexOf('/');
287 int end = path.length();
291 return path.substring(start, end);
366 // special case - need to extract file name from full path
381 // if title and name fail, extract name from full path
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpServer.cpp140 jstring path = (jstring)env->GetObjectField(jstorage, field_MtpStorage_path); local
146 const char *pathStr = env->GetStringUTFChars(path, NULL);
153 env->ReleaseStringUTFChars(path, pathStr);
156 env->ReleaseStringUTFChars(path, pathStr);
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DObjectViewer.java66 public void setScanPath(String path) { argument
67 mPath = path;
76 public void onScanCompleted(String path, Uri uri) { argument
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
H A DDocumentsProviderHelper.java290 RootInfo root, String path, String mimeType, byte[] content, String... streamTypes)
295 args.putString(StubProvider.EXTRA_PATH, path);
289 createVirtualFile( RootInfo root, String path, String mimeType, byte[] content, String... streamTypes) argument
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DOMAConstructed.java58 public String getScalarValue(Iterator<String> path) throws OMAException { argument
59 if (!path.hasNext()) {
62 String tag = path.next();
65 return child.getScalarValue(path);
72 public OMANode getListValue(Iterator<String> path) throws OMAException { argument
73 if (!path.hasNext()) {
76 String tag = path.next();
86 } else if (path.hasNext()) {
87 return child.getListValue(path);
H A DOMANode.java55 LinkedList<String> path = new LinkedList<>();
57 path.addFirst(node.getName());
59 return path;
72 public abstract String getScalarValue(Iterator<String> path) throws OMAException; argument
74 public abstract OMANode getListValue(Iterator<String> path) throws OMAException; argument
84 public abstract OMANode addChild(String name, String context, String value, String path) argument
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUClient.java429 private static List<X509Certificate> getCerts(OMANode ppsRoot, String[] path, Network network, argument
433 getCertURLs(ppsRoot, Arrays.asList(path).iterator(), urls);
434 Log.d(TAG, Arrays.toString(path) + ": " + urls);
449 private static void getCertURLs(OMANode root, Iterator<String> path, List<String> urls) argument
452 String name = path.next();
478 if (path.hasNext()) {
479 getCertURLs(node, path, urls);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPathInterpolatorBuilder.java30 public PathInterpolatorBuilder(Path path) { argument
31 initPath(path);
44 Path path = new Path();
45 path.moveTo(0, 0);
46 path.quadTo(controlX, controlY, 1f, 1f);
47 initPath(path);
51 Path path = new Path();
52 path.moveTo(0, 0);
53 path.cubicTo(x1, y1, x2, y2, 1f, 1f);
54 initPath(path);
57 initPath(Path path) argument
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DFileA3D.java228 * @param path location of the file to load
232 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { argument
234 long fileId = rs.nFileA3DCreateFromAsset(mgr, path);
237 throw new RSRuntimeException("Unable to create a3d file from asset " + path);
249 * @param path location of the file to load
253 static public FileA3D createFromFile(RenderScript rs, String path) { argument
254 long fileId = rs.nFileA3DCreateFromFile(path);
257 throw new RSRuntimeException("Unable to create a3d file from " + path);
269 * @param path location of the file to load
273 static public FileA3D createFromFile(RenderScript rs, File path) { argument
[all...]
H A DFont.java160 static public Font createFromFile(RenderScript rs, Resources res, String path, float pointSize) { argument
163 long fontId = rs.nFontCreateFromFile(path, pointSize, dpi);
166 throw new RSRuntimeException("Unable to create font from file " + path);
176 static public Font createFromFile(RenderScript rs, Resources res, File path, float pointSize) { argument
177 return createFromFile(rs, res, path.getAbsolutePath(), pointSize);
183 static public Font createFromAsset(RenderScript rs, Resources res, String path, float pointSize) { argument
188 long fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi);
190 throw new RSRuntimeException("Unable to create font from asset " + path);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DRoutingControlAction.java36 * <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/base/tools/aapt2/io/
H A DZipArchive.cpp76 std::unique_ptr<ZipFileCollection> ZipFileCollection::create(const StringPiece& path, argument
83 int32_t result = OpenArchive(path.data(), &collection->mHandle);
110 std::string nestedPath = path.toString() + "@" + zipEntryPath;
123 IFile* ZipFileCollection::findFile(const StringPiece& path) { argument
124 auto iter = mFiles.find(path.toString());
/frameworks/base/tools/aapt2/process/
H A DSymbolTable.cpp138 bool AssetManagerSymbolSource::addAssetPath(const StringPiece& path) { argument
140 return mAssets.addAssetPath(android::String8(path.data(), path.size()), &cookie);
/frameworks/base/tools/fonts/
H A Dfontchain_lint.py7 from os import path namespace
75 font_path = path.join(_fonts_dir, font_file)
177 for hyb_file in glob.iglob(path.join(hyphens_dir, '*.hyb')):
178 hyb_file = path.basename(hyb_file)
403 path.join(ucd_path, 'emoji-data.txt'), reverse=True)
405 path.join(ucd_path, 'DerivedAge.txt'), reverse=True)
407 path.join(ucd_path, 'StandardizedVariants.txt'))
410 path.join(ucd_path, 'emoji-sequences.txt'))
412 path.join(ucd_path, 'emoji-zwj-sequences.txt'))
541 _fonts_dir = path
[all...]
/frameworks/compile/mclinker/include/mcld/MC/
H A DCommandAction.h34 const sys::fs::Path& path() const { return m_Path; } function in class:mcld::InputFileAction
63 const sys::fs::Path& path() const { return m_Path; } function in class:mcld::BitcodeAction
/frameworks/compile/mclinker/lib/MC/
H A DCommandAction.cpp36 pBuilder.createNode<InputTree::Positional>(path().stem().native(), path());
50 const sys::fs::Path* path = NULL; local
51 // find out the real path of the namespec.
58 path = m_SearchDirs.find(namespec(), Input::Archive);
62 path = m_SearchDirs.find(namespec(), Input::DynObj);
66 path = m_SearchDirs.find(namespec(), Input::Archive);
69 if (path == NULL) {
74 pBuilder.createNode<InputTree::Positional>(namespec(), *path); local
87 "bitcode", path(), Inpu
[all...]

Completed in 2259 milliseconds

1234567891011>>