Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 246) sorted by relevance

12345678910

/development/perftests/panorama/feature_mos/src/mosaic/
DMatrixUtils.h63 static void convert9to33(double out[3][3], double in[9]) { in convert9to33()
64 out[0][0] = in[0]; in convert9to33()
65 out[0][1] = in[1]; in convert9to33()
66 out[0][2] = in[2]; in convert9to33()
68 out[1][0] = in[3]; in convert9to33()
69 out[1][1] = in[4]; in convert9to33()
70 out[1][2] = in[5]; in convert9to33()
72 out[2][0] = in[6]; in convert9to33()
73 out[2][1] = in[7]; in convert9to33()
74 out[2][2] = in[8]; in convert9to33()
[all …]
DInterp.h51 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; in ciCalc() local
54 tmpf[0] = in[0] * ciTable[off + 40]; in ciCalc()
55 tmpf[0] += in[1] * ciTable[off]; in ciCalc()
56 tmpf[0] += in[2] * ciTable[40 - off]; in ciCalc()
57 tmpf[0] += in[3] * ciTable[80 - off]; in ciCalc()
58 in += img->pitch; in ciCalc()
59 tmpf[1] = in[0] * ciTable[off + 40]; in ciCalc()
60 tmpf[1] += in[1] * ciTable[off]; in ciCalc()
61 tmpf[1] += in[2] * ciTable[40 - off]; in ciCalc()
62 tmpf[1] += in[3] * ciTable[80 - off]; in ciCalc()
[all …]
DImageUtils.h62 static void rgb2yvu(ImageType out, ImageType in, int width, int height);
64 static void rgba2yvu(ImageType out, ImageType in, int width, int height);
76 static void yvu2rgb(ImageType out, ImageType in, int width, int height);
77 static void yvu2bgr(ImageType out, ImageType in, int width, int height);
91 static ImageType rgb2gray(ImageType in, int width, int height);
92 static ImageType rgb2gray(ImageType out, ImageType in, int width, int height);
DImageUtils.cpp28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) in rgba2yvu() argument
34 ImageType image = in; in rgba2yvu()
73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) in rgb2yvu() argument
79 ImageType image = in; in rgb2yvu()
116 ImageType ImageUtils::rgb2gray(ImageType in, int width, int height) in rgb2gray() argument
120 ImageType image = in; in rgb2gray()
146 ImageType ImageUtils::rgb2gray(ImageType out, ImageType in, int width, int height) in rgb2gray() argument
150 ImageType image = in; in rgb2gray()
176 ImageType *ImageUtils::imageTypeToRowPointers(ImageType in, int width, int height) in imageTypeToRowPointers() argument
185 m_rows[i] = &in[(m_w)*i]; in imageTypeToRowPointers()
[all …]
DPyramid.cpp148 void PyramidShort::BorderExpandOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr, in BorderExpandOdd() argument
152 int off = in->border / 2; in BorderExpandOdd()
155 for (j = -off; j < in->height + off; j++) { in BorderExpandOdd()
159 int t1 = in->ptr[j][i]; in BorderExpandOdd()
160 int t2 = in->ptr[j+1][i]; in BorderExpandOdd()
162 ((6 * t1 + (in->ptr[j-1][i] + t2) + 4) >> 3); in BorderExpandOdd()
213 void PyramidShort::BorderReduceOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr) in BorderReduceOdd() argument
222 p = in->ptr[-scr->border] - off; in BorderReduceOdd()
223 np = p + in->pitch; in BorderReduceOdd()
226 for (; s < ls; s = ns, ns += scr->pitch, p = np, np += in->pitch) { in BorderReduceOdd()
[all …]
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/
DDirectoryEntry.java31 protected DirectoryEntry(Parcel in) { in DirectoryEntry() argument
32 fileName = in.readString(); in DirectoryEntry()
33 mimeType = in.readString(); in DirectoryEntry()
38 public DirectoryEntry createFromParcel(Parcel in) {
39 return new DirectoryEntry(in);
/development/ndk/platforms/android-9/arch-x86/include/asm/
Dio_32.h30 …t##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl#…
31in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw …
/development/perftests/panorama/feature_stab/src/dbregtest/
DPgmImage.cpp111 ifstream in(filename.c_str(),std::ios::in | std::ios::binary); in ReadPGM() local
112 if ( !in.is_open() ) in ReadPGM()
118 getline(in,format_header); in ReadPGM()
127 while ( in.peek() == '#' ) in ReadPGM()
128 getline(in,m_comment); in ReadPGM()
130 getline(in,size_header); in ReadPGM()
132 while ( in.peek() == '#' ) in ReadPGM()
133 getline(in,m_comment); in ReadPGM()
144 getline(in,colors_header); in ReadPGM()
161 in.read((char *)(&m_data[0]),m_data.size()); in ReadPGM()
[all …]
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DPhotoItem.java66 public PhotoItem createFromParcel(Parcel in) {
67 return new PhotoItem(in);
76 private PhotoItem(Parcel in) { in PhotoItem() argument
77 mTitle = in.readString(); in PhotoItem()
78 mImageResourceId = in.readInt(); in PhotoItem()
/development/samples/BackupRestore/src/com/example/android/backuprestore/
DExampleAgent.java147 DataInputStream in = new DataInputStream(instream); in compareStateFile() local
150 int stateVersion = in.readInt(); in compareStateFile()
163 int lastFilling = in.readInt(); in compareStateFile()
164 boolean lastMayo = in.readBoolean(); in compareStateFile()
165 boolean lastTomato = in.readBoolean(); in compareStateFile()
223 DataInputStream in = new DataInputStream(baStream); in onRestore() local
225 mFilling = in.readInt(); in onRestore()
226 mAddMayo = in.readBoolean(); in onRestore()
227 mAddTomato = in.readBoolean(); in onRestore()
DMultiRecordExampleAgent.java88 DataInputStream in = new DataInputStream(instream); in onBackup() local
92 lastFilling = in.readInt(); in onBackup()
93 lastMayo = in.readBoolean(); in onBackup()
94 lastTomato = in.readBoolean(); in onBackup()
176 DataInputStream in = new DataInputStream(instream); in onRestore() local
179 mFilling = in.readInt(); in onRestore()
181 mAddMayo = in.readBoolean(); in onRestore()
183 mAddTomato = in.readBoolean(); in onRestore()
/development/samples/SkeletonApp/
Dreadme.txt8 list in the app launcher (it is named Skeleton App) or by selecting it from
9 the top list in the Sample Code app.
18 to the user (in the app launcher's list), handle data types, etc.
28 This is the implementation of the "activity" feature described in
30 {src/PACKAGE/CLASS.java}, where PACKAGE comes from the name in the <package>
31 tag and CLASS comes from the class in the <activity> tag.
51 drawn to the screen. These can be bitmaps (in .png or .jpeg format) or
53 here is used as the image to display in one of the views in
62 These XML files describe additional resources included in the application.
63 They all use the same syntax; all of these resources could be defined in one
/development/tutorials/MoarRam/
DREADME.txt5 1) Java_com_android_benchmark_moarram_MainActivity_add32ByteBlocksNative in
7 2) Java_com_android_benchmark_moarram_MainActivity_add2MByteBlocksNative in
10 in baz.c (libmoarram-baz.so). Each invocation will allocate 17 or 71 bytes,
11 depending on the active button in a radio group.
13 Each allocation can be freed by clicking the corresponding free button in the
/development/samples/ControllerSample/
Dproguard-project.txt1 # To enable ProGuard in your project, edit project.properties
2 # to define the proguard.config property as described in that file.
5 # By default, the flags in this file are appended to flags specified
6 # in ${sdk.dir}/tools/proguard/proguard-android.txt
8 # include property in project.properties.
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarm.java43 protected Alarm(Parcel in) { in Alarm() argument
44 id = in.readInt(); in Alarm()
45 month = in.readInt(); in Alarm()
46 date = in.readInt(); in Alarm()
47 hour = in.readInt(); in Alarm()
48 minute = in.readInt(); in Alarm()
53 public Alarm createFromParcel(Parcel in) {
54 return new Alarm(in);
/development/samples/training/NsdChat/
Dproguard.cfg1 # To enable ProGuard in your project, edit project.properties
2 # to define the proguard.config property as described in that file.
5 # By default, the flags in this file are appended to flags specified
6 # in ${sdk.dir}/tools/proguard/proguard-android.txt
8 # include property in project.properties.
/development/tools/idegen/
DREADME2 and Eclipse. Your IDE should be able to compile everything in a reasonable
10 in "IDEA_HOME/bin/idea.vmoptions" on Linux or
24 3) Open android.ipr in IntelliJ. If you already have the project open,
25 hit the sync button in IntelliJ, and it will automatically detect the
42 least one jar is present, so include a random jar that won't get in the
56 IDEGen keeps an exclusion list in the "excluded-paths" file. This file
62 "excluded-paths" file in the project's root directory. For example, you
63 might exclude all apps except the Browser in your IDE configuration with
68 You may want some source roots to come before others in Eclipse. Simply
69 create a file named "path-precedence" in your project's root directory.
[all …]
Dexcluded-paths8 # Developers can also create an 'excluded-paths' file in the project's root
17 # Note: Google-specific excludes go in vendor/google/excluded-paths.
19 # Generated API stubs. We only want the originals in our IDE.
30 # Not actually built. Also disabled in make file.
39 # fully featured desktop VM while almost everything in our IDE configuration
41 # environments in one IDE configuration doesn't work well.
51 # Each test has a Main.java in the default package, so they conflict with
62 # This directory contains only an R.java file which is the same as the one in
/development/tools/idegen/src/
DFiles.java31 Reader in = new FileReader(file); in toString() local
33 while ((read = in.read(buffer)) > -1) { in toString()
36 in.close(); in toString()
/development/ndk/platforms/android-18/samples/MoreTeapots/assets/Shaders/
DShaderPlainES3.fsh7 in lowp vec4 colorDiffuse;
8 in vec3 position;
9 in vec3 normal;
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt2 abide - v. dwell; inhabit or live in
3 abound - v. be abundant or plentiful; exist in large quantities
5 absorb - v. assimilate or take in
8 abundant - j. present in great quantity
34 advocate - v. speak, plead, or argue in favor of
48 alternate - j. serving or used in place of another
49 alternative - j. serving or used in place of another
55 analogy - n. drawing a comparison in order to show a similarity in some respect
62 antichrist - n. the adversary of Christ (or Christianity) mentioned in the New Testament
63 antique - j. made in or typical of earlier times and valued for its age
[all …]
/development/tools/labpretest/
DREADME9 It will detect if it is in a low battery situation and wait for it to charge
15 I would connect 8 devices to a host and run this script in 8 separate shell
30 The script uses included copies of adb and fastboot which are in in the tools/
32 sub directory and put adb and fastboot in it and make sure they are executable.
38 2) Copy a build image to the new sub directory in our format.
40 3) Copy a boot image to the new sub directory in our format.
42 4) Copy a radio image to the new sub directory in our format.
47 file that is read in before the main loop starts. It allows you to add any non
/development/samples/Vault/src/com/example/android/vault/
DUtils.java59 final InputStream in = new FileInputStream(file); in readFully() local
64 while ((count = in.read(buffer)) != -1) { in readFully()
69 in.close(); in readFully()
/development/perftests/panorama/feature_stab/src/dbreg/
Dvp_motionmodel.c90 int inv4Mat(const VP_MOTION* in, VP_MOTION* out) in inv4Mat() argument
102 if (((VP_MOTION *) NULL == in) || ((VP_MOTION *) NULL == out)) { in inv4Mat()
108 inmat[i][j]=(double)in->par[k]; in inv4Mat()
179 int vp_invert_motion(const VP_MOTION* in,VP_MOTION* out) in vp_invert_motion() argument
184 if (((VP_MOTION *) NULL == in) || ((VP_MOTION *) NULL == out)) { in vp_invert_motion()
188 if (in->type>VP_MOTION_SEMI_PROJ_3D) { in vp_invert_motion()
192 if (inv4Mat(in,out)<0) in vp_invert_motion()
196 out->type = in->type; in vp_invert_motion()
197 refid=in->refid; in vp_invert_motion()
198 out->refid=in->insid; in vp_invert_motion()
[all …]
/development/samples/devbytes/telephony/SmsSampleProject/app/
Dproguard-rules.pro2 # By default, the flags in this file are appended to flags specified
3 # in /usr/local/google/home/omakoto/Android/Sdk/tools/proguard/proguard-android.txt
5 # directive in build.gradle.

12345678910