Home
last modified time | relevance | path

Searched refs:N (Results 1 – 25 of 42) 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()
DTouchPaint.java347 final int N = event.getHistorySize(); in onTrackballEvent() local
350 for (int i = 0; i < N; i++) { in onTrackballEvent()
404 final int N = event.getHistorySize(); in onTouchOrHoverEvent() local
406 for (int i = 0; i < N; i++) { in onTouchOrHoverEvent()
/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/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/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/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/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 …]
DBadBehaviorActivity.java129 final int N = 5; in onReceive() local
131 for (int i=0; i<N; i++) { in onReceive()
/development/tools/idegen/
Dindex-gen.sh52 start=$(($(date +%s%N) / 1000000))
72 end=$(($(date +%s%N) / 1000000))
/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/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/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/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/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()
/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
DMainActivity.java109 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in onCreate()
256 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in createKey()
/development/tools/winscope/
DREADME.md37 git commit -am "Update intdef mapping" "Test: N/A"
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/handlers/
DBigTextIntentService.java209 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in recreateBuilderWithBigTextStyle()

12