Home
last modified time | relevance | path

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

12345678910>>...25

/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/java/android/text/format/
DTime.java266 int n = DAYS_PER_MONTH[this.month]; in getActualMaximum() local
267 if (n != 28) { in getActualMaximum()
268 return n; in getActualMaximum()
424 int n = getChar(s, 0, 1000); in parseInternal() local
425 n += getChar(s, 1, 100); in parseInternal()
426 n += getChar(s, 2, 10); in parseInternal()
427 n += getChar(s, 3, 1); in parseInternal()
428 year = n; in parseInternal()
431 n = getChar(s, 4, 10); in parseInternal()
432 n += getChar(s, 5, 1); in parseInternal()
[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/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/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/base/core/java/android/net/
DNetworkFactory.java166 NetworkRequestInfo n = mNetworkRequests.get(request.requestId); in handleAddRequest() local
167 if (n == null) { in handleAddRequest()
169 n = new NetworkRequestInfo(request, score); in handleAddRequest()
170 mNetworkRequests.put(n.request.requestId, n); in handleAddRequest()
173 n.score = score; in handleAddRequest()
177 evalRequest(n); in handleAddRequest()
181 NetworkRequestInfo n = mNetworkRequests.get(request.requestId); in handleRemoveRequest() local
182 if (n != null && n.requested) { in handleRemoveRequest()
184 releaseNetworkFor(n.request); in handleRemoveRequest()
221 private void evalRequest(NetworkRequestInfo n) { in evalRequest() argument
[all …]
/frameworks/av/media/libstagefright/foundation/
DABitReader.cpp49 uint32_t ABitReader::getBits(size_t n) { in getBits() argument
50 CHECK_LE(n, 32u); in getBits()
53 while (n > 0) { in getBits()
58 size_t m = n; in getBits()
67 n -= m; in getBits()
73 void ABitReader::skipBits(size_t n) { in skipBits() argument
74 while (n > 32) { in skipBits()
76 n -= 32; in skipBits()
79 if (n > 0) { in skipBits()
80 getBits(n); in skipBits()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dconvolve.c37 Word32 i, n; in Convolve() local
42 for (n = 0; n < 64;) in Convolve()
44 tmpH = h+n; in Convolve()
46 i=n+1; in Convolve()
56 y[n] = ((s<<1) + 0x8000)>>16; in Convolve()
57 n++; in Convolve()
59 tmpH = h+n; in Convolve()
61 i=n+1; in Convolve()
73 y[n] = ((s<<1) + 0x8000)>>16; in Convolve()
74 n++; in Convolve()
[all …]
/frameworks/base/core/java/android/os/
DMessageQueue.java426 Message n = p.next; in removeMessages() local
427 mMessages = n; in removeMessages()
429 p = n; in removeMessages()
434 Message n = p.next; in removeMessages() local
435 if (n != null) { in removeMessages()
436 if (n.target == h && n.what == what in removeMessages()
437 && (object == null || n.obj == object)) { in removeMessages()
438 Message nn = n.next; in removeMessages()
439 n.recycleUnchecked(); in removeMessages()
444 p = n; in removeMessages()
[all …]
/frameworks/av/media/libstagefright/webm/
DEbmlUtil.cpp36 uint64_t highestOneBit(uint64_t n) { in highestOneBit() argument
37 n |= (n >> 1); in highestOneBit()
38 n |= (n >> 2); in highestOneBit()
39 n |= (n >> 4); in highestOneBit()
40 n |= (n >> 8); in highestOneBit()
41 n |= (n >> 16); in highestOneBit()
42 n |= (n >> 32); in highestOneBit()
43 return n - (n >> 1); in highestOneBit()
/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/base/docs/html-intl/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/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/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/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/base/docs/html-intl/intl/es/about/versions/
Dandroid-5.0.jd17 <li><a href="#ART">Si no probaste la aplicación con el nuevo Android Runtime (ART)…</a></li>
18 <li><a href="#BehaviorNotifications">Si la aplicación implementa notificaciones…</a></li>
19 <li><a href="#BehaviorMediaControl">Si la aplicación usa RemoteControlClient…</a></li>
20 <li><a href="#BehaviorGetRecentTasks">Si la aplicación usa getRecentTasks()…</a></li>
22 <li><a href="#BindService">Si la aplicación se vincula a un servicio…</a></li>
23 <li><a href="#BehaviorWebView">Si la aplicación usa WebView…</a></li>
49 <li><a href="#AudioPlayback">Reproducción de audio</a></li>
50 <li><a href="#MediaPlaybackControl">Control de reproducción de medios</a></li>
51 <li><a href="#MediaBrowsing">Exploración de medios</a></li>
56 <li><a href="#DirectorySelection">Selección de directorio</a></li>
[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/support/v4/kitkat/android/support/v4/app/
DNotificationCompatKitKat.java37 public Builder(Context context, Notification n, in Builder() argument
46 .setWhen(n.when) in Builder()
48 .setSmallIcon(n.icon, n.iconLevel) in Builder()
49 .setContent(n.contentView) in Builder()
50 .setTicker(n.tickerText, tickerView) in Builder()
51 .setSound(n.sound, n.audioStreamType) in Builder()
52 .setVibrate(n.vibrate) in Builder()
53 .setLights(n.ledARGB, n.ledOnMS, n.ledOffMS) in Builder()
54 .setOngoing((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) in Builder()
55 .setOnlyAlertOnce((n.flags & Notification.FLAG_ONLY_ALERT_ONCE) != 0) in Builder()
[all …]
/frameworks/base/core/java/android/util/
DSpline.java135 final int n = x.length; in MonotoneCubicSpline() local
136 float[] d = new float[n - 1]; // could optimize this out in MonotoneCubicSpline()
137 float[] m = new float[n]; in MonotoneCubicSpline()
140 for (int i = 0; i < n - 1; i++) { in MonotoneCubicSpline()
151 for (int i = 1; i < n - 1; i++) { in MonotoneCubicSpline()
154 m[n - 1] = d[n - 2]; in MonotoneCubicSpline()
157 for (int i = 0; i < n - 1; i++) { in MonotoneCubicSpline()
185 final int n = mX.length; in interpolate() local
192 if (x >= mX[n - 1]) { in interpolate()
193 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/volley/src/com/android/volley/toolbox/
DDiskBasedCache.java483 static void writeInt(OutputStream os, int n) throws IOException { in writeInt() argument
484 os.write((n >> 0) & 0xff); in writeInt()
485 os.write((n >> 8) & 0xff); in writeInt()
486 os.write((n >> 16) & 0xff); in writeInt()
487 os.write((n >> 24) & 0xff); in writeInt()
491 int n = 0; in readInt() local
492 n |= (read(is) << 0); in readInt()
493 n |= (read(is) << 8); in readInt()
494 n |= (read(is) << 16); in readInt()
495 n |= (read(is) << 24); in readInt()
[all …]

12345678910>>...25