Home
last modified time | relevance | path

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

1234

/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_utilities_linalg.cpp31 void db_CholeskyDecomp6x6(double A[36],double d[6]) in db_CholeskyDecomp6x6()
37 s=A[0]; in db_CholeskyDecomp6x6()
40 A[6]=A[1]*temp; in db_CholeskyDecomp6x6()
41 A[12]=A[2]*temp; in db_CholeskyDecomp6x6()
42 A[18]=A[3]*temp; in db_CholeskyDecomp6x6()
43 A[24]=A[4]*temp; in db_CholeskyDecomp6x6()
44 A[30]=A[5]*temp; in db_CholeskyDecomp6x6()
46 s=A[7]-A[6]*A[6]; in db_CholeskyDecomp6x6()
49 A[13]=(A[8]-A[6]*A[12])*temp; in db_CholeskyDecomp6x6()
50 A[19]=(A[9]-A[6]*A[18])*temp; in db_CholeskyDecomp6x6()
[all …]
Ddb_utilities.h289 inline double db_ScalarProduct4(const double A[4],const double B[4]) in db_ScalarProduct4()
291 return(A[0]*B[0]+A[1]*B[1]+A[2]*B[2]+A[3]*B[3]); in db_ScalarProduct4()
296 inline double db_ScalarProduct7(const double A[7],const double B[7]) in db_ScalarProduct7()
298 return(A[0]*B[0]+A[1]*B[1]+A[2]*B[2]+ in db_ScalarProduct7()
299 A[3]*B[3]+A[4]*B[4]+A[5]*B[5]+ in db_ScalarProduct7()
300 A[6]*B[6]); in db_ScalarProduct7()
305 inline double db_ScalarProduct9(const double A[9],const double B[9]) in db_ScalarProduct9()
307 return(A[0]*B[0]+A[1]*B[1]+A[2]*B[2]+ in db_ScalarProduct9()
308 A[3]*B[3]+A[4]*B[4]+A[5]*B[5]+ in db_ScalarProduct9()
309 A[6]*B[6]+A[7]*B[7]+A[8]*B[8]); in db_ScalarProduct9()
[all …]
Ddb_utilities_poly.h219 inline void db_CharacteristicPolynomial4x4(double p[5],const double A[16]) in db_CharacteristicPolynomial4x4()
230 two01[0]=A[0]*A[5]-A[1]*A[4]; in db_CharacteristicPolynomial4x4()
231 two01[1]= -(A[0]+A[5]); in db_CharacteristicPolynomial4x4()
234 two02[0]=A[0]*A[6]-A[2]*A[4]; in db_CharacteristicPolynomial4x4()
235 two02[1]= -A[6]; in db_CharacteristicPolynomial4x4()
237 two03[0]=A[0]*A[7]-A[3]*A[4]; in db_CharacteristicPolynomial4x4()
238 two03[1]= -A[7]; in db_CharacteristicPolynomial4x4()
240 two12[0]=A[1]*A[6]-A[2]*A[5]; in db_CharacteristicPolynomial4x4()
241 two12[1]=A[2]; in db_CharacteristicPolynomial4x4()
243 two13[0]=A[1]*A[7]-A[3]*A[5]; in db_CharacteristicPolynomial4x4()
[all …]
Ddb_utilities_linalg.h36 inline void db_MultiplyScalar6(double A[6],double mult) in db_MultiplyScalar6()
38 (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; in db_MultiplyScalar6()
39 (*A++) *= mult; in db_MultiplyScalar6()
44 inline void db_MultiplyScalar7(double A[7],double mult) in db_MultiplyScalar7()
46 (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; in db_MultiplyScalar7()
47 (*A++) *= mult; (*A++) *= mult; in db_MultiplyScalar7()
52 inline void db_MultiplyScalar9(double A[9],double mult) in db_MultiplyScalar9()
54 (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; in db_MultiplyScalar9()
55 (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; in db_MultiplyScalar9()
83 DB_API void db_CholeskyDecomp6x6(double A[36],double d[6]);
[all …]
Ddb_utilities_camera.h57 void inline db_Identity2x2(double A[4]) in db_Identity2x2()
59 A[0]=1;A[1]=0; in db_Identity2x2()
60 A[2]=0;A[3]=1; in db_Identity2x2()
65 void inline db_Identity3x3(double A[9]) in db_Identity3x3()
67 A[0]=1;A[1]=0;A[2]=0; in db_Identity3x3()
68 A[3]=0;A[4]=1;A[5]=0; in db_Identity3x3()
69 A[6]=0;A[7]=0;A[8]=1; in db_Identity3x3()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_linalg.cpp31 void db_CholeskyDecomp6x6(double A[36],double d[6]) in db_CholeskyDecomp6x6()
37 s=A[0]; in db_CholeskyDecomp6x6()
40 A[6]=A[1]*temp; in db_CholeskyDecomp6x6()
41 A[12]=A[2]*temp; in db_CholeskyDecomp6x6()
42 A[18]=A[3]*temp; in db_CholeskyDecomp6x6()
43 A[24]=A[4]*temp; in db_CholeskyDecomp6x6()
44 A[30]=A[5]*temp; in db_CholeskyDecomp6x6()
46 s=A[7]-A[6]*A[6]; in db_CholeskyDecomp6x6()
49 A[13]=(A[8]-A[6]*A[12])*temp; in db_CholeskyDecomp6x6()
50 A[19]=(A[9]-A[6]*A[18])*temp; in db_CholeskyDecomp6x6()
[all …]
Ddb_utilities.h289 inline double db_ScalarProduct4(const double A[4],const double B[4]) in db_ScalarProduct4()
291 return(A[0]*B[0]+A[1]*B[1]+A[2]*B[2]+A[3]*B[3]); in db_ScalarProduct4()
296 inline double db_ScalarProduct7(const double A[7],const double B[7]) in db_ScalarProduct7()
298 return(A[0]*B[0]+A[1]*B[1]+A[2]*B[2]+ in db_ScalarProduct7()
299 A[3]*B[3]+A[4]*B[4]+A[5]*B[5]+ in db_ScalarProduct7()
300 A[6]*B[6]); in db_ScalarProduct7()
305 inline double db_ScalarProduct9(const double A[9],const double B[9]) in db_ScalarProduct9()
307 return(A[0]*B[0]+A[1]*B[1]+A[2]*B[2]+ in db_ScalarProduct9()
308 A[3]*B[3]+A[4]*B[4]+A[5]*B[5]+ in db_ScalarProduct9()
309 A[6]*B[6]+A[7]*B[7]+A[8]*B[8]); in db_ScalarProduct9()
[all …]
Ddb_utilities_poly.h219 inline void db_CharacteristicPolynomial4x4(double p[5],const double A[16]) in db_CharacteristicPolynomial4x4()
230 two01[0]=A[0]*A[5]-A[1]*A[4]; in db_CharacteristicPolynomial4x4()
231 two01[1]= -(A[0]+A[5]); in db_CharacteristicPolynomial4x4()
234 two02[0]=A[0]*A[6]-A[2]*A[4]; in db_CharacteristicPolynomial4x4()
235 two02[1]= -A[6]; in db_CharacteristicPolynomial4x4()
237 two03[0]=A[0]*A[7]-A[3]*A[4]; in db_CharacteristicPolynomial4x4()
238 two03[1]= -A[7]; in db_CharacteristicPolynomial4x4()
240 two12[0]=A[1]*A[6]-A[2]*A[5]; in db_CharacteristicPolynomial4x4()
241 two12[1]=A[2]; in db_CharacteristicPolynomial4x4()
243 two13[0]=A[1]*A[7]-A[3]*A[5]; in db_CharacteristicPolynomial4x4()
[all …]
Ddb_utilities_linalg.h36 inline void db_MultiplyScalar6(double A[6],double mult) in db_MultiplyScalar6()
38 (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; in db_MultiplyScalar6()
39 (*A++) *= mult; in db_MultiplyScalar6()
44 inline void db_MultiplyScalar7(double A[7],double mult) in db_MultiplyScalar7()
46 (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; in db_MultiplyScalar7()
47 (*A++) *= mult; (*A++) *= mult; in db_MultiplyScalar7()
52 inline void db_MultiplyScalar9(double A[9],double mult) in db_MultiplyScalar9()
54 (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; in db_MultiplyScalar9()
55 (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; in db_MultiplyScalar9()
83 DB_API void db_CholeskyDecomp6x6(double A[36],double d[6]);
[all …]
Ddb_utilities_camera.h57 void inline db_Identity2x2(double A[4]) in db_Identity2x2()
59 A[0]=1;A[1]=0; in db_Identity2x2()
60 A[2]=0;A[3]=1; in db_Identity2x2()
65 void inline db_Identity3x3(double A[9]) in db_Identity3x3()
67 A[0]=1;A[1]=0;A[2]=0; in db_Identity3x3()
68 A[3]=0;A[4]=1;A[5]=0; in db_Identity3x3()
69 A[6]=0;A[7]=0;A[8]=1; in db_Identity3x3()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DConsumers.java28 public static <A extends QuietlyCloseable> void consumeCloseable(Consumer<A> consumer, in consumeCloseable()
29 A value) { in consumeCloseable()
38 public static <A> void consumeAsync(Handler handler, in consumeAsync()
39 final Consumer<A> consumer, final A value) { in consumeAsync()
51 public static <A extends QuietlyCloseable> void consumeCloseableAsync(Handler handler, in consumeCloseableAsync()
52 final Consumer<A> consumer, final A value) { in consumeCloseableAsync()
64 public static <A> Consumer<A> createAsyncConsumer( in createAsyncConsumer()
65 final Handler handler, final Consumer<A> consumer) { in createAsyncConsumer()
66 return new Consumer<A>() { in createAsyncConsumer()
67 public boolean consume(A value) { in createAsyncConsumer()
[all …]
DCachedLater.java30 public abstract class CachedLater<A> implements NowOrLater<A> {
37 private A mValue;
42 private List<Consumer<? super A>> mWaitingConsumers;
54 protected void store(A value) { in store()
56 List<Consumer<? super A>> waitingConsumers; in store()
65 for (Consumer<? super A> consumer : waitingConsumers) { in store()
79 public void getLater(Consumer<? super A> consumer) { in getLater()
82 A value; in getLater()
88 mWaitingConsumers = new ArrayList<Consumer<? super A>>(); in getLater()
130 public synchronized A getNow() { in getNow()
DBarrierConsumer.java28 public class BarrierConsumer<A> implements Consumer<A> {
36 private ArrayList<A> mValues;
45 mValues = new ArrayList<A>(expectedCount); in BarrierConsumer()
54 public ArrayList<A> getValues() { in getValues()
64 ArrayList<A> values = mValues; in getValues()
72 public boolean consume(A value) { in consume()
DNowOrLaterWrapper.java21 public abstract class NowOrLaterWrapper<A, B> implements NowOrLater<B> {
23 private final NowOrLater<A> mWrapped;
25 public NowOrLaterWrapper(NowOrLater<A> wrapped) { in NowOrLaterWrapper()
30 mWrapped.getLater(new Consumer<A>(){ in getLater()
31 public boolean consume(A value) { in getLater()
49 public abstract B get(A value); in get()
DSQLiteAsyncQuery.java26 public abstract class SQLiteAsyncQuery<A> {
34 protected abstract A performQuery(SQLiteDatabase db); in performQuery()
39 public void run(SQLiteDatabase db, Consumer<A> consumer) { in run()
40 A result = performQuery(db); in run()
DNoOpConsumer.java24 public class NoOpConsumer<A> implements Consumer<A> {
25 public boolean consume(A result) { in consume()
/packages/apps/Camera/perftests/panorama/input/
Dtest_007.ppm18 ����.;#%R;<K8!n[DvnAqi<QQ!117?4< 7DAM"4A1>6B(��-8-8 ���������������1…
34 >:6* !�������A"&# �_<A]:>��!���C 0
97 FD%%F''?"!A#"M,-H&'-�%��L
119 81)-,('A=.40!*&#8)#.����4)
130 ! ><3) �/> ��Q'.nDK;!��<K#*a<B0 . ;��������-A&(*
134 >�MA < 3
167 ���!��)��0�4�5 '�'�?AD0'��8
179 7185 A7 5��4��:��B��Z a ZK�SO:
187 E�56 EA8�-��A�Pi]� `^
Dtest_006.ppm18 ����A)-'J34I3-nXR{nPh[=RR"114< :B5BDQ#?L!1>0<!-��&1-8
25 4 *�!��-�4 7�A 51�3�55 6
35 …��%��5 eYP��������ʬ���lqsPT�uz���T=>? . _0:W(14 <XAB4/[=CpRXL)0A%8"="'&  ��&x…
37 �� ��>�A� 7A-(
81 ) A %�!���&��* (
85 ��gDIA""���"��/ O%,&����), 1 7-)7-)IA=JB>5(&).* P57hMPM357iOQ�oqx^`A&(…
101 ���) �! 3tSZH'.%�%�A%�����̦���YaD�elݵ������荃��������������������������������������…
105 1 A,3
124 # 50'&%�=<,A?/".'8(",! ����&
125 A6'��-�4 -�%��>;
Dtest_008.ppm29 (C"'55 D!Q%-<(0 A '�����(
33 …��"������!��,?A1̟����7_?A_?A;#%`IJȶ����qZ[�kl�kl^FH) ��/F,.A&(<!#="%<!#; "4�…
74 …0P-4<P(14 V.7gBJR-51* ,>*-7-)6,(H=:F<86))%/ VEF?,.C/1�tw�mp�hmV;?K05Y>CR7<dIM)?%)A&(&
75 .A!". ��0�IFD W ;��7��IV�
81 A4 1
83 …�����������������������������������������������������à������������|�/:%������? *A%��|SW�ehM� [
91 � � �!>A'# '3*(
110 #*%,#"/,(A=:;74ROK���TSR)& (%?.-?.-J'.eBI> #�3
118 …��ķ�������������������ú�Ļ������������������������������ۗ��������msF'1aBL&A*V/<3 B,�0 =0…
Dtest_003.ppm31 './'#"))  &#kh^B>/'#-''!:*"(#_<A�iqA��;D!_5<F!'R-3M-1*
32 …).7X38<Y4:pMRO,075" �ikgZX4'%3*'=51<400(%#!?,,E11dIK�uw|addIKW<>gLOQ68oTWB')A&(B#'5,
34 7E '��6
35 ^"O Z_ m#i P aO
36 A�6�%��"��^36P,-)�������������� ����������.H(tES|M[, a:Aâ�R16bIKfhYHFzhgQ:;lTV…
37 ����X5<J'.>"b?FY6=. {ZaR18����% P17O.5V5<H'.7����:�CA�5��%;,������"3 …
66 % ���#��.)'�),(�%��'�AI "/ 6F ",�������������� �� ������*)…
74 />%)/A"(% *
82 ��1 J%-F!)A#& ?"4
87 4C5 CV&MK DB D A A :-��)��*��< D D
[all …]
Dtest_012.ppm32 O� D���������������z_fmRY���w`ax_a/�Z?B�����͈bh`;A; T&/͝�{JP1
53 3 . ������������%�& %������� �!�&�?760;#'1%"%0#!F:7A/.7&%/! * …
55 MQ JH�M A/��'��,��1�1�,��.��1��A
62 Af;<k?AW%IL
68A P(�pzЯ�ֵ��������������������������������������������������������������������������������������…
90 A"��%��(�"��#��(����E= 4��8��F�
95 57,^?C="���!������!��. )��!��*��,��5��.��A F
96 7�= e05W"'E F H [%KV#�BJRK�T] f!TM� �7D�[h�1?f"I�D��D�A�;��B��_^�R�[�
120 A"((<%(:()6%&6))7**;0/-"!��,-5(
Dtest_011.ppm14 ����*L&&i06D >�=�:A
21 ( �A/5B06 ��  
32 - 6 )�? B1�A8� 8� '��#��1_<A%
37 A?B0 �������' 1�!���������/��(��P�P�X�Z�O�M��"�E50-  (��,…
38 A , )�)�.
40 #�A!��(��*��1�D m5;V#> 1�/�-��0�0�71
44 8L&<"۹˜�����ʭ�A#"'
83 A,��#��0��?M�R� E�A��YL
106 6�0��,��/��: A6H#&P333#-
Dtest_034.ppm27 …)?X3Ia1H`7Mf8Og7Mf7Mf7Mf7Mf7Mf6Le6Le6Le6Le6Le5Kd5Kd4Jb4Jb4Jb5Ib4Ha4Ha4Ha3Ia1H`/E^.D]/E^-C[*A 3/
28A5/ -%".DMSYbh_fhbilntvouwm�vm�vV�WV�WW�TW�TW�TW�TV�TV�TV�TW�VW�VW�VT�ST�SV�WW�XT�VT�VV�g[…
30 …3/7,1)/')"%'(#,-(,-&-.'*.&-0(.1)15-57-46,46,68.68.68.8;/7:.:<0<>3A>4CA6D=5F?7D?4D?4DB5F…
32 …#!'*',/,*,'*,'*,%,-&-.'01*/1'14)35*46,7:/7:/7:.68-7:.:<0==4>>5B?6?=4A<3B=4A>4CA6??5>>4B?3DB5D…
35 …*#*,%-.'./(-.'./(/1'/1'14)46,68-57,8;/8;/<<3::0<:0?=4?=4><3==3<<1<<1>>4A>1CA4B?3A>1B?3CA4??5AA6CC6…
37A>1B?3>>4>>4>>4AA6AA6AA6AA4BB5HC7ID8FB6EA5EA5FB6EA5ID8JE:ID8JH;LJ=JE:ID8IC5JD6JD6HB4EB3FC4FC4HD5JF…
43 …(/0,/0,10-31.43/65166-55,66-66-66,66,55,55,77.88/68.8;0;;1::077-;;0>>4==3B?3A>1>>4BB7DD:BB7DB7EC8D…
46A>4A>4B?5EC8DB5CA4DB5EC6EC8EC8HE8JH;IH7JI8JF7KH8JH;JH;JI8IH7JI6FE3EB0DA/EB3FC4HD5HD5HF6IH7ED4ED4CB…
53 …8FB8FB8HC:HC7ID8EC6DB5EA5FB6FC4EB3EA5D?4C>3D?4D?4C>3EA5FB6EA5EA5EA5EA5D?6C>5A>5EC:EE<HH>MKBQOEXVL^…
61 …1;;1;;1==4><3><3><1><1?=3?=3A>4?=3A>4A>4><1A>4B?5A>4B=4C>5B?3?=0C>3C>3B=1C>3C?0C?0B=1B=1B=1C>3C>3D…
[all …]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DConsumerTrap.java26 public class ConsumerTrap<A> implements Consumer<A> {
28 private volatile A mValue;
30 public boolean consume(A value) { in consume()
35 public A getValue() { in getValue()
/packages/apps/Browser/src/com/android/browser/
DSystemAllowGeolocationOrigins.java142 private <A> Set<A> setMinus(Set<A> x, Set<A> y) { in setMinus()
143 HashSet<A> z = new HashSet<A>(x.size()); in setMinus()
144 for (A a : x) { in setMinus()

1234