Home
last modified time | relevance | path

Searched refs:N (Results 1 – 25 of 36) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DBitmapPixels.java133 final int N = 100; in SampleView() local
134 int[] data8888 = new int[N]; in SampleView()
135 short[] data565 = new short[N]; in SampleView()
136 short[] data4444 = new short[N]; in SampleView()
139 N, data8888, data565, data4444); in SampleView() local
141 mBitmap1 = Bitmap.createBitmap(N, N, Bitmap.Config.ARGB_8888); in SampleView()
142 mBitmap2 = Bitmap.createBitmap(N, N, Bitmap.Config.RGB_565); in SampleView()
143 mBitmap3 = Bitmap.createBitmap(N, N, Bitmap.Config.ARGB_4444); in SampleView()
145 mBitmap1.copyPixelsFromBuffer(makeBuffer(data8888, N)); in SampleView()
146 mBitmap2.copyPixelsFromBuffer(makeBuffer(data565, N)); in SampleView()
[all …]
DScaleToFit.java57 private static final int N = 4; field in ScaleToFit.SampleView
101 for (int i = 0; i < N; i++) { in onDraw()
111 for (int i = 0; i < N; i++) { in onDraw()
/development/ndk/platforms/android-21/include/linux/spi/
Dspidev.h51 #define SPI_MSGSIZE(N) ((((N)*(sizeof (struct spi_ioc_transfer))) < (1 << _IOC_SIZEBITS)) ? ((N argument
52 #define SPI_IOC_MESSAGE(N) _IOW(SPI_IOC_MAGIC, 0, char[SPI_MSGSIZE(N)]) argument
/development/tools/bugreport/src/com/android/bugreport/html/
DRenderer.java124 final int N = anr.cpuUsages.size(); in makeAnrHdf() local
125 for (int i=0; i<N; i++) { in makeAnrHdf()
140 final int N = vmTraces.processes.size(); in makeVmTracesHdf() local
141 for (int i=0; i<N; i++) { in makeVmTracesHdf()
157 int N; in makeTriageHdf() local
182 N = deadlockedProcesses.size(); in makeTriageHdf()
183 for (int i=0; i<N; i++) { in makeTriageHdf()
192 N = interestingProcesses.size(); in makeTriageHdf()
193 for (int i=0; i<N; i++) { in makeTriageHdf()
215 final int N = cloneProcess.threads.size(); in cloneAndFilter() local
[all …]
/development/ndk/platforms/android-9/arch-mips/include/asm/mips-boards/
Dbonito64.h291 #define BONITO_GPIO_IOW(N) (1<<(BONITO_GPIO_GPIOW_SHIFT+(N)))
292 #define BONITO_GPIO_IOR(N) (1<<(BONITO_GPIO_GPIOR_SHIFT+(N)))
294 #define BONITO_GPIO_INR(N) (1<<(BONITO_GPIO_GPINR_SHIFT+(N)))
315 #define BONITO_ICU_MBOX(N) (1<<(BONITO_ICU_MBOXES_SHIFT+(N)))
316 #define BONITO_ICU_GPIO(N) (1<<(BONITO_ICU_GPIOS_SHIFT+(N)))
317 #define BONITO_ICU_GPIN(N) (1<<(BONITO_ICU_GPINS_SHIFT+(N)))
/development/samples/browseable/ScopedDirectoryAccess/
D_index.jd3 sample.group=Android N Preview
8 This sample demonstrates how to use the Scoped Directory Access API introduced in Android N
/development/tools/idegen/
Dindex-gen.sh45 start=$(($(date +%s%N) / 1000000))
58 end=$(($(date +%s%N) / 1000000))
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/
DExampleAppWidgetProvider.java58 final int N = appWidgetIds.length; in onUpdate() local
59 for (int i=0; i<N; i++) { in onUpdate()
70 final int N = appWidgetIds.length; in onDeleted() local
71 for (int i=0; i<N; i++) { in onDeleted()
DExampleBroadcastReceiver.java49 final int N = appWidgetIds.size(); in onReceive() local
50 for (int i=0; i<N; i++) { in onReceive()
/development/tools/bugreport/src/com/android/bugreport/stacks/
DThreadSnapshot.java71 int N = that.attributeText.size(); in ThreadSnapshot() local
72 for (int i=0; i<N; i++) { in ThreadSnapshot()
76 N = that.frames.size(); in ThreadSnapshot()
77 for (int i=0; i<N; i++) { in ThreadSnapshot()
DJavaStackFrameSnapshot.java51 final int N = that.locks.size(); in JavaStackFrameSnapshot() local
52 for (int i=0; i<N; i++) { in JavaStackFrameSnapshot()
DProcessSnapshot.java43 final int N = that.threads.size(); in ProcessSnapshot() local
44 for (int i=0; i<N; i++) { in ProcessSnapshot()
/development/samples/browseable/MultiWindowPlayground/
D_index.jd3 sample.group=Android N Preview
9 in Android N. It shows the use of new Intent flags and
/development/samples/browseable/DirectBoot/
D_index.jd3 sample.group=Android N Preview
10 This sample works as a simple alarm clock. On > Android N devices, the scheduled alarms
/development/apps/Development/src/com/android/development/
DPackageSummary.java170 final int N = info.activities.length; in onCreate() local
171 for (int i=0; i<N; i++) { in onCreate()
189 final int N = info.receivers.length; in onCreate() local
190 for (int i=0; i<N; i++) { in onCreate()
194 Log.i("foo", "Receiver #" + i + " of " + N + ": " + ai); in onCreate()
203 final int N = info.services.length; in onCreate() local
204 for (int i=0; i<N; i++) { in onCreate()
216 final int N = info.providers.length; in onCreate() local
217 for (int i=0; i<N; i++) { in onCreate()
229 final int N = info.instrumentation.length; in onCreate() local
[all …]
/development/samples/browseable/MessagingService/
D_index.jd3 sample.group=Android N Preview
10 Input to allow Android N devices to reply via text directly from
/development/samples/browseable/ActiveNotifications/
D_index.jd3 sample.group=Android N Preview
8 Notifications can now be grouped in Android N. Since Android M, the
/development/tools/bugreport/src/com/android/bugreport/inspector/
DInspector.java239 final int N = thread.frames.size(); in markOutgoingBinderThread() local
241 for (i=0; i<N; i++) { in markOutgoingBinderThread()
247 if (i >= N) { in markOutgoingBinderThread()
259 if (i >= N) { in markOutgoingBinderThread()
275 if (i >= N) { in markOutgoingBinderThread()
296 final int N = thread.frames.size(); in markIncomingBinderThread() local
298 for (i=N-1; i>=0; i--) { in markIncomingBinderThread()
507 final int N = frames.size(); in matchesJavaStack() local
511 while (i<N && j<M) { in matchesJavaStack()
537 for (; i<N; i++) { in matchesJavaStack()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/view/
DDraggableDot.java110 final int N = a.getIndexCount(); in DraggableDot() local
111 for (int i = 0; i < N; i++) { in DraggableDot()
248 final int N = data.getItemCount(); in processDrop() local
249 for (int i = 0; i < N; i++) { in processDrop()
/development/apps/NinePatchLab/src/com/android/ninepatch/
DNinePatchLab.java131 final int N = mButtons.length; in onDraw() local
133 final int drHeight = (HEIGHT - (N - 1) * gapSize) / N; in onDraw()
/development/ndk/platforms/android-9/arch-mips/include/asm/mach-au1x00/
Dau1000.h571 #define SSI_CONFIG_ALEN_N(N) ((N-1) << 20) argument
572 #define SSI_CONFIG_DLEN_N(N) ((N-1) << 16) argument
581 #define SSI_ADATA_ADDR_N(N) (N << 16) argument
/development/ndk/platforms/android-9/include/asm-generic/
Dsiginfo.h118 #define __SI_CODE(T,N) (N) argument
/development/samples/SoftKeyboard/src/com/android/inputmethodcommon/
DInputMethodSettingsImpl.java104 final int N = subtypes.size(); in getEnabledSubtypesLabel() local
105 for (int i = 0; i < N; ++i) { in getEnabledSubtypesLabel()
/development/ndk/platforms/android-21/include/asm-generic/
Dsiginfo.h154 #define __SI_CODE(T,N) (N) argument
/development/samples/ApiDemos/src/com/example/android/apis/app/
DIsolatedService.java91 final int N = mCallbacks.beginBroadcast(); in broadcastValue() local
92 for (int i=0; i<N; i++) { in broadcastValue()

12