/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
D | db_utilities_indexing.h | 88 inline int db_MaxIndex2(double s[2]) in db_MaxIndex2() 90 if(s[0]>=s[1]) return(0); in db_MaxIndex2() 94 inline int db_MaxIndex3(const double s[3]) in db_MaxIndex3() 99 best=s[0];pos=0; in db_MaxIndex3() 100 if(s[1]>best){best=s[1];pos=1;} in db_MaxIndex3() 101 if(s[2]>best){best=s[2];pos=2;} in db_MaxIndex3() 105 inline int db_MaxIndex4(const double s[4]) in db_MaxIndex4() 110 best=s[0];pos=0; in db_MaxIndex4() 111 if(s[1]>best){best=s[1];pos=1;} in db_MaxIndex4() 112 if(s[2]>best){best=s[2];pos=2;} in db_MaxIndex4() [all …]
|
D | db_utilities_linalg.cpp | 33 double s,temp; in db_CholeskyDecomp6x6() local 37 s=A[0]; in db_CholeskyDecomp6x6() 38 d[0]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6() 46 s=A[7]-A[6]*A[6]; in db_CholeskyDecomp6x6() 47 d[1]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6() 54 s=A[14]-A[12]*A[12]-A[13]*A[13]; in db_CholeskyDecomp6x6() 55 d[2]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6() 61 s=A[21]-A[18]*A[18]-A[19]*A[19]-A[20]*A[20]; in db_CholeskyDecomp6x6() 62 d[3]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6() 67 s=A[28]-A[24]*A[24]-A[25]*A[25]-A[26]*A[26]-A[27]*A[27]; in db_CholeskyDecomp6x6() [all …]
|
D | db_feature_detection.cpp | 365 inline void db_HarrisStrength_row_f(float **s,float *gxx,float *gxy,float *gyy,int i,int j,int chun… in db_HarrisStrength_row_f() argument 378 s[i][j+c]=det-0.06f*trc*trc; in db_HarrisStrength_row_f() 494 inline void db_HarrisStrength_row_s(float *s,int *gxx,int *gxy,int *gyy,int nc) in db_HarrisStrength_row_s() argument 513 mov edx,s in db_HarrisStrength_row_s() 608 s[c]=det-k*trc*trc; in db_HarrisStrength_row_s() 616 inline void db_HarrisStrengthChunk_f(float **s,const float * const *img,int left,int top,int right,… in db_HarrisStrengthChunk_f() argument 651 db_HarrisStrength_row_f(s,gxx,gxy,gyy,i,left,chunk_width); in db_HarrisStrengthChunk_f() 659 inline void db_HarrisStrengthChunk_u(float **s,const unsigned char * const *img,int left,int top,in… in db_HarrisStrengthChunk_u() argument 691 db_HarrisStrength_row_s(s[i]+left,gxx,gxy,gyy,nc); in db_HarrisStrengthChunk_u() 700 void db_HarrisStrength_f(float **s,const float * const *img,int w,int h, in db_HarrisStrength_f() argument [all …]
|
D | db_rob_image_homography.cpp | 682 int s[4]; in db_RobImageHomography() local 862 db_RandomSample(s,3,point_count,r_seed); in db_RobImageHomography() 863 X[0]= &x_i[s[0]<<1]; in db_RobImageHomography() 864 X[1]= &x_i[s[1]<<1]; in db_RobImageHomography() 865 X[2]= &x_i[s[2]<<1]; in db_RobImageHomography() 866 Xp[0]= &xp_i[s[0]<<1]; in db_RobImageHomography() 867 Xp[1]= &xp_i[s[1]<<1]; in db_RobImageHomography() 868 Xp[2]= &xp_i[s[2]<<1]; in db_RobImageHomography() 878 db_RandomSample(s,2,point_count,r_seed); in db_RobImageHomography() 880 &x_h[3*s[0]],&x_h[3*s[1]], in db_RobImageHomography() [all …]
|
D | db_utilities_camera.h | 126 double s,mult; in db_OrthonormalizeRotation() local 128 s=db_sqr(R[0])+db_sqr(R[1])+db_sqr(R[2]); in db_OrthonormalizeRotation() 129 mult=sqrt(1.0/(s?s:1)); in db_OrthonormalizeRotation() 132 s=R[0]*R[3]+R[1]*R[4]+R[2]*R[5]; in db_OrthonormalizeRotation() 133 R[3]-=s*R[0]; R[4]-=s*R[1]; R[5]-=s*R[2]; in db_OrthonormalizeRotation() 135 s=db_sqr(R[3])+db_sqr(R[4])+db_sqr(R[5]); in db_OrthonormalizeRotation() 136 mult=sqrt(1.0/(s?s:1)); in db_OrthonormalizeRotation() 263 inline void db_MultiplyScaleOntoImageHomography(double H[9],double s) in db_MultiplyScaleOntoImageHomography() argument 266 H[0]*=s; in db_MultiplyScaleOntoImageHomography() 267 H[1]*=s; in db_MultiplyScaleOntoImageHomography() [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_indexing.h | 88 inline int db_MaxIndex2(double s[2]) in db_MaxIndex2() 90 if(s[0]>=s[1]) return(0); in db_MaxIndex2() 94 inline int db_MaxIndex3(const double s[3]) in db_MaxIndex3() 99 best=s[0];pos=0; in db_MaxIndex3() 100 if(s[1]>best){best=s[1];pos=1;} in db_MaxIndex3() 101 if(s[2]>best){best=s[2];pos=2;} in db_MaxIndex3() 105 inline int db_MaxIndex4(const double s[4]) in db_MaxIndex4() 110 best=s[0];pos=0; in db_MaxIndex4() 111 if(s[1]>best){best=s[1];pos=1;} in db_MaxIndex4() 112 if(s[2]>best){best=s[2];pos=2;} in db_MaxIndex4() [all …]
|
D | db_utilities_linalg.cpp | 33 double s,temp; in db_CholeskyDecomp6x6() local 37 s=A[0]; in db_CholeskyDecomp6x6() 38 d[0]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6() 46 s=A[7]-A[6]*A[6]; in db_CholeskyDecomp6x6() 47 d[1]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6() 54 s=A[14]-A[12]*A[12]-A[13]*A[13]; in db_CholeskyDecomp6x6() 55 d[2]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6() 61 s=A[21]-A[18]*A[18]-A[19]*A[19]-A[20]*A[20]; in db_CholeskyDecomp6x6() 62 d[3]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6() 67 s=A[28]-A[24]*A[24]-A[25]*A[25]-A[26]*A[26]-A[27]*A[27]; in db_CholeskyDecomp6x6() [all …]
|
D | db_feature_detection.cpp | 365 inline void db_HarrisStrength_row_f(float **s,float *gxx,float *gxy,float *gyy,int i,int j,int chun… in db_HarrisStrength_row_f() argument 378 s[i][j+c]=det-0.06f*trc*trc; in db_HarrisStrength_row_f() 494 inline void db_HarrisStrength_row_s(float *s,int *gxx,int *gxy,int *gyy,int nc) in db_HarrisStrength_row_s() argument 513 mov edx,s in db_HarrisStrength_row_s() 608 s[c]=det-k*trc*trc; in db_HarrisStrength_row_s() 616 inline void db_HarrisStrengthChunk_f(float **s,const float * const *img,int left,int top,int right,… in db_HarrisStrengthChunk_f() argument 651 db_HarrisStrength_row_f(s,gxx,gxy,gyy,i,left,chunk_width); in db_HarrisStrengthChunk_f() 659 inline void db_HarrisStrengthChunk_u(float **s,const unsigned char * const *img,int left,int top,in… in db_HarrisStrengthChunk_u() argument 691 db_HarrisStrength_row_s(s[i]+left,gxx,gxy,gyy,nc); in db_HarrisStrengthChunk_u() 700 void db_HarrisStrength_f(float **s,const float * const *img,int w,int h, in db_HarrisStrength_f() argument [all …]
|
D | db_rob_image_homography.cpp | 682 int s[4]; in db_RobImageHomography() local 862 db_RandomSample(s,3,point_count,r_seed); in db_RobImageHomography() 863 X[0]= &x_i[s[0]<<1]; in db_RobImageHomography() 864 X[1]= &x_i[s[1]<<1]; in db_RobImageHomography() 865 X[2]= &x_i[s[2]<<1]; in db_RobImageHomography() 866 Xp[0]= &xp_i[s[0]<<1]; in db_RobImageHomography() 867 Xp[1]= &xp_i[s[1]<<1]; in db_RobImageHomography() 868 Xp[2]= &xp_i[s[2]<<1]; in db_RobImageHomography() 878 db_RandomSample(s,2,point_count,r_seed); in db_RobImageHomography() 880 &x_h[3*s[0]],&x_h[3*s[1]], in db_RobImageHomography() [all …]
|
D | db_utilities_camera.h | 126 double s,mult; in db_OrthonormalizeRotation() local 128 s=db_sqr(R[0])+db_sqr(R[1])+db_sqr(R[2]); in db_OrthonormalizeRotation() 129 mult=sqrt(1.0/(s?s:1)); in db_OrthonormalizeRotation() 132 s=R[0]*R[3]+R[1]*R[4]+R[2]*R[5]; in db_OrthonormalizeRotation() 133 R[3]-=s*R[0]; R[4]-=s*R[1]; R[5]-=s*R[2]; in db_OrthonormalizeRotation() 135 s=db_sqr(R[3])+db_sqr(R[4])+db_sqr(R[5]); in db_OrthonormalizeRotation() 136 mult=sqrt(1.0/(s?s:1)); in db_OrthonormalizeRotation() 263 inline void db_MultiplyScaleOntoImageHomography(double H[9],double s) in db_MultiplyScaleOntoImageHomography() argument 266 H[0]*=s; in db_MultiplyScaleOntoImageHomography() 267 H[1]*=s; in db_MultiplyScaleOntoImageHomography() [all …]
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_US_wordlist.combined.gz |
|
D | en_GB_wordlist.combined.gz |
|
D | en_wordlist.combined.gz | ... flags=,originalFreq=162
131 word=it's,f=162,flags=,originalFreq= ... |
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/ |
D | AnalyticsUtils.java | 26 final String s; in getMenuItemString() local 28 s = "archive"; in getMenuItemString() 30 s = "remove_folder"; in getMenuItemString() 32 s = "delete"; in getMenuItemString() 34 s = "discard_drafts"; in getMenuItemString() 36 s = "discard_outbox"; in getMenuItemString() 38 s = "mark important"; in getMenuItemString() 40 s = "mark not important"; in getMenuItemString() 42 s = "mute"; in getMenuItemString() 44 s = "report_phishing"; in getMenuItemString() [all …]
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
D | StringUtil.java | 264 public static String trimStart(String s) { in trimStart() argument 265 return trimStart(s, null); in trimStart() 280 public static String trimStart(String s, String extraChars) { in trimStart() argument 282 while (trimCount < s.length()) { in trimStart() 283 char ch = s.charAt(trimCount); in trimStart() 293 return s; in trimStart() 295 return s.substring(trimCount); in trimStart() 305 public static String trimEnd(String s) { in trimEnd() argument 306 return trimEnd(s, null); in trimEnd() 321 public static String trimEnd(String s, String extraChars) { in trimEnd() argument [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | CapsModeUtilsTests.java | 42 final int s = TextUtils.CAP_MODE_SENTENCES; in allPathsForCaps() local 43 onePathForCaps(cs, expectedResult, c | w | s, sp, hasSpaceBefore); in allPathsForCaps() 44 onePathForCaps(cs, expectedResult, w | s, sp, hasSpaceBefore); in allPathsForCaps() 45 onePathForCaps(cs, expectedResult, c | s, sp, hasSpaceBefore); in allPathsForCaps() 49 onePathForCaps(cs, expectedResult, s, sp, hasSpaceBefore); in allPathsForCaps() 55 final int s = TextUtils.CAP_MODE_SENTENCES; in testGetCapsMode() local 64 allPathsForCaps("", c | w | s, sp, false); in testGetCapsMode() 68 allPathsForCaps("Word. ", c | w | s, sp, false); in testGetCapsMode() 70 allPathsForCaps("Word.. ", c | w | s, sp, false); in testGetCapsMode() 71 allPathsForCaps("Word... ", c | w | s, sp, false); in testGetCapsMode() [all …]
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
D | nj_lib.h | 135 #define NJ_GET_CACHEOVER_FROM_SCACHE(s) ((s)->statusFlg & NJ_STATUSFLG_CACHEOVER) argument 136 #define NJ_GET_AIMAI_FROM_SCACHE(s) ((s)->statusFlg & NJ_STATUSFLG_AIMAI) argument 137 #define NJ_SET_CACHEOVER_TO_SCACHE(s) ((s)->statusFlg |= NJ_STATUSFLG_CACHEOVER) argument 138 #define NJ_SET_AIMAI_TO_SCACHE(s) ((s)->statusFlg |= NJ_STATUSFLG_AIMAI) argument 139 #define NJ_UNSET_CACHEOVER_TO_SCACHE(s) ((s)->statusFlg &= ~NJ_STATUSFLG_CACHEOVER) argument 140 #define NJ_UNSET_AIMAI_TO_SCACHE(s) ((s)->statusFlg &= ~NJ_STATUSFLG_AIMAI) argument 287 #define NJ_GET_FPOS_FROM_STEM(s) ((NJ_UINT16)((s)->stem.info1 >> 7)) argument 288 #define NJ_GET_BPOS_FROM_STEM(s) ((NJ_UINT16)((s)->stem.info2 >> 7)) argument 291 #define NJ_SET_FPOS_TO_STEM(s,v) ((s)->stem.info1 = ((s)->stem.info1 & 0x007F) | (NJ_UINT16)((v) <<… argument 292 #define NJ_GET_YLEN_FROM_STEM(s) ((NJ_UINT8)((s)->stem.info1 & 0x7F)) argument [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | Preloader.java | 77 PreloaderSession s = null; in takeSession() local 79 s = mSession; in takeSession() 83 if (s != null) { in takeSession() 84 s.cancelTimeout(); in takeSession() 87 return s; in takeSession() 92 PreloaderSession s = getSession(id); in handlePreloadRequest() local 93 if (s == null) { in handlePreloadRequest() 99 s.touch(); // reset timer in handlePreloadRequest() 100 PreloadedTabControl tab = s.getTabControl(); in handlePreloadRequest() 110 PreloaderSession s = getSession(id); in cancelSearchBoxPreload() local [all …]
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
D | ImapStringTest.java | 62 final ImapSimpleString s = new ImapSimpleString("AbcD"); in testBasics() local 63 assertFalse(s.isEmpty()); in testBasics() 64 assertEquals("AbcD", s.getString()); in testBasics() 65 assertEquals("AbcD", Utility.fromAscii(IOUtils.toByteArray(s.getAsStream()))); in testBasics() 67 assertFalse(s.isNumber()); in testBasics() 68 assertFalse(s.isDate()); in testBasics() 70 assertFalse(s.is(null)); in testBasics() 71 assertFalse(s.is("")); in testBasics() 72 assertTrue(s.is("abcd")); in testBasics() 73 assertFalse(s.is("abc")); in testBasics() [all …]
|
/packages/services/Telephony/src/com/android/phone/common/mail/internet/ |
D | MimeUtility.java | 55 public static String unfold(String s) { in unfold() argument 56 if (s == null) { in unfold() 59 Matcher patternMatcher = PATTERN_CR_OR_LF.matcher(s); in unfold() 62 s = patternMatcher.replaceAll(""); in unfold() 64 return s; in unfold() 67 public static String decode(String s) { in decode() argument 68 if (s == null) { in decode() 71 return DecoderUtil.decodeEncodedWords(s); in decode() 74 public static String unfoldAndDecode(String s) { in unfoldAndDecode() argument 75 return decode(unfold(s)); in unfoldAndDecode() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
D | MimeUtility.java | 56 public static String unfold(String s) { in unfold() argument 57 if (s == null) { in unfold() 60 Matcher patternMatcher = PATTERN_CR_OR_LF.matcher(s); in unfold() 63 s = patternMatcher.replaceAll(""); in unfold() 65 return s; in unfold() 68 public static String decode(String s) { in decode() argument 69 if (s == null) { in decode() 72 return DecoderUtil.decodeEncodedWords(s); in decode() 75 public static String unfoldAndDecode(String s) { in unfoldAndDecode() argument 76 return decode(unfold(s)); in unfoldAndDecode() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | MarginDrawable.java | 58 RectF s = mScreen; in draw() local 59 if (s.top < s.bottom && s.left < s.right) { in draw() 61 if (s.top > 0) { in draw() 62 canvas.drawRect(0, 0, cb.right, s.top + 1, mPaint); in draw() 64 if (s.left > 0) { in draw() 65 canvas.drawRect(0, s.top, s.left + 1, s.bottom, mPaint); in draw() 67 if (s.right < cb.right) { in draw() 68 canvas.drawRect(s.right - 1, s.top, cb.right, s.bottom, mPaint); in draw() 70 if (s.bottom < cb.bottom) { in draw() 71 canvas.drawRect(0, s.bottom - 1, cb.right, cb.bottom, mPaint); in draw()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
D | MimeBoundaryInputStream.java | 39 private PushbackInputStream s = null; field in MimeBoundaryInputStream 51 public MimeBoundaryInputStream(InputStream s, String boundary) in MimeBoundaryInputStream() argument 54 this.s = new PushbackInputStream(s, boundary.length() + 4); in MimeBoundaryInputStream() 68 this.s.unread(b); in MimeBoundaryInputStream() 78 s.close(); in close() 128 int b1 = s.read(); in read() 129 int b2 = s.read(); in read() 138 s.unread(b2); in read() 150 int b = s.read(); in matchBoundary() 153 s.unread(b); in matchBoundary() [all …]
|
/packages/services/Telephony/src/org/apache/james/mime4j/ |
D | MimeBoundaryInputStream.java | 39 private PushbackInputStream s = null; field in MimeBoundaryInputStream 51 public MimeBoundaryInputStream(InputStream s, String boundary) in MimeBoundaryInputStream() argument 54 this.s = new PushbackInputStream(s, boundary.length() + 4); in MimeBoundaryInputStream() 68 this.s.unread(b); in MimeBoundaryInputStream() 78 s.close(); in close() 128 int b1 = s.read(); in read() 129 int b2 = s.read(); in read() 138 s.unread(b2); in read() 150 int b = s.read(); in matchBoundary() 153 s.unread(b); in matchBoundary() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | MessageParser.java | 281 String s; // Used for parsing non-Strings. in parseProperties() local 284 if ((s = props.getProperty(EXTRA_PROVISIONING_LOCALE)) != null) { in parseProperties() 285 params.locale = stringToLocale(s); in parseProperties() 294 if ((s = props.getProperty(EXTRA_PROVISIONING_WIFI_PROXY_PORT)) != null) { in parseProperties() 295 params.wifiInfo.proxyPort = Integer.parseInt(s); in parseProperties() 297 if ((s = props.getProperty(EXTRA_PROVISIONING_WIFI_HIDDEN)) != null) { in parseProperties() 298 params.wifiInfo.hidden = Boolean.parseBoolean(s); in parseProperties() 309 if ((s = props.getProperty( in parseProperties() 311 params.deviceAdminDownloadInfo.minVersion = Integer.parseInt(s); in parseProperties() 320 if ((s = props.getProperty(EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM)) != null) { in parseProperties() [all …]
|