Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 97) sorted by relevance

1234

/development/vndk/tools/header-checker/
DAndroid.bp45 "src",
60 "src/dumper/abi_wrappers.cpp",
61 "src/dumper/ast_processing.cpp",
62 "src/dumper/diagnostic_consumer.cpp",
63 "src/dumper/fake_decl_source.cpp",
64 "src/dumper/fixed_argv.cpp",
65 "src/dumper/frontend_action.cpp",
66 "src/dumper/frontend_action_factory.cpp",
67 "src/dumper/header_checker.cpp",
112 "src/linker/header_abi_linker.cpp",
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DM4.java38 public void multiply(GLVertex src, GLVertex dest) { in multiply() argument
39 dest.x = src.x * m[0][0] + src.y * m[1][0] + src.z * m[2][0] + m[3][0]; in multiply()
40 dest.y = src.x * m[0][1] + src.y * m[1][1] + src.z * m[2][1] + m[3][1]; in multiply()
41 dest.z = src.x * m[0][2] + src.y * m[1][2] + src.z * m[2][2] + m[3][2]; in multiply()
/development/samples/training/testingfun/app/
Dbuild.gradle15 java.srcDirs = ['src']
16 resources.srcDirs = ['src']
17 aild.srcDirs = ['src']
18 renderscript.srcDirs = ['src']
24 instrumentTest.java.srcDirs = ['tests/src']
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DBitmapHelper.java33 public static Bitmap scaleBitmap(Bitmap src, int maxWidth, int maxHeight) { in scaleBitmap() argument
35 ((double) maxWidth)/src.getWidth(), ((double) maxHeight)/src.getHeight()); in scaleBitmap()
36 return Bitmap.createScaledBitmap(src, in scaleBitmap()
37 (int) (src.getWidth() * scaleFactor), (int) (src.getHeight() * scaleFactor), false); in scaleBitmap()
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
DFoldingLayout.java499 Rect src;
503 src = mFoldRectArray[x];
512 mDstRect.set(0, 0, src.width(), src.height());
513 canvas.drawBitmap(mFullBitmap, src, mDstRect, null);
519 canvas.clipRect(0, 0, src.right - src.left, src.bottom - src.top);
522 canvas.translate(-src.left, 0);
524 canvas.translate(0, -src.top);
530 canvas.translate(src.left, 0);
532 canvas.translate(0, src.top);
/development/samples/ApiDemos/
DAndroid.mk8 $(call all-java-files-under, src) \
9 src/com/example/android/apis/app/IRemoteService.aidl \
10 src/com/example/android/apis/app/IRemoteServiceCallback.aidl \
11 src/com/example/android/apis/app/ISecondary.aidl \
/development/samples/ShortcutSample/
DAndroid.mk35 LOCAL_SRC_FILES := $(call all-java-files-under, src)
59 LOCAL_SRC_FILES := $(call all-java-files-under, src)
83 LOCAL_SRC_FILES := $(call all-java-files-under, src)
108 LOCAL_SRC_FILES := $(call all-java-files-under, src)
133 LOCAL_SRC_FILES := $(call all-java-files-under, src)
/development/vndk/tools/header-checker/tests/
Dmodule.py81 def __init__(self, name, src, export_include_dirs=tuple(), cflags=tuple(), argument
85 self.src = relative_to_abs_path(src)
93 self.src, output_path, cflags=self.cflags,
98 return SdumpModule(self.name, self.src, self.export_include_dirs,
122 for src in self.srcs:
124 os.path.basename(src) + '.sdump')
127 src, sdump_path, self.cflags + self.arch_cflags,
150 src='integration/cpp/header/undeclared_types.h',
155 src='integration/cpp/header/known_issues.h',
/development/samples/ShortcutDemo/publisher/
DAndroid.mk34 LOCAL_SRC_FILES := $(call all-java-files-under, src)
35 LOCAL_SRC_FILES += $(call all-java-files-under, ../common/src)
58 LOCAL_SRC_FILES := $(call all-java-files-under, src)
59 LOCAL_SRC_FILES += $(call all-java-files-under, ../common/src)
/development/gsi/gsi_util/
Dbuild.py70 def _create_dirs_and_copy_file(dest, src): argument
78 logging.debug('copy(): %s %s', src, dest)
79 shutil.copy(src, dest)
89 full_src = os.path.join(host_out, item.src)
114 print ' {:20} <== {}'.format(item.dest, item.src)
/development/samples/ShortcutDemo/launcher/
DAndroid.mk30 LOCAL_SRC_FILES := $(call all-java-files-under, src)
31 LOCAL_SRC_FILES += $(call all-java-files-under, ../common/src)
57 LOCAL_SRC_FILES := $(call all-java-files-under, src)
58 LOCAL_SRC_FILES += $(call all-java-files-under, ../common/src)
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPolyToPoly.java41 private void doDraw(Canvas canvas, float src[], float dst[]) { in doDraw() argument
43 mMatrix.setPolyToPoly(src, 0, dst, 0, src.length >> 1); in doDraw()
59 canvas.drawText(src.length/2 + "", x, y, mPaint); in doDraw()
DPurgeableBitmapView.java59 Bitmap src = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, in PurgeableBitmapView() local
61 bitstream = generateBitstream(src, Bitmap.CompressFormat.JPEG, 80); in PurgeableBitmapView()
109 private byte[] generateBitstream(Bitmap src, Bitmap.CompressFormat format, in generateBitstream() argument
112 src.compress(format, quality, os); in generateBitstream()
DBitmapPixels.java111 private static IntBuffer makeBuffer(int[] src, int n) { in makeBuffer() argument
114 dst.put(src); in makeBuffer()
120 private static ShortBuffer makeBuffer(short[] src, int n) { in makeBuffer() argument
123 dst.put(src); in makeBuffer()
DBitmapMesh.java86 float[] src = mOrig; in warp() local
89 float x = src[i+0]; in warp()
90 float y = src[i+1]; in warp()
/development/tools/repo_diff/service/repodiff/
DDockerfile2 ADD . /go/src/repodiff
10 && cd /go/src/repodiff \
31 COPY --from=0 /go/src/repodiff/*py ./pytools/
32 COPY --from=0 /go/src/repodiff/*txt ./pytools/
/development/testrunner/
Dadb_interface.py104 def Push(self, src, dest): argument
111 self.SendCommand("push %s %s" % (src, dest), timeout_time=60)
113 def Pull(self, src, dest): argument
127 if self.DoesFileExist(src):
128 self.SendCommand("pull %s %s" % (src, dest), timeout_time=60)
131 logger.Log("ADB Pull Failed: Source file %s does not exist." % src)
146 def DoesFileExist(self, src): argument
156 output = self.SendShellCommand("ls %s" % src)
/development/tools/idegen/src/com/android/idegen/
DModule.java170 File src = new File(moduleRoot, value); in findSourceFilesAndImplicitDependencies() local
174 if (src.exists()) { in findSourceFilesAndImplicitDependencies()
178 File moduleRoot = DirectorySearch.findModuleRoot(src); in findSourceFilesAndImplicitDependencies()
193 sourceFiles.add(src); in findSourceFilesAndImplicitDependencies()
235 for (File src : srcDirs) { in buildImlFile()
236 String relative = src.getCanonicalPath().substring(moduleDir.length()); in buildImlFile()
247 for (File src : excludeDirs) { in buildImlFile()
248 String relative = src.getCanonicalPath().substring(moduleDir.length()); in buildImlFile()
DFrameworkModule.java65 for (File src : intermediateSrcDirs) { in appendContentRoot()
67 .append(src.getCanonicalPath()).append("\" isTestSource=\"false\" />\n"); in appendContentRoot()
/development/vndk/tools/header-checker/src/utils/
Dheader_abi_util.h65 inline void AddToMap(std::map<K, T> *dst, Iterable &src, KeyGetter get_key, in AddToMap() argument
67 for (auto &&element : src) { in AddToMap()
73 inline void AddToSet(std::set<K> *dst, Iterable &src, KeyGetter get_key) { in AddToSet() argument
74 for (auto &&element : src) { in AddToSet()
/development/samples/RenderScript/HelloCompute/
DAndroid.mk22 LOCAL_SRC_FILES := $(call all-java-files-under, src) \
23 $(call all-renderscript-files-under, src)
/development/samples/RenderScript/Levels/
DAndroid.mk22 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
/development/vndk/snapshot/
Dgen_buildfiles.py436 for src in sorted(src_paths):
441 prop_path = os.path.join(src_root, src+'.json')
474 os.path.join(arch, src)),
479 src=src)
491 src_paths = list(filter(lambda src: not src.startswith(utils.BINDER32),
/development/samples/BusinessCard/
DAndroid.bp4 srcs: ["src/**/*.java"],
17 srcs: ["src/**/*.java"],
/development/samples/SkeletonApp/
Dreadme.txt21 src/*
26 src/com/android/skeletonapp/SkeletonActivity.java
30 {src/PACKAGE/CLASS.java}, where PACKAGE comes from the name in the <package>

1234