Home
last modified time | relevance | path

Searched refs:sign (Results 1 – 25 of 192) sorted by relevance

12345678

/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dbit_cnt.c500 Word16 sign, signLength; in codeValues() local
533 sign=0; in codeValues()
539 sign = sign << 1; in codeValues()
542 sign|=1; in codeValues()
550 sign = sign << 1; in codeValues()
553 sign|=1; in codeValues()
561 sign = sign << 1; in codeValues()
564 sign|=1; in codeValues()
571 sign = sign << 1; in codeValues()
574 sign|=1; in codeValues()
[all …]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DDuration.java31 public int sign; // 1 or -1 field in Duration
40 sign = 1; in Duration()
49 sign = 1; in parse()
66 sign = -1; in parse()
131 cal.add(Calendar.DAY_OF_MONTH, sign*weeks*7); in addTo()
132 cal.add(Calendar.DAY_OF_MONTH, sign*days); in addTo()
133 cal.add(Calendar.HOUR, sign*hours); in addTo()
134 cal.add(Calendar.MINUTE, sign*minutes); in addTo()
135 cal.add(Calendar.SECOND, sign*seconds); in addTo()
143 long factor = 1000 * sign; in getMillis()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dd1035pf.cpp213 Word16 sign, tmp; in dec_10i40_35bits() local
237 sign = 4096; /* +1.0 */ in dec_10i40_35bits()
241 sign = -4096; /* -1.0 */ in dec_10i40_35bits()
244 *(cod + pos1) = sign; in dec_10i40_35bits()
257 sign = negate(sign); in dec_10i40_35bits()
259 *(cod + pos2) += sign; in dec_10i40_35bits()
Dd8_31pf.cpp568 Word16 sign; in dec_8i40_31bits() local
594 sign = POS_CODE; /* +1.0 */ in dec_8i40_31bits()
598 sign = -NEG_CODE; /* -1.0 */ in dec_8i40_31bits()
603 cod[pos1] = sign; /* avoid buffer overflow */ in dec_8i40_31bits()
614 sign = negate(sign); in dec_8i40_31bits()
619 cod[pos2] += sign; /* avoid buffer overflow */ in dec_8i40_31bits()
Dd2_11pf.cpp151 Word16 sign, /* i : signs of 2 pulses. */ in decode_2i40_11bits() argument
203 i = sign & 1; in decode_2i40_11bits()
220 sign >>= 1; in decode_2i40_11bits()
Dd3_14pf.cpp157 Word16 sign, /* i : signs of 3 pulses. */ in decode_3i40_14bits() argument
211 i = sign & 1; in decode_3i40_14bits()
228 sign >>= 1; in decode_3i40_14bits()
Dd_plsf_5.cpp313 Word16 sign; in D_plsf_5() local
339 sign = in D_plsf_5()
347 sign, in D_plsf_5()
413 sign = *(indice + 2) & 1; in D_plsf_5()
432 if (sign == 0) in D_plsf_5()
Dd2_9pf.cpp177 Word16 sign, /* i : signs of 2 pulses. */ in decode_2i40_9bits() argument
227 i = sign & 0x1; in decode_2i40_9bits()
244 sign >>= 1; in decode_2i40_9bits()
Dd4_17pf.cpp177 Word16 sign, /* i : signs of 4 pulses. */ in decode_4i40_17bits() argument
250 i = sign & 0x1; in decode_4i40_17bits()
267 sign >>= 1; in decode_4i40_17bits()
/frameworks/base/core/java/android/text/method/
DDigitsKeyListener.java80 public DigitsKeyListener(boolean sign, boolean decimal) { in DigitsKeyListener() argument
81 mSign = sign; in DigitsKeyListener()
84 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0); in DigitsKeyListener()
100 public static DigitsKeyListener getInstance(boolean sign, boolean decimal) { in getInstance() argument
101 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0); in getInstance()
106 sInstance[kind] = new DigitsKeyListener(sign, decimal); in getInstance()
152 int sign = -1; in filter() local
164 sign = i; in filter()
195 } else if (sign >= 0) { in filter()
198 sign = i; in filter()
/frameworks/base/docs/html/distribute/users/
Dota-installs.jd2 page.metaDescription=Let users send your app directly to their devices when they sign in with Googl…
4 page.image=images/cards/google-sign-in_2x.png
9 <p>Google sign-in is a trusted registration system that's familiar to users and
10 consistent across devices. With minimal effort, you can improve your sign-in conversion
11 with a fast and secure authentication option for users. And by using Google sign-in,
13 they sign-in, without the need for them to visit the Play store. Using this approach,
16 <p>Get started with <a href="https://developers.google.com/identity/sign-in/android/">
17 Google sign-in for Android</a> and then enable <a
18 href="https://developers.google.com/identity/sign-in/web/android-app-installs">over-the-air
33 <li>Adding Google sign-in to your app can increase conversions by reducing the burden
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
DarmVCM4P2_GetVLCBits.c118 OMX_U8 sign = 0; in armVCM4P2_GetVLCBits() local
143 sign = (storeLevel & 0x80); in armVCM4P2_GetVLCBits()
144 if(sign==0x80) in armVCM4P2_GetVLCBits()
147 sign=1; in armVCM4P2_GetVLCBits()
151 armRetDataErrIf( storeLevel == 0 || sign*storeLevel == 128 , OMX_Sts_Err); /* Invalid FLC */ in armVCM4P2_GetVLCBits()
157 sign, in armVCM4P2_GetVLCBits()
206 sign = (OMX_U8) armGetBits(ppBitStream, pBitOffset, 1); in armVCM4P2_GetVLCBits()
243 sign = (OMX_U8) armGetBits(ppBitStream, pBitOffset, 1); in armVCM4P2_GetVLCBits()
259 sign, in armVCM4P2_GetVLCBits()
DarmVCM4P2_FillVLCBuffer.c93 OMX_U32 tempRun = run, sign = 0; in armVCM4P2_FillVLCBuffer() local
130 sign = 1; in armVCM4P2_FillVLCBuffer()
148 armPackBits(ppBitStream, pBitOffset, (OMX_U32)sign, 1); in armVCM4P2_FillVLCBuffer()
152 if (sign) in armVCM4P2_FillVLCBuffer()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dvlc_decode.cpp872 pTcoef->sign = (code >> (12 - tab->len)) & 1; in VlcDecTCOEFIntra()
886 if (!pTcoef->sign) in VlcDecTCOEFIntra()
919 pTcoef->sign = (code >> (12 - tab->len)) & 1; in VlcDecTCOEFIntra()
971 pTcoef->sign = (code >> (12 - tab->len)) & 1; in VlcDecTCOEFIntra()
1008 pTcoef->sign = 1; in VlcDecTCOEFIntra()
1013 pTcoef->sign = 0; in VlcDecTCOEFIntra()
1054 pTcoef->sign = (code >> (12 - tab->len)) & 1; in VlcDecTCOEFInter()
1067 if (!pTcoef->sign) in VlcDecTCOEFInter()
1097 pTcoef->sign = (code >> (12 - tab->len)) & 1; in VlcDecTCOEFInter()
1144 pTcoef->sign = (code >> (12 - tab->len)) & 1; in VlcDecTCOEFInter()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dc4t64fx.c76 Word16 sign[], /* (i) sign vector */
86 Word16 sign[], /* (i) sign vector */
96 Word16 sign[], /* (i) sign vector */
141 Word16 dn2[L_SUBFR], sign[L_SUBFR], vec[L_SUBFR]; in ACELP_4t64_fx() local
287 sign[i] = 32767; /* sign = +1 (Q12) */ in ACELP_4t64_fx()
291 sign[i] = -32768; /* sign = -1 (Q12) */ in ACELP_4t64_fx()
527 psign = sign; in ACELP_4t64_fx()
578 if (sign[ix] < 0) in ACELP_4t64_fx()
582 if (sign[iy] < 0) in ACELP_4t64_fx()
608 if (sign[ix] < 0) in ACELP_4t64_fx()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
Dcor_h_vec_opt.s20 @ Word16 sign[], /* (i) sign vector */
28 @r3 ---- sign[]
45 @r3 --- sign[], r4 --- i, r7 --- p0
71 ADD r9, r3, r2, LSL #1 @address of sign[pos]
73 LDRSH r10, [r9], #2 @sign[pos]
74 LDRSH r11, [r9] @sign[pos + 1]
118 ADD r9, r3, r2, LSL #1 @address of sign[pos]
120 LDRSH r10, [r9], #2 @sign[pos]
121 LDRSH r11, [r9] @sign[pos + 1]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
Dcor_h_vec_neon.s21 @ Word16 sign[], /* (i) sign vector */
29 @r3 ---- sign[]
45 @r3 --- sign[], r4 --- i, r7 --- p0
72 ADD r9, r3, r2, LSL #1 @address of sign[pos]
74 LDRSH r10, [r9], #2 @sign[pos]
75 LDRSH r11, [r9] @sign[pos + 1]
119 ADD r9, r3, r2, LSL #1 @address of sign[pos]
121 LDRSH r10, [r9], #2 @sign[pos]
122 LDRSH r11, [r9] @sign[pos + 1]
/frameworks/base/docs/html/training/sign-in/
Dindex.jd20 …The <a href="https://developers.google.com/identity/sign-in/android/">Google Android API</a> allows
21 you to integrate sign-in and social features into your app.
29 Google Sign-In is a simple, trusted, and secure way to let people sign in to your app with their
31 <a href="https://developers.google.com/identity/sign-in/android/sign-in" class="external-link">Add
40 <a href="https://developers.google.com/identity/sign-in/android/people" class="external-link">
50 "https://developers.google.com/identity/sign-in/android/start-integrating">Start Integrating</a>
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVM_Polynomial.c49 LVM_INT32 Y,A,XTemp,Temp,sign; in LVM_Polynomial() local
57 sign=Temp; in LVM_Polynomial()
60 Y+=((*pCoefficients)*sign); in LVM_Polynomial()
62 sign*=Temp; in LVM_Polynomial()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dc1035pf.cpp401 Word16 sign[], /* (i) : sign of d[n] */ in build_code() argument
438 if (sign[i] > 0) in build_code()
659 Word16 dn[L_CODE], sign[L_CODE]; in code_10i40_35bits() local
663 set_sign12k2(dn, cn, sign, pos_max, NB_TRACK, ipos, STEP, pOverflow); in code_10i40_35bits()
664 cor_h(h, sign, rr, pOverflow); in code_10i40_35bits()
669 build_code(codvec, sign, cod, h, y, indx, pOverflow); in code_10i40_35bits()
Dset_sign.cpp246 Word16 sign[], /* o : sign of dn[] */ in set_sign() argument
262 sign[i] = 32767; in set_sign()
266 sign[i] = -32767; in set_sign()
489 Word16 sign[], /* o : sign of d[n] */ in set_sign12k2() argument
537 p_sign = &sign[L_CODE-1]; in set_sign12k2()
/frameworks/base/core/jni/android/opengl/
Dpoly_clip.cpp41 #define CLIP_AND_SWAP(elem, sign, k, p, q, r) { \ argument
42 poly_clip_to_halfspace(p, q, &v->elem-(float *)v, sign, sign*k); \
59 void poly_clip_to_halfspace(Poly* p, Poly* q, int index, float sign, float k) in poly_clip_to_halfspace() argument
71 tu = sign*COORD(u, index) - u->sw*k; in poly_clip_to_halfspace()
75 tv = sign*COORD(v, index) - v->sw*k; in poly_clip_to_halfspace()
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dresidual.cpp158 … int escape, numPrefix, sufmask, suffix, shift, sign, value, absvalue, vlcnum, level_two_or_higher; in enc_residual_block() local
307 sign = 0; in enc_residual_block()
311 sign = 1; in enc_residual_block()
319 status = BitstreamWriteBits(stream, value * 2 + sign - 1, 1); in enc_residual_block()
323 … status = BitstreamWriteBits(stream, 14 + 1 + 4, (1 << 4) | ((value - 8) << 1) | sign); in enc_residual_block()
327 … status = BitstreamWriteBits(stream, 14 + 2 + 12, (1 << 12) | ((value - 16) << 1) | sign) ; in enc_residual_block()
339 …us = BitstreamWriteBits(stream, numPrefix + vlcnum + 1, (1 << (shift + 1)) | (suffix << 1) | sign); in enc_residual_block()
343 … status = BitstreamWriteBits(stream, 28, (1 << 12) | ((value - escape) << 1) | sign); in enc_residual_block()
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/util/
DXmlUtils_Delegate.java42 int sign = 1; in convertValueToInt() local
48 sign = -1; in convertValueToInt()
72 return ((int)Long.parseLong(nm.substring(index), base)) * sign; in convertValueToInt()
/frameworks/base/docs/html/distribute/engage/
Deasy-signin.jd2 …ncrease conversion rates while helping users minimize typing by letting users sign in with Google+.
4 page.image=images/cards/google-sign-in_2x.png
10 registration and sign-in conversion by adding trusted registration system that's
13 <p>Get started <a href="https://developers.google.com/identity/sign-in/">integrating
14 Google sign-in into your apps and games</a>.</p>
20 <p>A secure authentication system that makes sign-in easy for your users by
61 <li>With Google sign-in, you can take advantage of other <strong>Google+ platform

12345678