Home
last modified time | relevance | path

Searched refs:input (Results 1 – 20 of 20) sorted by relevance

/developers/samples/android/deprecated/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/
DElizaResponder.java113 public String elzTalk(String input) { in elzTalk() argument
114 if (null == input) { in elzTalk()
115 input = ""; in elzTalk()
119 input = " " + input.toUpperCase().replace("\'", "") + " "; in elzTalk()
121 if (previousInput != null && input.equals(previousInput)) { in elzTalk()
124 previousInput = input; in elzTalk()
128 int index = input.indexOf(CONVERSATION_KEYWORDS[keywordIndex]); in elzTalk()
138 int index = input.indexOf(CONVERSATION_KEYWORDS[keywordIndex]); in elzTalk()
139 afterKeyword = input.substring(index + CONVERSATION_KEYWORDS[keywordIndex].length()); in elzTalk()
/developers/samples/android/content/webview/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/
DSimpleWebServer.java186 InputStream input = null; in loadContent() local
189 input = mAssets.open(fileName); in loadContent()
192 while (-1 != (size = input.read(buffer))) { in loadContent()
200 if (null != input) { in loadContent()
201 input.close(); in loadContent()
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/edgecases/
DAbstractMultipleStepsActivity.java131 EditText input = (EditText) mSteps[i].getChildAt(1); in finishIt() local
132 … message.append(getString(R.string.message_step_description, label.getText(), input.getText())) in finishIt()
164 EditText input = new EditText(this); in newStep() local
165 input.setAutofillHints(autofillHints); in newStep()
166 input.setWidth(500); // TODO: proper size in newStep()
167 layout.addView(input); in newStep()
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/ui/chat/
DChatFragment.kt65 private lateinit var input: EditText in <lambda>() variable in com.example.android.bubbles.ui.chat.ChatFragment
113 input = view.findViewById(R.id.input) in <lambda>()
155 input.setOnEditorActionListener { _, actionId, _ -> in <lambda>()
186 val text = input.text.toString() in <lambda>()
188 input.text.clear() in <lambda>()
/developers/build/buildSrc/src/main/groovy/com/example/android/samples/build/
DApplyTemplates.groovy67 * A String -> String closure that transforms a (relative) input path into a
75 * is used by the freemarker script as input data.
127 FileVisitDetails input ->
128 def inputFile = input.getRelativePath().toString()
129 def outputFile = input.getRelativePath().getFile(project.file(outputDir))
130 // Get the input and output files, and make sure the output path exists
134 if (input.directory){
144 // Check the input file extension against the process/ignore list
151 // If the extension is in the process list, put the input through freemarker
172 input.copyTo(outputFile);
DSampleGenProperties.groovy152 * input, by replacing generic pathnames with project-specific pathnames
176 * input paths that are passed to
/developers/samples/android/connectivity/nfc/CardReader/Application/tests/src/com/example/android/cardreader/tests/
DSampleTests.java105 final byte[] input = {(byte) 0xc0, (byte) 0xff, (byte) 0xee}; in testBinaryToHex()
106 final String output = LoyaltyCardReader.ByteArrayToHexString(input); in testBinaryToHex()
/developers/samples/android/
Dbuild.gradle12 "input/gestures/BasicGestureDetect",
13 "input/multitouch/BasicMultitouch",
119 "input/keyboard/CommitContentSampleApp",
120 "input/keyboard/CommitContentSampleIME",
127 "input/autofill/AutofillFramework",
/developers/samples/android/common/src/java/com/example/android/common/media/
DMediaCodecWrapper.java183 public boolean writeSample(final ByteBuffer input, in writeSample() argument
188 int size = input.remaining(); in writeSample()
200 input.remaining(), in writeSample()
205 buffer.put(input); in writeSample()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/util/
DSecurityHelper.java51 try (InputStream input = new ByteArrayInputStream(cert)) { in getFingerprint() argument
53 X509Certificate x509 = (X509Certificate) factory.generateCertificate(input); in getFingerprint()
/developers/build/
Dbuild.gradle102 ["main", "common", "template"].each { input ->
104 def srcPath = "${inputPath}/src/${input}/${filetype[0]}"
141 ["main", "common", "template"].each { input ->
143 def srcPath = "${inputPath}/${samplegen.targetSampleModule()}/src/${input}/${filetype}"
195 … def srcDirs = ["main", "common", "template"].collect {input -> "${inputPath}/src/${input}" };
196 def javaDirs = srcDirs.collect { input -> "${input}/java"}
/developers/samples/android/connectivity/nfc/CardEmulation/Application/tests/src/com/example/android/cardemulation/tests/
DSampleTests.java87 final byte[] input = {(byte) 0xc0, (byte) 0xff, (byte) 0xee}; in testBinaryToHex()
88 final String output = CardService.ByteArrayToHexString(input); in testBinaryToHex()
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/
DPackageVerifier.kt53 ByteArrayInputStream(cert).use { input -> in <lambda>() method
55 val x509 = factory.generateCertificate(input) as X509Certificate in <lambda>()
/developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
DViewfinderProcessor.java110 public ProcessingTask(Allocation input, int cutPointX, boolean checkMerge) { in ProcessingTask() argument
111 mInputAllocation = input; in ProcessingTask()
/developers/samples/android/media/MediaRecorder/
DREADME.md13 It uses the [Camera][2] as input source and displays a preview on a [TextureView][3]
14 The sample features a button to capture the input and stop capturing afterwards.
/developers/samples/android/security/keystore/BasicAndroidKeyStore/Application/src/main/java/com/example/android/basicandroidkeystore/
DBasicAndroidKeyStoreFragment.java286 public boolean verifyData(String input, String signatureStr) throws KeyStoreException, in verifyData() argument
289 byte[] data = input.getBytes(); in verifyData()
/developers/samples/android/content/contacts/BasicContactables/
DREADME.md5 …o search for contacts, displaying a SearchView in the Action Bar for user input and implementing a…
/developers/build/lib/
DbuildSrc.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/example/ com/ ...
/developers/samples/android/experimental/ndkSampleGen/
Dbuild.gradle38 //Get absolute path of input path
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...