/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
D | db_utilities.h | 78 inline double db_sqr(double a) in db_sqr() argument 80 return(a*a); in db_sqr() 86 inline long db_sqr(long a) in db_sqr() argument 88 return(a*a); in db_sqr() 94 inline long db_sqr(int a) in db_sqr() argument 96 return(a*a); in db_sqr() 102 inline double db_maxd(double a,double b) in db_maxd() argument 104 if(b>a) return(b); in db_maxd() 105 else return(a); in db_maxd() 110 inline double db_mind(double a,double b) in db_mind() argument [all …]
|
D | db_utilities_poly.h | 39 inline void db_SolveQuadratic(double *roots,int *nr_roots,double a,double b,double c) in db_SolveQuadratic() argument 45 if(a==0.0) in db_SolveQuadratic() 56 rs=b*b-4.0*a*c; in db_SolveQuadratic() 62 roots[0]=q/a; in db_SolveQuadratic() 79 DB_API void db_SolveCubic(double *roots,int *nr_roots,double a,double b,double c,double d); 84 DB_API void db_SolveQuartic(double *roots,int *nr_roots,double a,double b,double c,double d,double … 89 DB_API void db_SolveQuarticForced(double *roots,int *nr_roots,double a,double b,double c,double d,d… 96 inline void db_MultiplyPoly1_1(double *d,const double *a,const double *b) in db_MultiplyPoly1_1() argument 100 a0=a[0];a1=a[1]; in db_MultiplyPoly1_1() 108 inline void db_MultiplyPoly0_2(double *d,const double *a,const double *b) in db_MultiplyPoly0_2() argument [all …]
|
D | db_utilities_poly.cpp | 28 void db_SolveCubic(double *roots,int *nr_roots,double a,double b,double c,double d) in db_SolveCubic() argument 40 if(a==0.0) db_SolveQuadratic(roots,nr_roots,b,c,d); in db_SolveCubic() 43 bp=b/a; in db_SolveCubic() 45 cp=c/a; in db_SolveCubic() 46 dp=d/a; in db_SolveCubic() 94 void db_SolveQuartic(double *roots,int *nr_roots,double a,double b,double c,double d,double e) in db_SolveQuartic() argument 111 if(a==0.0) db_SolveCubic(roots,nr_roots,b,c,d,e); in db_SolveQuartic() 114 db_SolveCubic(roots,nr_roots,a,b,c,d); in db_SolveQuartic() 121 c3=b/a; in db_SolveQuartic() 122 c2=c/a; in db_SolveQuartic() [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities.h | 78 inline double db_sqr(double a) in db_sqr() argument 80 return(a*a); in db_sqr() 86 inline long db_sqr(long a) in db_sqr() argument 88 return(a*a); in db_sqr() 94 inline long db_sqr(int a) in db_sqr() argument 96 return(a*a); in db_sqr() 102 inline double db_maxd(double a,double b) in db_maxd() argument 104 if(b>a) return(b); in db_maxd() 105 else return(a); in db_maxd() 110 inline double db_mind(double a,double b) in db_mind() argument [all …]
|
D | db_utilities_poly.h | 39 inline void db_SolveQuadratic(double *roots,int *nr_roots,double a,double b,double c) in db_SolveQuadratic() argument 45 if(a==0.0) in db_SolveQuadratic() 56 rs=b*b-4.0*a*c; in db_SolveQuadratic() 62 roots[0]=q/a; in db_SolveQuadratic() 79 DB_API void db_SolveCubic(double *roots,int *nr_roots,double a,double b,double c,double d); 84 DB_API void db_SolveQuartic(double *roots,int *nr_roots,double a,double b,double c,double d,double … 89 DB_API void db_SolveQuarticForced(double *roots,int *nr_roots,double a,double b,double c,double d,d… 96 inline void db_MultiplyPoly1_1(double *d,const double *a,const double *b) in db_MultiplyPoly1_1() argument 100 a0=a[0];a1=a[1]; in db_MultiplyPoly1_1() 108 inline void db_MultiplyPoly0_2(double *d,const double *a,const double *b) in db_MultiplyPoly0_2() argument [all …]
|
D | db_utilities_poly.cpp | 28 void db_SolveCubic(double *roots,int *nr_roots,double a,double b,double c,double d) in db_SolveCubic() argument 40 if(a==0.0) db_SolveQuadratic(roots,nr_roots,b,c,d); in db_SolveCubic() 43 bp=b/a; in db_SolveCubic() 45 cp=c/a; in db_SolveCubic() 46 dp=d/a; in db_SolveCubic() 94 void db_SolveQuartic(double *roots,int *nr_roots,double a,double b,double c,double d,double e) in db_SolveQuartic() argument 111 if(a==0.0) db_SolveCubic(roots,nr_roots,b,c,d,e); in db_SolveQuartic() 114 db_SolveCubic(roots,nr_roots,a,b,c,d); in db_SolveQuartic() 121 c3=b/a; in db_SolveQuartic() 122 c2=c/a; in db_SolveQuartic() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyStylesSet.java | 54 public String[] getStringArray(final TypedArray a, final int index) { in getStringArray() argument 55 return parseStringArray(a, index); in getStringArray() 59 public String getString(final TypedArray a, final int index) { in getString() argument 60 return parseString(a, index); in getString() 64 public int getInt(final TypedArray a, final int index, final int defaultValue) { in getInt() argument 65 return a.getInt(index, defaultValue); in getInt() 69 public int getFlags(final TypedArray a, final int index) { in getFlags() argument 70 return a.getInt(index, 0); in getFlags() 87 public String[] getStringArray(final TypedArray a, final int index) { in getStringArray() argument 88 if (a.hasValue(index)) { in getStringArray() [all …]
|
/packages/apps/Camera/jni/feature_stab/doc/ |
D | dbreg_API_doxyfile | 4 # doxygen (www.doxygen.org) for a project 6 # All text after a hash (#) is considered a comment and will be ignored 25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded 30 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 38 # If a relative path is entered, it will be relative to the location 46 # Enabling this option can be useful when feeding doxygen a huge amount of 73 # the brief description of a member or function before the detailed description. 79 # This tag implements a quasi-intelligent brief description abbreviator 87 # "represents" "a" "an" "the" 97 a \ [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/doc/ |
D | dbreg_API_doxyfile | 4 # doxygen (www.doxygen.org) for a project 6 # All text after a hash (#) is considered a comment and will be ignored 25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded 30 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 38 # If a relative path is entered, it will be relative to the location 46 # Enabling this option can be useful when feeding doxygen a huge amount of 73 # the brief description of a member or function before the detailed description. 79 # This tag implements a quasi-intelligent brief description abbreviator 87 # "represents" "a" "an" "the" 97 a \ [all …]
|
/packages/apps/Camera/jni/feature_mos/doc/ |
D | feature_mos_API_doxyfile | 4 # doxygen (www.doxygen.org) for a project 6 # All text after a hash (#) is considered a comment and will be ignored 25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded 30 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 38 # If a relative path is entered, it will be relative to the location 46 # Enabling this option can be useful when feeding doxygen a huge amount of 73 # the brief description of a member or function before the detailed description. 79 # This tag implements a quasi-intelligent brief description abbreviator 87 # "represents" "a" "an" "the" 97 a \ [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/doc/ |
D | feature_mos_API_doxyfile | 4 # doxygen (www.doxygen.org) for a project 6 # All text after a hash (#) is considered a comment and will be ignored 25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded 30 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 38 # If a relative path is entered, it will be relative to the location 46 # Enabling this option can be useful when feeding doxygen a huge amount of 73 # the brief description of a member or function before the detailed description. 79 # This tag implements a quasi-intelligent brief description abbreviator 87 # "represents" "a" "an" "the" 97 a \ [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Delaunay.h | 96 EdgePointer connectLeft(EdgePointer a, EdgePointer b); 97 EdgePointer connectRight(EdgePointer a, EdgePointer b); 98 int ccw(SitePointer a, SitePointer b, SitePointer c); 99 int incircle(SitePointer a, SitePointer b, SitePointer c, SitePointer d); 112 #define onext(a) next[a] argument 113 #define oprev(a) rot(onext(rot(a))) argument 114 #define lnext(a) rot(onext(rotinv(a))) argument 115 #define lprev(a) sym(onext(a)) argument 116 #define rnext(a) rotinv(onext(rot(a))) argument 117 #define rprev(a) onext(sym(a)) argument [all …]
|
D | Delaunay.cpp | 75 EdgePointer a, b, c, ldo, rdi, ldi, rdo, maxx, minx; in build() local 106 a = makeEdge(sp[low], sp[high]); in build() 107 *le = a; in build() 108 *re = (EdgePointer) sym(a); in build() 111 a = makeEdge((s1 = sp[low]), (s2 = sp[low+1])); in build() 113 splice((EdgePointer) sym(a), b); in build() 115 c = connectLeft(b, a); in build() 119 *le = a; in build() 123 c = connectLeft(b, a); in build() 146 void CDelaunay::splice(EdgePointer a, EdgePointer b) in splice() argument [all …]
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | Delaunay.h | 96 EdgePointer connectLeft(EdgePointer a, EdgePointer b); 97 EdgePointer connectRight(EdgePointer a, EdgePointer b); 98 int ccw(SitePointer a, SitePointer b, SitePointer c); 99 int incircle(SitePointer a, SitePointer b, SitePointer c, SitePointer d); 112 #define onext(a) next[a] argument 113 #define oprev(a) rot(onext(rot(a))) argument 114 #define lnext(a) rot(onext(rotinv(a))) argument 115 #define lprev(a) sym(onext(a)) argument 116 #define rnext(a) rotinv(onext(rot(a))) argument 117 #define rprev(a) onext(sym(a)) argument [all …]
|
D | Delaunay.cpp | 75 EdgePointer a, b, c, ldo, rdi, ldi, rdo, maxx, minx; in build() local 106 a = makeEdge(sp[low], sp[high]); in build() 107 *le = a; in build() 108 *re = (EdgePointer) sym(a); in build() 111 a = makeEdge((s1 = sp[low]), (s2 = sp[low+1])); in build() 113 splice((EdgePointer) sym(a), b); in build() 115 c = connectLeft(b, a); in build() 119 *le = a; in build() 123 c = connectLeft(b, a); in build() 146 void CDelaunay::splice(EdgePointer a, EdgePointer b) in splice() argument [all …]
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | Keyboard.java | 196 TypedArray a = res.obtainAttributes(Xml.asAttributeSet(parser), in Row() local 198 defaultWidth = getDimensionOrFraction(a, in Row() 201 defaultHeight = getDimensionOrFraction(a, in Row() 204 defaultHorizontalGap = getDimensionOrFraction(a, in Row() 207 verticalGap = getDimensionOrFraction(a, in Row() 210 a.recycle(); in Row() 211 a = res.obtainAttributes(Xml.asAttributeSet(parser), in Row() 213 rowEdgeFlags = a.getInt(android.R.styleable.Keyboard_Row_rowEdgeFlags, 0); in Row() 214 mode = a.getResourceId(android.R.styleable.Keyboard_Row_keyboardMode, in Row() 329 TypedArray a = res.obtainAttributes(Xml.asAttributeSet(parser), in Key() local [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/unit/ |
D | PhoneAccountRegistrarTest.java | 297 private static void assertPhoneAccountHandleEquals(PhoneAccountHandle a, PhoneAccountHandle b) { in assertPhoneAccountHandleEquals() argument 298 if (a != b) { in assertPhoneAccountHandleEquals() 300 a.getComponentName().getPackageName(), in assertPhoneAccountHandleEquals() 303 a.getComponentName().getClassName(), in assertPhoneAccountHandleEquals() 305 assertEquals(a.getId(), b.getId()); in assertPhoneAccountHandleEquals() 309 private static void assertPhoneAccountEquals(PhoneAccount a, PhoneAccount b) { in assertPhoneAccountEquals() argument 310 if (a != b) { in assertPhoneAccountEquals() 311 assertPhoneAccountHandleEquals(a.getAccountHandle(), b.getAccountHandle()); in assertPhoneAccountEquals() 312 assertEquals(a.getAddress(), b.getAddress()); in assertPhoneAccountEquals() 313 assertEquals(a.getSubscriptionAddress(), b.getSubscriptionAddress()); in assertPhoneAccountEquals() [all …]
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | WallpaperPickerActivity.java | 116 public void onClick(WallpaperPickerActivity a) {} in onClick() argument 117 public void onSave(WallpaperPickerActivity a) {} in onSave() argument 118 public void onDelete(WallpaperPickerActivity a) {} in onDelete() argument 130 public void onClick(WallpaperPickerActivity a) { in onClick() argument 133 a.startActivityForResultSafely(intent, IMAGE_PICK); in onClick() 145 public void onClick(final WallpaperPickerActivity a) { in onClick() argument 151 a.mSetWallpaperButton.setEnabled(false); in onClick() 156 a.selectTile(mView); in onClick() 157 a.mSetWallpaperButton.setEnabled(true); in onClick() 162 Toast.makeText(a, in onClick() [all …]
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTable.java | 303 static float lerp(float a, float b, float f) { in lerp() argument 304 return (b-a)*f + a; in lerp() 307 static float randfrange(float a, float b) { in randfrange() argument 308 return lerp(a, b, sRNG.nextFloat()); in randfrange() 314 float a = (float) Math.pow(1f-t, 3f); in randFromCurve() local 319 p.x = a * v[0].x + 3 * b * v[1].x + 3 * c * v[2].x + d * v[3].x; in randFromCurve() 320 p.y = a * v[0].y + 3 * b * v[1].y + 3 * c * v[2].y + d * v[3].y; in randFromCurve() 339 private double cross(double[] a, double[] b) { in cross() argument 340 return a[0] * b[1] - a[1] * b[0]; in cross() 343 private double norm(double[] a) { in norm() argument [all …]
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | sample.combined | 1 # This is a sample wordlist that can be converted to a binary dictionary 3 # The file is essentially a CSV file, with indent level denoting nesting. 5 # The file starts with a single CSV line with the header attributes. Whatever 10 # Each word has a `word' entry and at least a `f' argument denoting its 11 # probability, as an integer between 0 and 255 on a logarithmic scale, with 13 # As a special case, a weight of 0 is taken to mean profanity - words that 14 # should not be considered a typo, but that should never be suggested 15 # explicitly. An entry may be made not a word by adding a `not_a_word' 16 # field with a value of `true'. The main reason for putting such entries 17 # into the dictionary is to add shortcut targets and maybe a whitelist [all …]
|
/packages/apps/Music/src/com/android/music/ |
D | MusicUtils.java | 630 public static void setSpinnerState(Activity a) { in setSpinnerState() argument 631 if (isMediaScannerScanning(a)) { in setSpinnerState() 633 a.getWindow().setFeatureInt( in setSpinnerState() 637 a.getWindow().setFeatureInt( in setSpinnerState() 642 a.getWindow().setFeatureInt( in setSpinnerState() 650 public static void displayDatabaseError(Activity a) { in displayDatabaseError() argument 651 if (a.isFinishing()) { in displayDatabaseError() 691 a.setTitle(""); in displayDatabaseError() 693 intent.setClass(a, ScanningProgress.class); in displayDatabaseError() 694 a.startActivityForResult(intent, Defs.SCAN_DONE); in displayDatabaseError() [all …]
|
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | AccountTest.java | 43 final Account a = Account.fromJson(json); in testDeserializeFromJSON() local 46 assertEquals("David Hasselhoff", a.getDisplayName()); in testDeserializeFromJSON() 47 assertEquals("dhoff@example.com", a.getEmailAddress()); in testDeserializeFromJSON() 48 assertEquals(42, a.getSyncLookback()); in testDeserializeFromJSON() 49 assertEquals(99, a.getSyncInterval()); in testDeserializeFromJSON() 50 assertEquals("receiver", a.mHostAuthRecv.mLogin); in testDeserializeFromJSON() 51 assertEquals("recpass", a.mHostAuthRecv.mPassword); in testDeserializeFromJSON() 52 assertEquals("send", a.mHostAuthSend.mLogin); in testDeserializeFromJSON() 53 assertEquals("sendpass", a.mHostAuthSend.mPassword); in testDeserializeFromJSON() 54 assertEquals(22, a.getFlags()); in testDeserializeFromJSON() [all …]
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
D | nj_ext.h | 23 #define NJ_CHAR_IS_EQUAL(a, b) \ argument 24 ( (((NJ_UINT8*)(a))[0] == ((NJ_UINT8*)(b))[0]) && (((NJ_UINT8*)(a))[1] == ((NJ_UINT8*)(b))[1]) ) 26 #define NJ_CHAR_IS_LESSEQ(a, b) \ argument 27 ( (((NJ_UINT8*)(a))[0] < ((NJ_UINT8*)(b))[0]) || \ 28 … ((((NJ_UINT8*)(a))[0] == ((NJ_UINT8*)(b))[0]) && (((NJ_UINT8*)(a))[1] <= ((NJ_UINT8*)(b))[1])) ) 30 #define NJ_CHAR_IS_MOREEQ(a, b) \ argument 31 ( (((NJ_UINT8*)(a))[0] > ((NJ_UINT8*)(b))[0]) || \ 32 … ((((NJ_UINT8*)(a))[0] == ((NJ_UINT8*)(b))[0]) && (((NJ_UINT8*)(a))[1] >= ((NJ_UINT8*)(b))[1])) ) 34 #define NJ_CHAR_DIFF(a, b) \ argument 36 ( (((NJ_UINT8*)(a))[0] == ((NJ_UINT8*)(b))[0]) \ [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | GeometryMathUtils.java | 149 public static float dotProduct(float[] a, float[] b) { in dotProduct() argument 150 return a[0] * b[0] + a[1] * b[1]; in dotProduct() 153 public static float[] normalize(float[] a) { in normalize() argument 154 float length = (float) Math.sqrt(a[0] * a[0] + a[1] * a[1]); in normalize() 156 a[0] / length, a[1] / length in normalize() 162 public static float scalarProjection(float[] a, float[] b) { in scalarProjection() argument 164 return dotProduct(a, b) / length; in scalarProjection() 189 public static float[] vectorSubtract(float[] a, float[] b) { in vectorSubtract() argument 190 int len = a.length; in vectorSubtract() 195 ret[i] = a[i] - b[i]; in vectorSubtract() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ResourceUtils.java | 232 public static float getFraction(final TypedArray a, final int index, final float defValue) { in getFraction() argument 233 final TypedValue value = a.peekValue(index); in getFraction() 237 return a.getFraction(index, 1, 1, defValue); in getFraction() 240 public static float getFraction(final TypedArray a, final int index) { in getFraction() argument 241 return getFraction(a, index, UNDEFINED_RATIO); in getFraction() 244 public static int getDimensionPixelSize(final TypedArray a, final int index) { in getDimensionPixelSize() argument 245 final TypedValue value = a.peekValue(index); in getDimensionPixelSize() 249 return a.getDimensionPixelSize(index, ResourceUtils.UNDEFINED_DIMENSION); in getDimensionPixelSize() 252 public static float getDimensionOrFraction(final TypedArray a, final int index, final int base, in getDimensionOrFraction() argument 254 final TypedValue value = a.peekValue(index); in getDimensionOrFraction() [all …]
|