/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationTestList.java | 72 Notification n = new Notification(); 73 n.sound = Uri.parse("file:///sdcard/virtual-void.mp3"); 74 Log.d(TAG, "n.sound=" + n.sound); 76 mNM.notify(1, n); 86 Notification n = new Notification(R.drawable.icon1, "No view", 88 mNM.notify(1, n); 94 Notification n = new Notification(R.drawable.icon1, "No intent", 96 n.setLatestEventInfo(NotificationTestList.this, "No intent", 98 mNM.notify(1, n); 128 Notification n = new Notification(R.layout.chrono_notification /* not an icon */, [all …]
|
/frameworks/base/core/java/android/hardware/ |
D | GeomagneticField.java | 198 for (int n = 1; n < MAX_N; n++) { in GeomagneticField() 199 for (int m = 0; m <= n; m++) { in GeomagneticField() 201 float g = G_COEFF[n][m] + yearsSinceBase * DELTA_G[n][m]; in GeomagneticField() 202 float h = H_COEFF[n][m] + yearsSinceBase * DELTA_H[n][m]; in GeomagneticField() 209 gcX += relativeRadiusPower[n+2] in GeomagneticField() 211 * legendre.mPDeriv[n][m] in GeomagneticField() 212 * SCHMIDT_QUASI_NORM_FACTORS[n][m]; in GeomagneticField() 216 gcY += relativeRadiusPower[n+2] * m in GeomagneticField() 218 * legendre.mP[n][m] in GeomagneticField() 219 * SCHMIDT_QUASI_NORM_FACTORS[n][m] in GeomagneticField() [all …]
|
/frameworks/base/tools/localize/ |
D | Configuration.cpp | 7 int n; in Compare() local 9 n = locale.compare(that.locale); in Compare() 10 if (n != 0) return n; in Compare() 12 n = vendor.compare(that.vendor); in Compare() 13 if (n != 0) return n; in Compare() 15 n = orientation.compare(that.orientation); in Compare() 16 if (n != 0) return n; in Compare() 18 n = density.compare(that.density); in Compare() 19 if (n != 0) return n; in Compare() 21 n = touchscreen.compare(that.touchscreen); in Compare() [all …]
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | rate_control.cpp | 60 Int n; in RC_Initialize() local 62 for (n = 0; n < numLayers; n++) in RC_Initialize() 65 rc[n]->fine_frame_skip = encParams->FineFrameSkip_Enabled; in RC_Initialize() 66 rc[n]->no_frame_skip = encParams->NoFrameSkip_Enabled; in RC_Initialize() 67 rc[n]->no_pre_skip = encParams->NoPreSkip_Enabled; in RC_Initialize() 68 rc[n]->skip_next_frame = 0; /* must be initialized */ in RC_Initialize() 71 rc[n]->Bs = video->encParams->BufferSize[n]; in RC_Initialize() 72 rc[n]->TMN_W = 0; in RC_Initialize() 73 rc[n]->VBV_fullness = (Int)(rc[n]->Bs * 0.5); /* rc[n]->Bs */ in RC_Initialize() 74 rc[n]->encoded_frames = 0; in RC_Initialize() [all …]
|
/frameworks/base/core/jni/ |
D | Time.cpp | 71 int n = DAYS_PER_MONTH[month]; in days_this_month() local 72 if (n != 28) { in days_this_month() 73 return n; in days_this_month() 91 int n = strftime_tz(buf, 257, format, &(this->t), locale); in format() local 92 if (n > 0) { in format() 100 tochar(int n) in tochar() argument 102 return (n >= 0 && n <= 9) ? ('0'+n) : ' '; in tochar() 108 int n = *m / k; in next_char() local 110 return tochar(n); in next_char() 116 int n; in format2445() local [all …]
|
/frameworks/base/media/libeffects/lvm/lib/Common/lib/ |
D | VectorArithmetic.h | 34 LVM_INT16 n ); 38 LVM_INT16 n ); 42 LVM_INT16 n ); 55 LVM_INT16 n); 68 LVM_INT16 n); 75 LVM_INT16 n); 81 LVM_INT16 n); 85 LVM_INT16 n ); 89 LVM_INT16 n ); 94 LVM_INT16 n); [all …]
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
D | convolve.c | 35 Word32 i, n; in Convolve() local 38 for (n = 0; n < 64;) in Convolve() 40 tmpH = h+n; in Convolve() 42 i=n+1; in Convolve() 52 y[n] = ((s<<1) + 0x8000)>>16; in Convolve() 53 n++; in Convolve() 55 tmpH = h+n; in Convolve() 57 i=n+1; in Convolve() 69 y[n] = ((s<<1) + 0x8000)>>16; in Convolve() 70 n++; in Convolve() [all …]
|
/frameworks/base/media/libstagefright/foundation/ |
D | ABitReader.cpp | 46 uint32_t ABitReader::getBits(size_t n) { in getBits() argument 47 CHECK_LE(n, 32u); in getBits() 50 while (n > 0) { in getBits() 55 size_t m = n; in getBits() 64 n -= m; in getBits() 70 void ABitReader::skipBits(size_t n) { in skipBits() argument 71 while (n > 32) { in skipBits() 73 n -= 32; in skipBits() 76 if (n > 0) { in skipBits() 77 getBits(n); in skipBits() [all …]
|
/frameworks/base/core/java/android/os/ |
D | MessageQueue.java | 239 Message n = p.next; in removeMessages() local 240 mMessages = n; in removeMessages() 242 p = n; in removeMessages() 247 Message n = p.next; in removeMessages() local 248 if (n != null) { in removeMessages() 249 if (n.target == h && n.what == what in removeMessages() 250 && (object == null || n.obj == object)) { in removeMessages() 253 Message nn = n.next; in removeMessages() 254 n.recycle(); in removeMessages() 259 p = n; in removeMessages() [all …]
|
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
D | pvamrwbdecoder_mem_funcs.h | 58 #define pv_memset(to, c, n) memset(to, c, n) argument 61 #define pv_memcpy(to, from, n) memcpy(to, from, n) argument 62 #define pv_memmove(to, from, n) memmove(to, from, n) argument 63 #define pv_memcmp(p, q, n) memcmp(p, q, n) argument
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
D | aac_mem_funcs.h | 41 #define pv_memset(to, c, n) memset(to, c, n) argument 44 #define pv_memcpy(to, from, n) memcpy(to, from, n) argument 45 #define pv_memmove(to, from, n) memmove(to, from, n) argument 46 #define pv_memcmp(p, q, n) memcmp(p, q, n) argument
|
D | calc_sbr_envelope.cpp | 318 Int32 n; in calc_sbr_envelope() local 988 for (n = 0; n < maxSmoothLength; n++) in calc_sbr_envelope() 990 pv_memcpy(fBuf_man[n], nrg_gain_man, noSubbands*sizeof(*fBuf_man[n])); in calc_sbr_envelope() 991 pv_memcpy(fBufN_man[n], noise_level_man, noSubbands*sizeof(*fBufN_man[n])); in calc_sbr_envelope() 992 pv_memcpy(fBuf_exp[n], nrg_gain_exp, noSubbands*sizeof(*fBuf_exp[n])); in calc_sbr_envelope() 993 pv_memcpy(fBufN_exp[n], noise_level_exp, noSubbands*sizeof(*fBufN_exp[n])); in calc_sbr_envelope() 1610 Int32 n; in envelope_application() local 1674 for (n = maxSmoothLength - smooth_length; n < maxSmoothLength; n++) in envelope_application() 1676 if (sb_gain_exp < fBuf_exp[n][k]) in envelope_application() 1678 sb_gain_exp = fBuf_exp[n][k]; in envelope_application() [all …]
|
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
D | mp3_mem_funcs.h | 64 #define pv_memset(to, c, n) memset(to, c, n) argument 67 #define pv_memcpy(to, from, n) memcpy(to, from, n) argument 68 #define pv_memmove(to, from, n) memmove(to, from, n) argument 69 #define pv_memcmp(p, q, n) memcmp(p, q, n) argument
|
/frameworks/base/cmds/installd/ |
D | installd.c | 141 int n = 0, r; in readx() local 143 while (n < count) { in readx() 144 r = read(s, buf + n, count - n); in readx() 154 n += r; in readx() 162 int n = 0, r; in writex() local 164 while (n < count) { in writex() 165 r = write(s, buf + n, count - n); in writex() 171 n += r; in writex() 186 unsigned n = 0; in execute() local 200 n++; in execute() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 600 int n; in compareTo() local 605 n = this.mcc - that.mcc; in compareTo() 606 if (n != 0) return n; in compareTo() 607 n = this.mnc - that.mnc; in compareTo() 608 if (n != 0) return n; in compareTo() 614 n = this.locale.getLanguage().compareTo(that.locale.getLanguage()); in compareTo() 615 if (n != 0) return n; in compareTo() 616 n = this.locale.getCountry().compareTo(that.locale.getCountry()); in compareTo() 617 if (n != 0) return n; in compareTo() 618 n = this.locale.getVariant().compareTo(that.locale.getVariant()); in compareTo() [all …]
|
D | PluralRules.java | 37 abstract int quantityForNumber(int n); in quantityForNumber() argument 39 final int attrForNumber(int n) { in attrForNumber() argument 40 return PluralRules.attrForQuantity(quantityForNumber(n)); in attrForNumber() 86 int quantityForNumber(int n) { in quantityForNumber() argument 87 if (n == 1) { in quantityForNumber() 90 else if (n >= 2 && n <= 4) { in quantityForNumber() 101 int quantityForNumber(int n) { in quantityForNumber() argument 102 if (n == 1) { in quantityForNumber()
|
/frameworks/base/core/jni/android/opengl/ |
D | poly_clip.cpp | 43 if (q->n==0) {p1->n = 0; return POLY_CLIP_OUT;} \ 68 q->n = 0; in poly_clip_to_halfspace() 71 u = &p->vert[p->n-1]; in poly_clip_to_halfspace() 73 for (v= &p->vert[0], i=p->n; i>0; i--, u=v, tu=tv, v++) { in poly_clip_to_halfspace() 82 wp = (float *)&q->vert[q->n].sx; in poly_clip_to_halfspace() 86 q->n++; in poly_clip_to_halfspace() 89 q->vert[q->n++] = *v; in poly_clip_to_halfspace() 115 for (v=p1->vert, i=p1->n; i>0; i--, v++) { in poly_clip_to_frustum() 130 if (x0out==p1->n || x1out==p1->n || y0out==p1->n || in poly_clip_to_frustum() 131 y1out==p1->n || z0out==p1->n || z1out==p1->n) { in poly_clip_to_frustum() [all …]
|
/frameworks/base/media/libeffects/lvm/lib/Common/src/ |
D | LVC_MixSoft_2St_D16C31_SAT.c | 33 LVM_INT16 n) in LVC_MixSoft_2St_D16C31_SAT() argument 38 if(n<=0) return; in LVC_MixSoft_2St_D16C31_SAT() 44 … LVC_MixSoft_1St_D16C31_SAT( (LVMixer3_1St_st *)(&ptrInstance->MixerStream[1]), src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT() 47 … LVC_MixSoft_1St_D16C31_SAT( (LVMixer3_1St_st *)(&ptrInstance->MixerStream[0]), src1, dst, n); in LVC_MixSoft_2St_D16C31_SAT() 51 LVC_MixSoft_1St_D16C31_SAT((LVMixer3_1St_st *)(&ptrInstance->MixerStream[0]), src1, dst, n); in LVC_MixSoft_2St_D16C31_SAT() 52 LVC_MixInSoft_D16C31_SAT( (LVMixer3_1St_st *)(&ptrInstance->MixerStream[1]), src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT() 59 Shift_Sat_v16xv16 ((LVM_INT16)pInstance2->Shift,src2,src2,n); in LVC_MixSoft_2St_D16C31_SAT() 62 Shift_Sat_v16xv16 ((LVM_INT16)pInstance1->Shift,src1,dst,n); in LVC_MixSoft_2St_D16C31_SAT() 63 …ard_2St_D16C31_SAT( &ptrInstance->MixerStream[0], &ptrInstance->MixerStream[1], dst, src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT() 66 …rd_2St_D16C31_SAT( &ptrInstance->MixerStream[0], &ptrInstance->MixerStream[1], src1, src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
|
D | MixSoft_2St_D32C31_SAT.c | 34 LVM_INT16 n) in MixSoft_2St_D32C31_SAT() argument 37 if(n<=0) return; in MixSoft_2St_D32C31_SAT() 44 MixSoft_1St_D32C31_WRA( (Mix_1St_Cll_t*) pInstance, src1, dst, n); in MixSoft_2St_D32C31_SAT() 46 src2, dst, n); in MixSoft_2St_D32C31_SAT() 57 src2, dst, n); in MixSoft_2St_D32C31_SAT() 59 MixSoft_1St_D32C31_WRA( (Mix_1St_Cll_t*) pInstance, src1, dst, n); in MixSoft_2St_D32C31_SAT() 61 Core_MixHard_2St_D32C31_SAT( pInstance, src1, src2, dst, n); in MixSoft_2St_D32C31_SAT()
|
D | LVC_MixSoft_1St_D16C31_SAT.c | 40 LVM_INT16 n) in LVC_MixSoft_1St_D16C31_SAT() argument 46 if(n<=0) return; in LVC_MixSoft_1St_D16C31_SAT() 65 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,dst,n); in LVC_MixSoft_1St_D16C31_SAT() 66 LVC_Core_MixSoft_1St_D16C31_WRA( &(ptrInstance->MixerStream[0]), dst, dst, n); in LVC_MixSoft_1St_D16C31_SAT() 69 LVC_Core_MixSoft_1St_D16C31_WRA( &(ptrInstance->MixerStream[0]), src, dst, n); in LVC_MixSoft_1St_D16C31_SAT() 79 LoadConst_16(0, dst, n); in LVC_MixSoft_1St_D16C31_SAT() 81 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,dst,n); in LVC_MixSoft_1St_D16C31_SAT() 83 Mult3s_16x16( dst, (LVM_INT16)(pInstance->Target>>16), dst, n ); in LVC_MixSoft_1St_D16C31_SAT() 87 Mult3s_16x16( src, (LVM_INT16)(pInstance->Target>>16), dst, n ); in LVC_MixSoft_1St_D16C31_SAT() 89 Copy_16(src, dst, n); in LVC_MixSoft_1St_D16C31_SAT()
|
/frameworks/base/include/utils/ |
D | BitSet.h | 36 static inline uint32_t valueForBit(uint32_t n) { return 0x80000000 >> n; } in valueForBit() 48 inline bool hasBit(uint32_t n) const { return value & valueForBit(n); } in hasBit() 51 inline void markBit(uint32_t n) { value |= valueForBit(n); } in markBit() 54 inline void clearBit(uint32_t n) { value &= ~ valueForBit(n); } in clearBit()
|
/frameworks/base/media/libmedia/ |
D | fixedfft.cpp | 107 void fixed_fft(int n, int32_t *v) in fixed_fft() argument 111 for (r = 0, i = 1; i < n; ++i) { in fixed_fft() 112 for (p = n; !(p & r); p >>= 1, r ^= p); in fixed_fft() 120 for (p = 1; p < n; p <<= 1) { in fixed_fft() 123 for (i = 0; i < n; i += p << 1) { in fixed_fft() 134 for (i = r; i < n; i += p << 1) { in fixed_fft() 144 void fixed_fft_real(int n, int32_t *v) in fixed_fft_real() argument 146 int scale = LOG_FFT_SIZE, m = n >> 1, i; in fixed_fft_real() 148 fixed_fft(n, v); in fixed_fft_real() 149 for (i = 1; i <= n; i <<= 1, --scale); in fixed_fft_real() [all …]
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
D | convolve.cpp | 215 register Word16 i, n; in Convolve() local 219 for (n = 1; n < L; n = n + 2) in Convolve() 222 h = h + n; in Convolve() 227 for (i = (n - 1) >> 1; i != 0; i--) in Convolve() 240 x = x - n; in Convolve()
|
/frameworks/base/media/libstagefright/ |
D | ShoutcastSource.cpp | 114 ssize_t n = mHttp->receive(buffer->data(), num_bytes); in read() local 116 if (n <= 0) { in read() 117 return (status_t)n; in read() 120 buffer->set_range(0, n); in read() 122 mBytesUntilMetaData -= (size_t)n; in read() 126 n = mHttp->receive((char *)&num_16_byte_blocks, 1); in read() 127 CHECK_EQ(n, 1); in read() 133 n = mHttp->receive(&meta[meta_length], meta_size - meta_length); in read() 134 if (n <= 0) { in read() 135 return (status_t)n; in read() [all …]
|
/frameworks/base/libs/utils/ |
D | StopWatch.cpp | 41 const int n = mNumLaps; in ~StopWatch() local 43 for (int i=0 ; i<n ; i++) { in ~StopWatch() 61 const int n = mNumLaps; in lap() local 62 mLaps[n].soFar = elapsed; in lap() 63 mLaps[n].thisLap = n ? (elapsed - mLaps[n-1].soFar) : elapsed; in lap() 64 mNumLaps = n+1; in lap()
|