/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationTestList.java | 99 Notification n = new Notification(); 100 n.sound = Uri.parse("file://" + Environment.getExternalStorageDirectory() + 102 Log.d(TAG, "n.sound=" + n.sound); 104 mNM.notify(1, n); 121 Notification n = new Notification(R.drawable.icon1, null, 123 n.contentView = new RemoteViews(getPackageName(), R.layout.button_notification); 124 n.flags |= Notification.FLAG_ONGOING_EVENT; 125 n.contentIntent = makeIntent(); 126 n.contentView.setOnClickPendingIntent(R.id.button, makeIntent2()); 128 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/av/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/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/native/include/utils/ |
D | BitSet.h | 37 static inline uint32_t valueForBit(uint32_t n) { return 0x80000000 >> n; } in valueForBit() 52 inline bool hasBit(uint32_t n) const { return value & valueForBit(n); } in hasBit() 55 inline void markBit(uint32_t n) { value |= valueForBit(n); } in markBit() 58 inline void clearBit(uint32_t n) { value &= ~ valueForBit(n); } in clearBit() 75 uint32_t n = firstMarkedBit(); in clearFirstMarkedBit() local 76 clearBit(n); in clearFirstMarkedBit() 77 return n; in clearFirstMarkedBit() 83 uint32_t n = firstUnmarkedBit(); in markFirstUnmarkedBit() local 84 markBit(n); in markFirstUnmarkedBit() 85 return n; in markFirstUnmarkedBit() [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/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/support/v4/honeycomb/android/support/v4/app/ |
D | NotificationCompatHoneycomb.java | 26 static Notification add(Context context, Notification n, in add() argument 31 .setWhen(n.when) in add() 32 .setSmallIcon(n.icon, n.iconLevel) in add() 33 .setContent(n.contentView) in add() 34 .setTicker(n.tickerText, tickerView) in add() 35 .setSound(n.sound, n.audioStreamType) in add() 36 .setVibrate(n.vibrate) in add() 37 .setLights(n.ledARGB, n.ledOnMS, n.ledOffMS) in add() 38 .setOngoing((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) in add() 39 .setOnlyAlertOnce((n.flags & Notification.FLAG_ONLY_ALERT_ONCE) != 0) in add() [all …]
|
/frameworks/av/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/av/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/av/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/native/libs/utils/ |
D | primes.py | 27 def is_odd_prime(n): argument 28 limit = (n - 1) / 2 31 if n % d == 0: 38 n = 5 variable 40 while n < max: 41 print " %d," % (n) 42 n = n * 2 + 1 variable 43 while not is_odd_prime(n): 44 n += 2
|
/frameworks/base/core/java/android/os/ |
D | MessageQueue.java | 378 Message n = p.next; in removeMessages() local 379 mMessages = n; in removeMessages() 381 p = n; in removeMessages() 386 Message n = p.next; in removeMessages() local 387 if (n != null) { in removeMessages() 388 if (n.target == h && n.what == what in removeMessages() 389 && (object == null || n.obj == object)) { in removeMessages() 390 Message nn = n.next; in removeMessages() 391 n.recycle(); in removeMessages() 396 p = n; in removeMessages() [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 …]
|
/frameworks/base/docs/html/intl/es/training/monitoring-device-state/ |
D | index.jd | 1 page.title=Cómo optimizar la duración de la batería 19 <h2>También puedes consultar:</h2> 27 …n debe ser limitar su impacto en la duración de la batería del dispositivo en el que esté instalad… 29 …a bajo, puedes garantizar que se minimice el impacto de tu aplicación en la duración de la batería… 39 …n más información sobre cómo determinar y controlar el nivel de batería actual y los cambios en el… 41 …oring.html">Cómo determinar y controlar el tipo de conector y el estado de la conexión</a></b></dt> 42 …n óptima puede variar en función de cómo se utilice el dispositivo en el que está instalada la apl… 45 …n a Internet, no puedes actualizar tu aplicación a partir de una fuente online. Obtén más informac… 47 …<dt><b><a href="manifest-receivers.html">Cómo manipular los receptores de emisión bajo demanda</a>… 48 …n que declaras en el archivo de manifiesto se pueden alternar durante la ejecución para inhabilita…
|
D | connectivity-monitoring.jd | 2 parent.title=Cómo optimizar la duración de la batería 7 previous.title=Cómo determinar y controlar el tipo de conector y el estado de la conexión 9 next.title=Cómo manipular los receptores de emisión bajo demanda 17 <h2>En esta sección puedes aprender:</h2> 19 <li><a href="#DetermineConnection">Cómo determinar si tienes conexión a Internet</a></li> 20 <li><a href="#DetermineType">Cómo determinar el tipo de conexión a Internet</a></li> 25 <h2>También puedes consultar:</h2> 33 …n y los servicios en segundo plano es programar actualizaciones regulares de los datos de aplicaci… 35 …a comprobar si estás conectado a Internet y, en ese caso, el tipo de conexión que estás utilizando… 38 <h2 id="DetermineConnection">Cómo determinar si tienes conexión a Internet</h2> [all …]
|
/frameworks/opt/calendar/src/com/android/calendarcommon/ |
D | Duration.java | 89 int n = 0; in parse() local 93 n *= 10; in parse() 94 n += ((int)(c-'0')); in parse() 97 weeks = n; in parse() 98 n = 0; in parse() 101 hours = n; in parse() 102 n = 0; in parse() 105 minutes = n; in parse() 106 n = 0; in parse() 109 seconds = n; in parse() [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/av/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/av/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/av/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
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 959 int n; in compareTo() local 964 n = this.mcc - that.mcc; in compareTo() 965 if (n != 0) return n; in compareTo() 966 n = this.mnc - that.mnc; in compareTo() 967 if (n != 0) return n; in compareTo() 973 n = this.locale.getLanguage().compareTo(that.locale.getLanguage()); in compareTo() 974 if (n != 0) return n; in compareTo() 975 n = this.locale.getCountry().compareTo(that.locale.getCountry()); in compareTo() 976 if (n != 0) return n; in compareTo() 977 n = this.locale.getVariant().compareTo(that.locale.getVariant()); in compareTo() [all …]
|
/frameworks/av/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()
|