Home
last modified time | relevance | path

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

123

/development/samples/browseable/ElizaChat/src/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()
/development/ndk/platforms/android-9/arch-x86/include/asm/
Dalternative_32.h37input...) asm volatile ("661:\n\t" oldinstr "\n662:\n" ".section .altinstructions,\"a\"\n" "… argument
39input...) asm volatile ("661:\n\t" oldinstr "\n662:\n" ".section .altinstructions,\"a\"\n" "… argument
/development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/
DSampleSpellCheckerService.java64 final String input = textInfo.getText(); in onGetSuggestions() local
65 final int length = input.length(); in onGetSuggestions()
72 new String[] {"aaa", "bbb", "Candidate for " + input, mLocale}); in onGetSuggestions()
100 final String input = ti.getText(); in onGetSentenceSuggestionsMultiple() local
101 final int length = input.length(); in onGetSentenceSuggestionsMultiple()
105 if (input.equalsIgnoreCase("I wold like to here form you")) { in onGetSentenceSuggestionsMultiple()
128 new String[] {"aaa", "bbb", "Candidate for " + input, mLocale}); in onGetSentenceSuggestionsMultiple()
/development/ndk/samples/hello-neon/jni/
Dhelloneon-intrinsics.c24 fir_filter_neon_intrinsics(short *output, const short* input, const short* kernel, int width, int k… in fir_filter_neon_intrinsics() argument
36 int16x4_t input_vec = vld1_s16(input + (nn+offset+mm*4)); in fir_filter_neon_intrinsics()
48 sum += kernel[mm] * input[nn+offset+mm]; in fir_filter_neon_intrinsics()
59 sum += kernel[mm]*input[nn+offset+mm]; in fir_filter_neon_intrinsics()
Dhelloneon-intrinsics.h20 void fir_filter_neon_intrinsics(short *output, const short* input, const short* kernel, int width, …
Dhelloneon.c45 fir_filter_c(short *output, const short* input, const short* kernel, int width, int kernelSize) in fir_filter_c() argument
53 sum += kernel[mm]*input[nn+offset+mm]; in fir_filter_c()
/development/samples/training/notify-user/src/com/example/android/pingme/
DMainActivity.java56 String input = editText.getText().toString(); in onPingClick() local
58 if(input == null || input.trim().equals("")){ in onPingClick()
62 seconds = Integer.parseInt(input); in onPingClick()
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
DSimpleWebServer.java182 InputStream input = null; in loadContent() local
185 input = mAssets.open(fileName); in loadContent()
188 while (-1 != (size = input.read(buffer))) { in loadContent()
196 if (null != input) { in loadContent()
197 input.close(); in loadContent()
/development/samples/TtsEngine/src/com/example/android/ttsengine/
DRobotSpeakTtsService.java200 private static char normalize(char input) { in normalize() argument
201 if (input == ' ') { in normalize()
202 return input; in normalize()
205 if (input < 'a') { in normalize()
208 if (input > 'z') { in normalize()
212 return input; in normalize()
DCheckVoiceData.java116 private boolean isLanguageSupported(String input) { in isLanguageSupported() argument
118 if (lang.equals(input)) { in isLanguageSupported()
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DMainActivity.java101 final EditText input = new EditText(this); in showUrlDialog() local
102 alertBuilder.setView(input); in showUrlDialog()
104 input.setText(SUGGESTED_URL); in showUrlDialog()
111 Uri uri = Uri.parse(input.getText().toString()); in showUrlDialog()
/development/apps/GestureBuilder/src/com/android/gesture/builder/
DCreateGestureActivity.java80 final TextView input = (TextView) findViewById(R.id.gesture_name); in addGesture() local
81 final CharSequence name = input.getText(); in addGesture()
83 input.setError(getString(R.string.error_missing_name)); in addGesture()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCompressedTextureActivity.java92 InputStream input = getResources().openRawResource(R.raw.androids); in load() local
95 GLES10.GL_RGB, GLES10.GL_UNSIGNED_SHORT_5_6_5, input); in load()
100 input.close(); in load()
/development/samples/training/NsdChat/src/com/example/android/nsdchat/
DChatConnection.java231 BufferedReader input; in run() local
233 input = new BufferedReader(new InputStreamReader( in run()
238 messageStr = input.readLine(); in run()
247 input.close(); in run()
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DMediaCodecWrapper.java186 public boolean writeSample(final ByteBuffer input, in writeSample() argument
191 int size = input.remaining(); in writeSample()
203 input.remaining(), in writeSample()
208 buffer.put(input); in writeSample()
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DMediaCodecWrapper.java186 public boolean writeSample(final ByteBuffer input, in writeSample() argument
191 int size = input.remaining(); in writeSample()
203 input.remaining(), in writeSample()
208 buffer.put(input); in writeSample()
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
DMediaCodecWrapper.java186 public boolean writeSample(final ByteBuffer input, in writeSample() argument
191 int size = input.remaining(); in writeSample()
203 input.remaining(), in writeSample()
208 buffer.put(input); in writeSample()
/development/samples/browseable/MidiScope/
D_index.jd9 attached input device.
/development/samples/browseable/MidiSynth/
D_index.jd9 attached input device.
/development/cmds/monkey/
DREADME.NETWORK.txt5 into the input system. The idea is that a process will run on a host
49 This command injects KeyEvent's into the input system. The keycode
63 This command injects a MotionEvent into the input system that
73 This command injects a MotionEvent into the input system that
84 This command will wake the device up from sleep and allow user input.
/development/samples/SupportLeanbackShowcase/
Dbuild-release.py13 for line in fileinput.input(inputFile, inplace = 1):
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetwork.java549 private BufferedReader input; field in MonkeySourceNetwork
581 input = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); in startServer()
592 input.close(); in stopServer()
604 private static String replaceQuotedChars(String input) { in replaceQuotedChars() argument
605 return input.replace("\\\"", "\""); in replaceQuotedChars()
716 String command = input.readLine(); in getNextEvent()
DMonkeyGetFrameRateEvent.java100 private String getNumberOfFrames(String input){ in getNumberOfFrames() argument
102 Matcher m = NO_OF_FRAMES_PATTERN.matcher(input); in getNumberOfFrames()
/development/ndk/platforms/android-21/include/media/
DNdkMediaDrm.h414 const uint8_t *input, uint8_t *output, size_t dataSize);
425 const uint8_t *input, uint8_t *output, size_t dataSize);
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DViewfinderProcessor.java117 public ProcessingTask(Allocation input, int cutPointX, boolean checkMerge) { in ProcessingTask() argument
118 mInputAllocation = input; in ProcessingTask()

123