Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 419) sorted by relevance

12345678910>>...17

/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_indexing.h88 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 …]
Ddb_utilities_linalg.cpp33 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 …]
Ddb_feature_detection.cpp365 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 …]
Ddb_rob_image_homography.cpp682 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 …]
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/
Ddb_utilities_indexing.h88 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 …]
Ddb_utilities_linalg.cpp33 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 …]
Ddb_feature_detection.cpp365 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 …]
Ddb_rob_image_homography.cpp682 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 …]
/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_utilities_indexing.h88 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 …]
Ddb_utilities_linalg.cpp33 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 …]
Ddb_feature_detection.cpp365 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 …]
Ddb_rob_image_homography.cpp682 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 …]
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz ... flags=,originalFreq=162 130 word=it's,f=162,flags=,originalFreq= ...
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DContactsSyncAdapter.java151 public void sendSyncOptions(Double protocolVersion, Serializer s, boolean initialSync) in sendSyncOptions() argument
156 s.start(Tags.SYNC_SUPPORTED); in sendSyncOptions()
157 s.tag(Tags.CONTACTS_FIRST_NAME); in sendSyncOptions()
158 s.tag(Tags.CONTACTS_LAST_NAME); in sendSyncOptions()
159 s.tag(Tags.CONTACTS_MIDDLE_NAME); in sendSyncOptions()
160 s.tag(Tags.CONTACTS_SUFFIX); in sendSyncOptions()
161 s.tag(Tags.CONTACTS_COMPANY_NAME); in sendSyncOptions()
162 s.tag(Tags.CONTACTS_JOB_TITLE); in sendSyncOptions()
163 s.tag(Tags.CONTACTS_EMAIL1_ADDRESS); in sendSyncOptions()
164 s.tag(Tags.CONTACTS_EMAIL2_ADDRESS); in sendSyncOptions()
[all …]
DEmailSyncAdapter.java204 public void sendSyncOptions(Double protocolVersion, Serializer s, boolean initialSync) in sendSyncOptions() argument
237 s.tag(Tags.SYNC_DELETES_AS_MOVES); in sendSyncOptions()
240 s.data(Tags.SYNC_DELETES_AS_MOVES, isTrashMailbox ? "0" : "1"); in sendSyncOptions()
242 s.tag(Tags.SYNC_GET_CHANGES); in sendSyncOptions()
243 s.data(Tags.SYNC_WINDOW_SIZE, EMAIL_WINDOW_SIZE); in sendSyncOptions()
244 s.start(Tags.SYNC_OPTIONS); in sendSyncOptions()
251 s.data(Tags.SYNC_FILTER_TYPE, filter); in sendSyncOptions()
254 s.start(Tags.BASE_BODY_PREFERENCE); in sendSyncOptions()
256 s.data(Tags.BASE_TYPE, Eas.BODY_PREFERENCE_HTML); in sendSyncOptions()
257 s.data(Tags.BASE_TRUNCATION_SIZE, Eas.EAS12_TRUNCATION_SIZE); in sendSyncOptions()
[all …]
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
DUriCodec.java75 public static void validateSimple(String s, String legal) in validateSimple() argument
77 for (int i = 0; i < s.length(); i++) { in validateSimple()
78 char ch = s.charAt(i); in validateSimple()
83 throw new URISyntaxException(s, "Illegal character", i); in validateSimple()
96 private void appendEncoded(StringBuilder builder, String s, Charset charset, in appendEncoded() argument
98 if (s == null) { in appendEncoded()
103 for (int i = 0; i < s.length(); i++) { in appendEncoded()
104 char c = s.charAt(i); in appendEncoded()
111 appendHex(builder, s.substring(escapeStart, i), charset); in appendEncoded()
116 builder.append(s, i, i + 3); in appendEncoded()
[all …]
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEasSyncService.java260 State s = mThread.getState(); in alarm() local
262 userLog(threadName + ": State = " + s.name()); in alarm()
268 if ((s != State.TERMINATED) && (mPendingPost != null) && (mPendingPost == post)) { in alarm()
477 Serializer s = new Serializer(); in validateAccount() local
478 s.start(Tags.FOLDER_FOLDER_SYNC).start(Tags.FOLDER_SYNC_KEY).text(syncKey) in validateAccount()
480 resp = sendHttpClientPost("FolderSync", s.toByteArray()); in validateAccount()
678 XmlSerializer s = Xml.newSerializer(); in tryAutodiscover() local
686 s.setOutput(os, "UTF-8"); in tryAutodiscover()
687 s.startDocument("UTF-8", false); in tryAutodiscover()
688 s.startTag(null, "Autodiscover"); in tryAutodiscover()
[all …]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
Dnj_lib.h135 #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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DCapsModeUtilsTests.java38 final int s = TextUtils.CAP_MODE_SENTENCES; in allPathsForCaps() local
39 onePathForCaps(cs, expectedResult, c | w | s, l, hasSpaceBefore); in allPathsForCaps()
40 onePathForCaps(cs, expectedResult, w | s, l, hasSpaceBefore); in allPathsForCaps()
41 onePathForCaps(cs, expectedResult, c | s, l, hasSpaceBefore); in allPathsForCaps()
45 onePathForCaps(cs, expectedResult, s, l, hasSpaceBefore); in allPathsForCaps()
51 final int s = TextUtils.CAP_MODE_SENTENCES; in testGetCapsMode() local
53 allPathsForCaps("", c | w | s, l, false); in testGetCapsMode()
57 allPathsForCaps("Word. ", c | w | s, l, false); in testGetCapsMode()
59 allPathsForCaps("Word.. ", c | w | s, l, false); in testGetCapsMode()
60 allPathsForCaps("Word... ", c | w | s, l, false); in testGetCapsMode()
[all …]
/packages/apps/Browser/src/com/android/browser/
DPreloader.java77 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/
DRefreshManagerTest.java80 RefreshManager.Status s = new RefreshManager.Status(); in testRefreshStatus() local
81 assertFalse(s.isRefreshing()); in testRefreshStatus()
82 assertTrue(s.canRefresh()); in testRefreshStatus()
83 assertEquals(0, s.getLastRefreshTime()); in testRefreshStatus()
86 s.onRefreshRequested(); in testRefreshStatus()
87 assertTrue(s.isRefreshing()); in testRefreshStatus()
88 assertFalse(s.canRefresh()); in testRefreshStatus()
89 assertEquals(0, s.getLastRefreshTime()); in testRefreshStatus()
92 s.onCallback(null, 0, mClock); in testRefreshStatus()
93 assertTrue(s.isRefreshing()); in testRefreshStatus()
[all …]
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
DImapStringTest.java62 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/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DMimeUtility.java55 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 …]

12345678910>>...17