/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationTestList.java | 91 Notification n = new Notification(); 92 n.sound = Uri.parse("file://" + Environment.getExternalStorageDirectory() + 94 Log.d(TAG, "n.sound=" + n.sound); 96 mNM.notify(1, n); 113 Notification n = new Notification(R.drawable.icon1, null, 115 n.contentView = new RemoteViews(getPackageName(), R.layout.button_notification); 116 n.flags |= Notification.FLAG_ONGOING_EVENT; 117 n.contentIntent = makeIntent(); 118 n.contentView.setOnClickPendingIntent(R.id.button, makeIntent2()); 120 mNM.notify(1, n); [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/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/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/include/utils/ |
D | BitSet.h | 36 static inline uint32_t valueForBit(uint32_t n) { return 0x80000000 >> n; } in valueForBit() 51 inline bool hasBit(uint32_t n) const { return value & valueForBit(n); } in hasBit() 54 inline void markBit(uint32_t n) { value |= valueForBit(n); } in markBit() 57 inline void clearBit(uint32_t n) { value &= ~ valueForBit(n); } in clearBit() 74 uint32_t n = firstMarkedBit(); in clearFirstMarkedBit() local 75 clearBit(n); in clearFirstMarkedBit() 76 return n; in clearFirstMarkedBit() 82 uint32_t n = firstUnmarkedBit(); in markFirstUnmarkedBit() local 83 markBit(n); in markFirstUnmarkedBit() 84 return n; in markFirstUnmarkedBit() [all …]
|
/frameworks/compile/libbcc/runtime/lib/ |
D | udivmodti4.c | 30 utwords n; in __udivmodti4() local 31 n.all = a; in __udivmodti4() 38 if (n.s.high == 0) in __udivmodti4() 47 *rem = n.s.low % d.s.low; in __udivmodti4() 48 return n.s.low / d.s.low; in __udivmodti4() 55 *rem = n.s.low; in __udivmodti4() 68 *rem = n.s.high % d.s.low; in __udivmodti4() 69 return n.s.high / d.s.low; in __udivmodti4() 72 if (n.s.low == 0) in __udivmodti4() 80 r.s.high = n.s.high % d.s.high; in __udivmodti4() [all …]
|
D | udivmoddi4.c | 28 udwords n; in __udivmoddi4() local 29 n.all = a; in __udivmoddi4() 36 if (n.s.high == 0) in __udivmoddi4() 45 *rem = n.s.low % d.s.low; in __udivmoddi4() 46 return n.s.low / d.s.low; in __udivmoddi4() 53 *rem = n.s.low; in __udivmoddi4() 66 *rem = n.s.high % d.s.low; in __udivmoddi4() 67 return n.s.high / d.s.low; in __udivmoddi4() 70 if (n.s.low == 0) in __udivmoddi4() 78 r.s.high = n.s.high % d.s.high; in __udivmoddi4() [all …]
|
/frameworks/compile/libbcc/tests/data/src/ |
D | bellard.otccex.c | 23 fib(n) in fib() argument 25 if (n <= 2) in fib() 28 return fib(n-1) + fib(n-2); in fib() 33 fact(n) in fact() argument 39 for(i=2;i<=n;i++) in fact() 45 print_num(n, b) in print_num() argument 54 c = n % b; in print_num() 62 n = n / b; in print_num() 64 if (n == 0) in print_num() 81 int s, n, f, base; in main() local [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/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/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/opengl/libs/GLES2_dbg/ |
D | generate_caller_cpp.py | 45 case glesv2debugger::Message_Function_%s:\n" % functionName 52 ret = GenerateCall_%s(dbg, cmd, msg, prevRet);\n\ 53 break;\n" % (functionName) 58 ret = GenerateCall_%s(dbg, cmd, msg, prevRet);\n\ 59 break; // annotated output pointers\n" % (functionName) 117 dbg->hooks->gl.%s(\n\ 118 %s);\n\ 119 break;\n" % (functionName, arguments) 122 msg.set_ret(static_cast<int>(dbg->hooks->gl.%s(\n\ 123 %s)));\n\ [all …]
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
D | CarouselController.java | 167 public void setGeometryForItem(int n, Mesh mesh) { in setGeometryForItem() argument 169 mRenderScript.setGeometry(n, mesh); in setGeometryForItem() 179 public void setGeometryForItem(int n, int resId) { in setGeometryForItem() argument 182 mRenderScript.setGeometry(n, mesh); in setGeometryForItem() 192 public void setMatrixForItem(int n, float[] matrix) { in setMatrixForItem() argument 194 mRenderScript.setMatrix(n, matrix); in setMatrixForItem() 204 public void setSlotCount(int n) { in setSlotCount() argument 205 mSlotCount = n; in setSlotCount() 207 mRenderScript.setSlotCount(n); in setSlotCount() 216 public void setVisibleSlots(int n) { in setVisibleSlots() argument [all …]
|
D | CarouselRS.java | 128 void onCardSelected(int n); in onCardSelected() argument 136 void onDetailSelected(int n, int x, int y); in onDetailSelected() argument 144 void onCardLongPress(int n, int touchPosition[], Rect detailCoordinates); in onCardLongPress() argument 151 void onRequestTexture(int n); in onRequestTexture() argument 158 void onInvalidateTexture(int n); in onInvalidateTexture() argument 165 void onRequestDetailTexture(int n); in onRequestDetailTexture() argument 172 void onInvalidateDetailTexture(int n); in onInvalidateDetailTexture() argument 178 void onRequestGeometry(int n); in onRequestGeometry() argument 185 void onInvalidateGeometry(int n); in onInvalidateGeometry() argument 544 private void setProgramStoreCard(int n, ProgramStore programStore) { in setProgramStoreCard() argument [all …]
|
D | CarouselView.java | 211 public void setGeometryForItem(int n, Mesh mesh) { in setGeometryForItem() argument 212 mController.setGeometryForItem(n, mesh); in setGeometryForItem() 220 public void setMatrixForItem(int n, float[] matrix) { in setMatrixForItem() argument 221 mController.setMatrixForItem(n, matrix); in setMatrixForItem() 230 public void setSlotCount(int n) { in setSlotCount() argument 231 mController.setSlotCount(n); in setSlotCount() 239 public void setVisibleSlots(int n) { in setVisibleSlots() argument 240 mController.setVisibleSlots(n); in setVisibleSlots() 252 public void setPrefetchCardCount(int n) { in setPrefetchCardCount() argument 253 mController.setPrefetchCardCount(n); in setPrefetchCardCount() [all …]
|
/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/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/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/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()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 826 int n; in compareTo() local 831 n = this.mcc - that.mcc; in compareTo() 832 if (n != 0) return n; in compareTo() 833 n = this.mnc - that.mnc; in compareTo() 834 if (n != 0) return n; in compareTo() 840 n = this.locale.getLanguage().compareTo(that.locale.getLanguage()); in compareTo() 841 if (n != 0) return n; in compareTo() 842 n = this.locale.getCountry().compareTo(that.locale.getCountry()); in compareTo() 843 if (n != 0) return n; in compareTo() 844 n = this.locale.getVariant().compareTo(that.locale.getVariant()); in compareTo() [all …]
|
/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 …]
|