Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 70) 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/tools/external_crates/crate_health_proc_macros/src/
Dlib.rs18 pub fn derive_name_and_version_map(input: proc_macro::TokenStream) -> proc_macro::TokenStream { in derive_name_and_version_map()
19 let input = parse_macro_input!(input as DeriveInput); in derive_name_and_version_map() localVariable
20 name_and_version_map::expand(input).unwrap_or_else(Error::into_compile_error).into() in derive_name_and_version_map()
30 pub(crate) fn expand(input: DeriveInput) -> Result<TokenStream> { in expand()
31 let name = &input.ident; in expand()
32 let (impl_generics, ty_generics, where_clause) = input.generics.split_for_impl(); in expand()
34 let mapfield = get_map_field(get_struct(&input)?)?; in expand()
83 fn get_struct(input: &DeriveInput) -> Result<&DataStruct> { in get_struct()
84 match &input.data { in get_struct()
86 _ => Err(Error::new_spanned(input, "Not a struct")), in get_struct()
/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()
101 final String input = ti.getText(); in onGetSentenceSuggestionsMultiple() local
102 final int length = input.length(); in onGetSentenceSuggestionsMultiple()
106 if (input.equalsIgnoreCase("I wold like to here form you")) { in onGetSentenceSuggestionsMultiple()
129 new String[] {"aaa", "bbb", "Candidate for " + input, mLocale}, in onGetSentenceSuggestionsMultiple()
/development/tools/otagui/src/components/
DBaseInput.vue4 <input
9 @input="$emit('update:modelValue', $event.target.value)"
29 input {
DBaseFile.vue13 <input
69 .file-select > input[type='file'] {
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/
DRemoteDisplay.java29 import android.hardware.input.VirtualDpad;
30 import android.hardware.input.VirtualDpadConfig;
31 import android.hardware.input.VirtualKeyEvent;
32 import android.hardware.input.VirtualKeyboard;
33 import android.hardware.input.VirtualKeyboardConfig;
34 import android.hardware.input.VirtualMouse;
35 import android.hardware.input.VirtualMouseButtonEvent;
36 import android.hardware.input.VirtualMouseConfig;
37 import android.hardware.input.VirtualMouseRelativeEvent;
38 import android.hardware.input.VirtualMouseScrollEvent;
[all …]
DInputController.java20 import android.hardware.input.VirtualMouseButtonEvent;
21 import android.hardware.input.VirtualMouseRelativeEvent;
22 import android.hardware.input.VirtualMouseScrollEvent;
/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.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()
/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/tools/logblame/
Dpower_toggle_test20 adb shell input keyevent KEYCODE_POWER
22 adb shell input keyevent KEYCODE_POWER
Dapp_switch_test50 adb shell input keyevent 26
51 adb shell input keyevent 26
/development/samples/VirtualDeviceManager/client/src/com/example/android/vdmdemo/client/
DAudioRecorder.java92 RemoteEventProto.StartAudioInput input = remoteEvent.getStartAudioInput(); in accept() local
93 startRecording(input.getSampleRate(), input.getChannelMask(), input.getEncoding()); in accept()
/development/tools/winscope/src/test/fixtures/traces/
Deventlog_timestamps_not_monotonically_increasing.winscope5 … 1654 6209 I input_cancel: [[Gesture Monitor] edge-swipe (server),reason=input channel stole poin…
6 …roid.gm/com.google.android.gm.welcome.WelcomeTourActivity (server),reason=input channel stole poin…
/development/tools/otagui/src/services/
DApiService.js43 async postInput(input, id) {
46 '/run/' + id, JSON.stringify(input));
/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/tools/winscope/src/app/components/timeline/mini-timeline/drawer/
Dmini_timeline_drawer_impl.ts115 const input = this.getInput();
116 input.selectedPosition = x;
117 this.onPointerPositionDragging(input.transformer.untransform(x));
120 const input = this.getInput();
121 input.selectedPosition = x;
122 this.onPointerPositionChanged(input.transformer.untransform(x));
/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/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/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/tools/ota_analysis/src/components/
DBaseFile.vue13 <input
69 .file-select > input[type='file'] {
/development/tools/winscope/src/parsers/events/
Dparser_eventlog.ts92 private parseLogs(input: string[]): Event[] {
93 return input.map((log) => {
/development/samples/browseable/MidiScope/
D_index.jd9 attached input device.
/development/samples/browseable/MidiSynth/
D_index.jd9 attached input device.

123