/development/samples/browseable/ElizaChat/src/com.example.android.wearable.elizachat/ |
D | ElizaResponder.java | 113 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/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/ |
D | SampleSpellCheckerService.java | 64 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/samples/training/notify-user/src/com/example/android/pingme/ |
D | MainActivity.java | 56 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/ |
D | SimpleWebServer.java | 186 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/tools/logblame/ |
D | power_toggle_test | 20 adb shell input keyevent KEYCODE_POWER 22 adb shell input keyevent KEYCODE_POWER
|
D | app_switch_test | 50 adb shell input keyevent 26 51 adb shell input keyevent 26
|
D | analyze_logs.py | 147 if args.input: 150 infile = file(args.input, "r") 152 sys.stderr.write("Error opening file for read: %s\n" % args.input[0])
|
/development/samples/TtsEngine/src/com/example/android/ttsengine/ |
D | RobotSpeakTtsService.java | 200 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()
|
D | CheckVoiceData.java | 116 private boolean isLanguageSupported(String input) { in isLanguageSupported() argument 118 if (lang.equals(input)) { in isLanguageSupported()
|
/development/apps/GestureBuilder/src/com/android/gesture/builder/ |
D | CreateGestureActivity.java | 80 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/ |
D | CompressedTextureActivity.java | 92 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/BasicRenderScript/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 186 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/ |
D | MediaCodecWrapper.java | 186 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/ |
D | MediaCodecWrapper.java | 186 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/training/NsdChat/src/com/example/android/nsdchat/ |
D | ChatConnection.java | 231 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/MidiScope/ |
D | _index.jd | 9 attached input device.
|
/development/samples/browseable/MidiSynth/ |
D | _index.jd | 9 attached input device.
|
/development/scripts/ |
D | battery_simulator.py | 49 val = input("Type NUMBER, 'on', 'off' or 'q' > ").lower()
|
/development/cmds/monkey/ |
D | README.NETWORK.txt | 5 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/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyGetFrameRateEvent.java | 100 private String getNumberOfFrames(String input){ in getNumberOfFrames() argument 102 Matcher m = NO_OF_FRAMES_PATTERN.matcher(input); in getNumberOfFrames()
|
D | MonkeySourceNetwork.java | 551 private BufferedReader input; field in MonkeySourceNetwork 583 input = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); in startServer() 594 input.close(); in stopServer() 606 private static String replaceQuotedChars(String input) { in replaceQuotedChars() argument 607 return input.replace("\\\"", "\""); in replaceQuotedChars() 718 String command = input.readLine(); in getNextEvent()
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
D | ViewfinderProcessor.java | 117 public ProcessingTask(Allocation input, int cutPointX, boolean checkMerge) { in ProcessingTask() argument 118 mInputAllocation = input; in ProcessingTask()
|
/development/apps/SdkSetup/src/com/android/sdksetup/ |
D | DefaultActivity.java | 23 import android.hardware.input.InputManager; 24 import android.hardware.input.KeyboardLayout;
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
D | ExtendedWikiHelper.java | 147 public String apply(String input) { in apply() argument 148 Matcher m = mPattern.matcher(input); in apply()
|
/development/tools/idegen/src/com/android/idegen/ |
D | DirectorySearch.java | 162 public boolean apply(File input) { in findSourceDirs() 163 return !input.getAbsolutePath().endsWith("java/java"); in findSourceDirs()
|