Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 195) sorted by relevance

12345678

/developers/samples/android/content/webview/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/
DSimpleWebServer.java121 PrintStream output = null; in handle() local
138 output = new PrintStream(socket.getOutputStream()); in handle()
142 writeServerError(output); in handle()
147 writeServerError(output); in handle()
152 output.println("HTTP/1.0 200 OK"); in handle()
153 output.println("Content-Type: " + detectMimeType(route)); in handle()
154 output.println("Content-Length: " + bytes.length); in handle()
155 output.println(); in handle()
156 output.write(bytes); in handle()
157 output.flush(); in handle()
[all …]
/developers/samples/android/connectivity/nfc/CardEmulation/Application/tests/src/com/example/android/cardemulation/tests/
DSampleTests.java77 final byte[] output = CardService.HexStringToByteArray("C0FFEE"); in testHexToBinary()
79 assertEquals(testData[i], output[i]); in testHexToBinary()
88 final String output = CardService.ByteArrayToHexString(input); in testBinaryToHex() local
89 assertEquals("C0FFEE", output); in testBinaryToHex()
102 final byte[] output = cs.processCommandApdu(command, null); in testRequestAccoutNumber()
104 assertEquals(expectedResponse.length, output.length); in testRequestAccoutNumber()
106 assertEquals(expectedResponse[i], output[i]); in testRequestAccoutNumber()
121 final byte[] output = cs.processCommandApdu(command, null); in testInvalidCommand()
123 assertEquals(expectedResponse.length, output.length); in testInvalidCommand()
125 assertEquals(expectedResponse[i], output[i]); in testInvalidCommand()
/developers/samples/android/connectivity/nfc/CardReader/Application/tests/src/com/example/android/cardreader/tests/
DSampleTests.java95 final byte[] output = LoyaltyCardReader.HexStringToByteArray("C0FFEE"); in testHexToBinary()
97 assertEquals(testData[i], output[i]); in testHexToBinary()
106 final String output = LoyaltyCardReader.ByteArrayToHexString(input); in testBinaryToHex() local
107 assertEquals("C0FFEE", output); in testBinaryToHex()
/developers/samples/android/media/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/
DImageSaver.kt30 var output: FileOutputStream? = null in run() variable
32 output = FileOutputStream(file).apply { in run()
39 output?.let { in run()
/developers/samples/android/common/src/java/com/example/android/common/midi/synth/
DSawVoice.java56 float output = mOscillator.render() * mEnvelope.render(); in render() local
57 return output; in render()
DSynthVoice.java53 float output = render(); in mix() local
56 outputBuffer[offset + jf] += output * level; in mix()
/developers/samples/android/ui/window/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/developers/samples/android/ui/window/DragAndDropAcrossApps/DropTarget/src/main/java/com/example/android/droptarget/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/developers/build/buildSrc/src/main/groovy/com/example/android/samples/build/
DApplyTemplates.groovy39 * The root directory for output files. All output file paths
68 * (relative) output path. This closure is responsible for any alterations to
69 * the output path, including pathname substitution and extension removal.
130 // Get the input and output files, and make sure the output path exists
135 // create the output directory. This probably will have already been
160 // Add the output file path to parameters.meta so that the freemarker
DSampleGenProperties.groovy151 * Returns the output file that will be generated for a particular
156 * @return Relative output file path
/developers/samples/android/ui/views/RecyclerView/kotlinApp/app/src/main/java/com/example/android/recyclerview/
DMainActivity.kt73 val output = findViewById<ViewAnimator>(R.id.sample_output) as ViewAnimator in onOptionsItemSelected() constant
75 output.displayedChild = if (logShown) 1 else 0 in onOptionsItemSelected()
/developers/samples/android/ui/graphics/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/
DPdfRendererBasicViewModel.java144 final FileOutputStream output = new FileOutputStream(file); in openPdfRenderer() local
148 output.write(buffer, 0, size); in openPdfRenderer()
151 output.close(); in openPdfRenderer()
/developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
DViewfinderProcessor.java90 public void setOutputSurface(Surface output) { in setOutputSurface() argument
91 mOutputAllocation.setSurface(output); in setOutputSurface()
/developers/build/templates/FragmentView/_MODULE_/src/template/java/_PACKAGE_/
DMainActivity.java.ftl79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output);
81 output.setDisplayedChild(1);
83 output.setDisplayedChild(0);
/developers/samples/android/media/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/
DCamera2RawFragment.java1376 FileOutputStream output = null; in run() local
1378 output = new FileOutputStream(mFile); in run()
1379 output.write(bytes); in run()
1385 closeOutput(output); in run()
1391 FileOutputStream output = null; in run() local
1393 output = new FileOutputStream(mFile); in run()
1394 dngCreator.writeImage(output, mImage); in run()
1400 closeOutput(output); in run()
/developers/build/templates/include/
Dcommon.ftl28 Also, there's no way to check if it's a number or not without spamming output with
49 Also, there's no way to check if it's a number or not without spamming output with
/developers/samples/android/media/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/
DCamera2BasicFragment.java938 FileOutputStream output = null; in run() local
940 output = new FileOutputStream(mFile); in run()
941 output.write(bytes); in run()
946 if (null != output) { in run()
948 output.close(); in run()
/developers/samples/android/media/Camera2Video/kotlinApp/
DREADME.md11 …eraCaptureSession][2] to record video. It also uses a custom [TextureView][3] to render the output.
20 the matrix to apply to the TextureView so the camera output fits. Use the method `setTransform(matr…
/developers/samples/android/media/Camera2Video/
DREADME.md11 …eraCaptureSession][2] to record video. It also uses a custom [TextureView][3] to render the output.
20 the matrix to apply to the TextureView so the camera output fits. Use the method `setTransform(matr…
/developers/samples/android/media/BasicMediaRouter/
DREADME.md8 to select an output device. If your device supports Miracast wireless displays,
/developers/samples/android/experimental/ndkSampleGen/
Dbuild.gradle102 …// Copy entire sample into output -- since it's already in Gradle format, we'll explicitly exclude…
107 // Paths to exclude from output
/developers/build/templates/base-build/
DREADME.md.ftl19 …able as the required SDK. For Preview SDKs, skip the 'v' and 'android-' prefixes in the output. -->
/developers/build/templates/base/
DREADME.md.ftl19 …able as the required SDK. For Preview SDKs, skip the 'v' and 'android-' prefixes in the output. -->
/developers/build/
Dbuild.gradle118 …// Copy entire sample into output -- since it's already in Gradle format, we'll explicitly exclude…
122 // Paths to exclude from output
/developers/samples/android/media/HdrViewfinder/
DREADME.md34 to the output Allocation. The HDR fusion algorithm is very simple, and tends to result in

12345678