Searched refs:path (Results 101 - 125 of 855) sorted by relevance

1234567891011>>

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/solver/
H A DExecutionBranch.java35 public ExecutionBranch(@NotNull ExecutionPath path, @NotNull Expr conditional, argument
39 mPath = path;
/frameworks/support/transition/api14/android/support/transition/
H A DObjectAnimatorUtilsApi14.java29 public <T> ObjectAnimator ofPointF(T target, Property<T, PointF> property, Path path) { argument
30 return ObjectAnimator.ofFloat(target, new PathProperty<>(property, path), 0f, 1f);
/frameworks/support/transition/src/android/support/transition/
H A DObjectAnimatorUtils.java37 static <T> ObjectAnimator ofPointF(T target, Property<T, PointF> property, Path path) { argument
38 return IMPL.ofPointF(target, property, path);
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp86 String8 path(root);
87 path.appendPath(kResourceCache);
103 path.appendPath(filename);
104 path.append("@idmap");
106 return path;
161 const String8& path, int32_t* cookie, bool appAsLib, bool isSystemAsset) {
166 String8 realPath(path);
172 ap.path = realPath;
174 ap.path = path;
160 addAssetPath( const String8& path, int32_t* cookie, bool appAsLib, bool isSystemAsset) argument
1020 String8 path = createPathNameLocked(ap, rootDir); local
1086 scanDirLocked(const String8& path) argument
1363 SharedZip(const String8& path, time_t modWhen) argument
1377 get(const String8& path, bool createIfNotPresent) argument
1507 getZip(const String8& path) argument
1518 getZipResourceTableAsset(const String8& path) argument
1529 setZipResourceTableAsset(const String8& path, Asset* asset) argument
1538 getZipResourceTable(const String8& path) argument
1549 setZipResourceTable(const String8& path, ResTable* res) argument
1580 addOverlay(const String8& path, const asset_path& overlay) argument
1587 getOverlay(const String8& path, size_t idx, asset_path* out) const argument
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java372 * @param path Path to the content from which you are retrieving DRM constraints.
379 public ContentValues getConstraints(String path, int action) { argument
380 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) {
381 throw new IllegalArgumentException("Given usage or path is invalid/null");
383 return _getConstraints(mUniqueId, path, action);
389 * @param path Path to the content from which you are retrieving metadata information.
394 public ContentValues getMetadata(String path) { argument
395 if (null == path || path
481 canHandle(String path, String mimeType) argument
568 getDrmObjectType(String path, String mimeType) argument
606 getOriginalMimeType(String path) argument
655 checkRightsStatus(String path) argument
682 checkRightsStatus(String path, int action) argument
712 removeRights(String path) argument
882 _getConstraints(int uniqueId, String path, int usage) argument
884 _getMetadata(int uniqueId, String path) argument
886 _canHandle(int uniqueId, String path, String mimeType) argument
895 _getDrmObjectType(int uniqueId, String path, String mimeType) argument
897 _getOriginalMimeType(int uniqueId, String path, FileDescriptor fd) argument
899 _checkRightsStatus(int uniqueId, String path, int action) argument
901 _removeRights(int uniqueId, String path) argument
[all...]
/frameworks/av/drm/libdrmframework/include/
H A DDrmManager.h73 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
75 DrmMetadata* getMetadata(int uniqueId, const String8* path);
77 bool canHandle(int uniqueId, const String8& path, const String8& mimeType);
86 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd);
88 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
90 int checkRightsStatus(int uniqueId, const String8& path, int action);
98 int uniqueId, const String8& path, int action, const ActionDescription& description);
100 status_t removeRights(int uniqueId, const String8& path);
136 String8 getSupportedPlugInId(int uniqueId, const String8& path, const String8& mimeType);
140 String8 getSupportedPlugInIdFromPath(int uniqueId, const String8& path);
[all...]
/frameworks/base/libs/hwui/
H A DPathCache.h62 PathTask(const SkPath* path, const SkPaint* paint, PathTexture* texture): argument
63 path(*path), paint(*paint), texture(texture) {
66 // copied, since input path not guaranteed to survive for duration of task
67 const SkPath path; member in class:android::uirenderer::PathTask
75 * Alpha texture used to represent a path.
88 * Left coordinate of the path bounds.
92 * Top coordinate of the path bounds.
96 * Offset to draw the path at the correct origin.
140 } path; member in union:android::uirenderer::PathDescription::Shape
[all...]
H A DPathCache.cpp118 return shape.path.mGenerationID == rhs.shape.path.mGenerationID;
126 static void computePathBounds(const SkPath* path, const SkPaint* paint, PathTexture* texture, argument
128 const SkRect& bounds = path->getBounds();
152 static sk_sp<Bitmap> drawPath(const SkPath* path, const SkPaint* paint, PathTexture* texture, argument
155 computePathBounds(path, paint, texture, width, height);
171 canvas.drawPath(*path, pathPaint);
231 // If there is a pending task, the path was not added
234 ALOGE("Removing path texture of size %d will leave "
274 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path, argument
338 removeDeferred(const SkPath* path) argument
365 get(const SkPath* path, const SkPaint* paint) argument
395 remove(const SkPath* path, const SkPaint* paint) argument
401 precache(const SkPath* path, const SkPaint* paint) argument
454 SkPath path; local
476 SkPath path; local
497 SkPath path; local
520 SkPath path; local
547 SkPath path; local
[all...]
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A DRegion.java55 final Path path = new Path();
59 path.moveTo(mPointsXY[i] - bounds.left + mCutOffsetX,
62 path.lineTo(mPointsXY[i] - bounds.left + mCutOffsetX,
66 path.close();
81 canvas.drawPath(path, paint1);
82 canvas.drawPath(path, paint2);
105 final Path path = new Path();
108 path.moveTo(mPointsXY[i] - mRoiBounds.left + cutOffsetX,
111 path.lineTo(mPointsXY[i] - mRoiBounds.left + cutOffsetX,
116 path
[all...]
/frameworks/av/drm/common/
H A DDrmEngineBase.cpp30 int uniqueId, const String8* path, int action) {
31 return onGetConstraints(uniqueId, path, action);
34 DrmMetadata* DrmEngineBase::getMetadata(int uniqueId, const String8* path) { argument
35 return onGetMetadata(uniqueId, path);
51 bool DrmEngineBase::canHandle(int uniqueId, const String8& path) { argument
52 return onCanHandle(uniqueId, path);
69 String8 DrmEngineBase::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument
70 return onGetOriginalMimeType(uniqueId, path, fd);
73 int DrmEngineBase::getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) { argument
74 return onGetDrmObjectType(uniqueId, path, mimeTyp
29 getConstraints( int uniqueId, const String8* path, int action) argument
77 checkRightsStatus(int uniqueId, const String8& path, int action) argument
91 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
97 removeRights(int uniqueId, const String8& path) argument
[all...]
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClient.cpp42 DrmConstraints* DrmManagerClient::getConstraints(const String8* path, const int action) { argument
43 return mDrmManagerClientImpl->getConstraints(mUniqueId, path, action);
46 DrmMetadata* DrmManagerClient::getMetadata(const String8* path) { argument
47 return mDrmManagerClientImpl->getMetadata(mUniqueId, path);
50 bool DrmManagerClient::canHandle(const String8& path, const String8& mimeType) { argument
51 return mDrmManagerClientImpl->canHandle(mUniqueId, path, mimeType);
67 String8 DrmManagerClient::getOriginalMimeType(const String8& path, int fd) { argument
68 return mDrmManagerClientImpl->getOriginalMimeType(mUniqueId, path, fd);
71 int DrmManagerClient::getDrmObjectType(const String8& path, const String8& mimeType) { argument
72 return mDrmManagerClientImpl->getDrmObjectType( mUniqueId, path, mimeTyp
75 checkRightsStatus(const String8& path, int action) argument
90 validateAction( const String8& path, int action, const ActionDescription& description) argument
95 removeRights(const String8& path) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DDrmEngineBase.h37 DrmConstraints* getConstraints(int uniqueId, const String8* path, int action);
39 DrmMetadata* getMetadata(int uniqueId, const String8* path);
47 bool canHandle(int uniqueId, const String8& path);
56 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd);
58 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
60 int checkRightsStatus(int uniqueId, const String8& path, int action);
68 int uniqueId, const String8& path, int action, const ActionDescription& description);
70 status_t removeRights(int uniqueId, const String8& path);
115 * @param[in] path Path of the protected content
124 int uniqueId, const String8* path, in
[all...]
/frameworks/av/media/libeffects/downmix/
H A DAndroid.mk20 $(call include-path-for, audio-effects) \
21 $(call include-path-for, audio-utils)
/frameworks/base/core/java/android/os/storage/
H A DStorageEventListener.java34 * @param path the filesystem path for the storage
38 public void onStorageStateChanged(String path, String oldState, String newState) { argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_SerialService.cpp37 static jobject android_server_SerialService_open(JNIEnv *env, jobject /* thiz */, jstring path) argument
39 const char *pathStr = env->GetStringUTFChars(path, NULL);
44 env->ReleaseStringUTFChars(path, pathStr);
47 env->ReleaseStringUTFChars(path, pathStr);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DLockSettingsStorageTestable.java57 File path = new File(filePath);
58 if (path.getParent() == null) {
61 File mappedDir = new File(baseDir, path.getParent());
63 return new File(mappedDir, path.getName());
/frameworks/base/tools/aapt2/flatten/
H A DArchive.cpp54 bool StartEntry(const StringPiece& path, uint32_t flags) override {
60 file::AppendPath(&full_path, path);
92 bool WriteFile(const StringPiece& path, uint32_t flags, io::InputStream* in) override {
93 if (!StartEntry(path, flags)) {
123 bool Open(const StringPiece& path) { argument
124 file_ = {fopen(path.data(), "w+b"), fclose};
133 bool StartEntry(const StringPiece& path, uint32_t flags) override {
147 int32_t result = writer_->StartEntry(path.data(), zip_flags);
173 bool WriteFile(const StringPiece& path, uint32_t flags, io::InputStream* in) override {
175 if (!StartEntry(path, flag
242 CreateDirectoryArchiveWriter(IDiagnostics* diag, const StringPiece& path) argument
252 CreateZipFileArchiveWriter(IDiagnostics* diag, const StringPiece& path) argument
[all...]
/frameworks/native/cmds/installd/
H A Dinstalld.cpp53 // Compute the output path of
54 bool calculate_oat_file_path(char path[PKG_PATH_MAX], argument
79 snprintf(path, PKG_PATH_MAX, "%s/%s/%s.odex", oat_dir, instruction_set, file_name);
87 * Returns false if it failed to determine the odex file path.
89 bool calculate_odex_file_path(char path[PKG_PATH_MAX], argument
94 SLOGE("apk_path '%s' may be too long to form odex file path.\n", apk_path);
98 strcpy(path, apk_path);
99 char *end = strrchr(path, '/');
104 const char *apk_end = apk_path + (end - path); // strrchr(apk_path, '/');
106 strcpy(end + 1, "oat/"); // path
118 create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) argument
[all...]
/frameworks/native/include/ui/
H A DGraphicsEnv.h30 // Set a search path for loading graphics drivers. The path is a list of
33 // in the search path must have a '!' after the zip filename, e.g.
35 void setDriverPath(const std::string path);
/frameworks/native/libs/binder/
H A DIShellCallback.cpp42 virtual int openOutputFile(const String16& path, const String16& seLinuxContext) { argument
45 data.writeString16(path);
65 String16 path(data.readString16());
67 int fd = openOutputFile(path, seLinuxContext);
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
H A DSharingSupportProvider.java76 String path = uri.getPath();
78 (path.equals("/foo.txt") || path.equals("/bar.txt"))) {
81 new File(getContext().getFilesDir() + path),
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DPlaybackSeekDiskDataProvider.java59 String path = String.format(mPathPattern, (index + 1));
60 if (new File(path).exists()) {
61 return BitmapFactory.decodeFile(path);
66 canvas.drawText(path, 10, 80, mPaint);
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/
H A Dbuild-local.py10 print 'About to replace repo path to {0} in {1}'.format(newVal, inputFile)
12 if os.path.exists(inputFile):
26 if not os.path.exists(leanback_maven_metadata_path):
35 # Get repo path
44 if not (os.path.isdir(repo_path) or os.path.isdir(support_frameworks_path)):
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
H A DSharingSupportProvider.java76 String path = uri.getPath();
78 (path.equals("/foo.txt") || path.equals("/bar.txt"))) {
81 new File(getContext().getFilesDir() + path),
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DPlaybackSeekDiskDataProvider.java59 String path = String.format(mPathPattern, (index + 1));
60 if (new File(path).exists()) {
61 return BitmapFactory.decodeFile(path);
66 canvas.drawText(path, 10, 80, mPaint);

Completed in 476 milliseconds

1234567891011>>