/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | BitmapPixels.java | 133 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 …]
|
D | ScaleToFit.java | 57 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()
|
D | TouchPaint.java | 347 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/ |
D | Renderer.java | 124 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/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
D | ExampleAppWidgetProvider.java | 58 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()
|
D | ExampleBroadcastReceiver.java | 49 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/ |
D | ThreadSnapshot.java | 71 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()
|
D | JavaStackFrameSnapshot.java | 51 final int N = that.locks.size(); in JavaStackFrameSnapshot() local 52 for (int i=0; i<N; i++) { in JavaStackFrameSnapshot()
|
D | ProcessSnapshot.java | 43 final int N = that.threads.size(); in ProcessSnapshot() local 44 for (int i=0; i<N; i++) { in ProcessSnapshot()
|
/development/samples/browseable/ScopedDirectoryAccess/ |
D | _index.jd | 3 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/ |
D | PackageSummary.java | 170 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 …]
|
D | BadBehaviorActivity.java | 129 final int N = 5; in onReceive() local 131 for (int i=0; i<N; i++) { in onReceive()
|
/development/samples/browseable/MultiWindowPlayground/ |
D | _index.jd | 3 sample.group=Android N Preview 9 in Android N. It shows the use of new Intent flags and
|
/development/samples/browseable/DirectBoot/ |
D | _index.jd | 3 sample.group=Android N Preview 10 This sample works as a simple alarm clock. On > Android N devices, the scheduled alarms
|
/development/tools/idegen/ |
D | index-gen.sh | 52 start=$(($(date +%s%N) / 1000000)) 72 end=$(($(date +%s%N) / 1000000))
|
/development/samples/browseable/MessagingService/ |
D | _index.jd | 3 sample.group=Android N Preview 10 Input to allow Android N devices to reply via text directly from
|
/development/samples/browseable/ActiveNotifications/ |
D | _index.jd | 3 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/ |
D | Inspector.java | 239 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/ |
D | DraggableDot.java | 110 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/ |
D | NinePatchLab.java | 131 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/ |
D | InputMethodSettingsImpl.java | 104 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/ |
D | IsolatedService.java | 91 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/ |
D | MainActivity.java | 109 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in onCreate() 256 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in createKey()
|
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/handlers/ |
D | BigTextIntentService.java | 209 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in recreateBuilderWithBigTextStyle()
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | InstallApk.java | 138 boolean useFileProvider = Build.VERSION.SDK_INT >= Build.VERSION_CODES.N; in getApkUri()
|