Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 550) sorted by relevance

12345678910>>...22

/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java97 Notification n = new Notification();
98 n.sound = Uri.parse("file://" + Environment.getExternalStorageDirectory() +
100 Log.d(TAG, "n.sound=" + n.sound);
102 mNM.notify(1, n);
119 Notification n = new Notification(R.drawable.icon1, null,
121 n.contentView = new RemoteViews(getPackageName(), R.layout.button_notification);
122 n.flags |= Notification.FLAG_ONGOING_EVENT;
123 n.contentIntent = makeIntent();
124 n.contentView.setOnClickPendingIntent(R.id.button, makeIntent2());
126 mNM.notify(1, n);
[all …]
/frameworks/base/core/java/android/hardware/
DGeomagneticField.java198 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/
Drate_control.cpp60 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/
DTime.cpp71 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/support/v4/honeycomb/android/support/v4/app/
DNotificationCompatHoneycomb.java26 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/support/v4/ics/android/support/v4/app/
DNotificationCompatIceCreamSandwich.java26 static Notification add(Context context, Notification n, in add() argument
32 .setWhen(n.when) in add()
33 .setSmallIcon(n.icon, n.iconLevel) in add()
34 .setContent(n.contentView) in add()
35 .setTicker(n.tickerText, tickerView) in add()
36 .setSound(n.sound, n.audioStreamType) in add()
37 .setVibrate(n.vibrate) in add()
38 .setLights(n.ledARGB, n.ledOnMS, n.ledOffMS) in add()
39 .setOngoing((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) in add()
40 .setOnlyAlertOnce((n.flags & Notification.FLAG_ONLY_ALERT_ONCE) != 0) in add()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DVectorArithmetic.h34 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/
Dconvolve.c35 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/
DABitReader.cpp46 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/
DMessageQueue.java419 Message n = p.next; in removeMessages() local
420 mMessages = n; in removeMessages()
422 p = n; in removeMessages()
427 Message n = p.next; in removeMessages() local
428 if (n != null) { in removeMessages()
429 if (n.target == h && n.what == what in removeMessages()
430 && (object == null || n.obj == object)) { in removeMessages()
431 Message nn = n.next; in removeMessages()
432 n.recycle(); in removeMessages()
437 p = n; in removeMessages()
[all …]
/frameworks/rs/
DrsScriptGroup.cpp49 Node *n = mNodes[ct]; in findNode() local
50 for (size_t ct2=0; ct2 < n->mKernels.size(); ct2++) { in findNode()
51 if (n->mKernels[ct2]->mScript == s) { in findNode()
52 return n; in findNode()
59 bool ScriptGroup::calcOrderRecurse(Node *n, int depth) { in calcOrderRecurse() argument
60 n->mSeen = true; in calcOrderRecurse()
61 if (n->mOrder < depth) { in calcOrderRecurse()
62 n->mOrder = depth; in calcOrderRecurse()
65 for (size_t ct=0; ct < n->mOutputs.size(); ct++) { in calcOrderRecurse()
66 const Link *l = n->mOutputs[ct]; in calcOrderRecurse()
[all …]
/frameworks/support/v4/jellybean/android/support/v4/app/
DNotificationCompatJellybean.java28 public NotificationCompatJellybean(Context context, Notification n, in NotificationCompatJellybean() argument
35 .setWhen(n.when) in NotificationCompatJellybean()
36 .setSmallIcon(n.icon, n.iconLevel) in NotificationCompatJellybean()
37 .setContent(n.contentView) in NotificationCompatJellybean()
38 .setTicker(n.tickerText, tickerView) in NotificationCompatJellybean()
39 .setSound(n.sound, n.audioStreamType) in NotificationCompatJellybean()
40 .setVibrate(n.vibrate) in NotificationCompatJellybean()
41 .setLights(n.ledARGB, n.ledOnMS, n.ledOffMS) in NotificationCompatJellybean()
42 .setOngoing((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) in NotificationCompatJellybean()
43 .setOnlyAlertOnce((n.flags & Notification.FLAG_ONLY_ALERT_ONCE) != 0) in NotificationCompatJellybean()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/
DMP4Source.cpp49 ssize_t n; in readAt() local
51 n = mListener->read(buffer, skipBytes, &extra); in readAt()
53 if (n == -EWOULDBLOCK) { in readAt()
61 ALOGV("skipped %ld bytes at offset %lld", n, mPosition); in readAt()
63 if (n < 0) { in readAt()
64 return n; in readAt()
67 mPosition += n; in readAt()
73 ssize_t n = mListener->read( in readAt() local
76 if (n == -EWOULDBLOCK) { in readAt()
79 } else if (n == 0) { in readAt()
[all …]
/frameworks/ex/carousel/java/com/android/ex/carousel/
DCarouselController.java167 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 …]
DCarouselRS.java128 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/
Dindex.jd1 page.title=Cómo optimizar la duración de la batería
19 <h2>También puedes consultar:</h2>
27n 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…
39n 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>
42n óptima puede variar en función de cómo se utilice el dispositivo en el que está instalada la apl…
45n 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>…
48n que declaras en el archivo de manifiesto se pueden alternar durante la ejecución para inhabilita…
Dconnectivity-monitoring.jd2 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>
33n 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/calendarcommon2/
DDuration.java89 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/av/media/libstagefright/codecs/mp3dec/src/
Dmp3_mem_funcs.h64 #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/
Dpvamrwbdecoder_mem_funcs.h58 #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/core/jni/android/opengl/
Dpoly_clip.cpp43 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/libeffects/lvm/lib/Common/src/
DLVC_MixSoft_2St_D16C31_SAT.c33 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/util/
DSpline.java58 final int n = x.length; in createMonotoneCubicSpline() local
59 float[] d = new float[n - 1]; // could optimize this out in createMonotoneCubicSpline()
60 float[] m = new float[n]; in createMonotoneCubicSpline()
63 for (int i = 0; i < n - 1; i++) { in createMonotoneCubicSpline()
74 for (int i = 1; i < n - 1; i++) { in createMonotoneCubicSpline()
77 m[n - 1] = d[n - 2]; in createMonotoneCubicSpline()
80 for (int i = 0; i < n - 1; i++) { in createMonotoneCubicSpline()
111 final int n = mX.length; in interpolate() local
118 if (x >= mX[n - 1]) { in interpolate()
119 return mY[n - 1]; in interpolate()
[all …]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
DIntegralToString.java307 private static String convertLong(StringBuilder sb, long n) {
308 int i = (int) n;
309 if (i == n) {
313 boolean negative = (n < 0);
315 n = -n;
316 if (n < 0) {
330 int low = (int) (n % 1000000000); // Extract low-order 9 digits
343 n = ((n - low) >>> 9) * 0x8E47CE423A2E9C6DL;
351 if ((n & (-1L << 32)) == 0) {
352 cursor = intIntoCharArray(buf, cursor, (int) n);
[all …]
/frameworks/base/core/java/android/content/res/
DConfiguration.java1172 int n; in compareTo() local
1177 n = this.mcc - that.mcc; in compareTo()
1178 if (n != 0) return n; in compareTo()
1179 n = this.mnc - that.mnc; in compareTo()
1180 if (n != 0) return n; in compareTo()
1186 n = this.locale.getLanguage().compareTo(that.locale.getLanguage()); in compareTo()
1187 if (n != 0) return n; in compareTo()
1188 n = this.locale.getCountry().compareTo(that.locale.getCountry()); in compareTo()
1189 if (n != 0) return n; in compareTo()
1190 n = this.locale.getVariant().compareTo(that.locale.getVariant()); in compareTo()
[all …]

12345678910>>...22