Searched refs:input (Results 1 - 25 of 41) sorted by relevance

12

/development/ndk/samples/hello-neon/jni/
H A Dhelloneon-intrinsics.h20 void fir_filter_neon_intrinsics(short *output, const short* input, const short* kernel, int width, int kernelSize);
H A Dhelloneon-intrinsics.c24 fir_filter_neon_intrinsics(short *output, const short* input, const short* kernel, int width, int kernelSize) argument
36 int16x4_t input_vec = vld1_s16(input + (nn+offset+mm*4));
48 sum += kernel[mm] * input[nn+offset+mm];
59 sum += kernel[mm]*input[nn+offset+mm];
H A Dhelloneon.c45 fir_filter_c(short *output, const short* input, const short* kernel, int width, int kernelSize) argument
53 sum += kernel[mm]*input[nn+offset+mm];
89 /* setup FIR input - whatever */
/development/samples/browseable/ElizaChat/Application/src/com.example.android.wearable.elizachat/
H A DElizaResponder.java113 public String elzTalk(String input) { argument
114 if (null == input) {
115 input = "";
119 input = " " + input.toUpperCase().replace("\'", "") + " ";
121 if (previousInput != null && input.equals(previousInput)) {
124 previousInput = input;
128 int index = input.indexOf(CONVERSATION_KEYWORDS[keywordIndex]);
138 int index = input.indexOf(CONVERSATION_KEYWORDS[keywordIndex]);
139 afterKeyword = input
[all...]
/development/ndk/platforms/android-3/include/linux/
H A Dkeychord.h15 #include <linux/input.h>
/development/ndk/platforms/android-9/arch-x86/include/asm/
H A Dalternative_32.h37 #define alternative_input(oldinstr, newinstr, feature, input...) asm volatile ("661:\n\t" oldinstr "\n662:\n" ".section .altinstructions,\"a\"\n" " .align 4\n" " .long 661b\n" " .long 663f\n" " .byte %c0\n" " .byte 662b-661b\n" " .byte 664f-663f\n" ".previous\n" ".section .altinstr_replacement,\"ax\"\n" "663:\n\t" newinstr "\n664:\n" ".previous" :: "i" (feature), ##input)
39 #define alternative_io(oldinstr, newinstr, feature, output, input...) asm volatile ("661:\n\t" oldinstr "\n662:\n" ".section .altinstructions,\"a\"\n" " .align 4\n" " .long 661b\n" " .long 663f\n" " .byte %c[feat]\n" " .byte 662b-661b\n" " .byte 664f-663f\n" ".previous\n" ".section .altinstr_replacement,\"ax\"\n" "663:\n\t" newinstr "\n664:\n" ".previous" : output : [feat] "i" (feature), ##input)
/development/ndk/platforms/android-L/include/linux/
H A Dkeychord.h21 #include <linux/input.h>
H A Duhid.h21 #include <linux/input.h>
99 struct uhid_input_req input; member in union:uhid_event::__anon1293
H A Duinput.h22 #include <linux/input.h>
/development/samples/training/notify-user/src/com/example/android/pingme/
H A DMainActivity.java56 String input = editText.getText().toString();
58 if(input == null || input.trim().equals("")){
62 seconds = Integer.parseInt(input);
/development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/
H A DSampleSpellCheckerService.java64 final String input = textInfo.getText();
65 final int length = input.length();
72 new String[] {"aaa", "bbb", "Candidate for " + input, mLocale});
100 final String input = ti.getText();
101 final int length = input.length();
105 if (input.equalsIgnoreCase("I wold like to here form you")) {
106 // Return sentence level suggestion for this fixed input
128 new String[] {"aaa", "bbb", "Candidate for " + input, mLocale});
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
H A DMainActivity.java93 * Shows an alert dialog where the user can input a URL. After showing the dialog, if the user
101 final EditText input = new EditText(this);
102 alertBuilder.setView(input);
104 input.setText(SUGGESTED_URL);
111 Uri uri = Uri.parse(input.getText().toString());
/development/apps/GestureBuilder/src/com/android/gesture/builder/
H A DCreateGestureActivity.java80 final TextView input = (TextView) findViewById(R.id.gesture_name);
81 final CharSequence name = input.getText();
83 input.setError(getString(R.string.error_missing_name));
/development/samples/TtsEngine/src/com/example/android/ttsengine/
H A DRobotSpeakTtsService.java200 private static char normalize(char input) { argument
201 if (input == ' ') {
202 return input;
205 if (input < 'a') {
208 if (input > 'z') {
212 return input;
H A DCheckVoiceData.java116 private boolean isLanguageSupported(String input) { argument
118 if (lang.equals(input)) {
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DCompressedTextureActivity.java92 InputStream input = getResources().openRawResource(R.raw.androids);
95 GLES10.GL_RGB, GLES10.GL_UNSIGNED_SHORT_5_6_5, input);
100 input.close();
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
H A DMediaCodecWrapper.java65 // Indices of the input buffers that are currently available for writing. We'll
174 * @param input A ByteBuffer containing the input data for one sample. The buffer must be set
186 public boolean writeSample(final ByteBuffer input, argument
191 int size = input.remaining();
193 // check if we have dequed input buffers available from the codec
198 // we can't write our sample to a lesser capacity input buffer.
203 input.remaining(),
208 buffer.put(input);
333 // Get valid input buffer
[all...]
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
H A DMediaCodecWrapper.java65 // Indices of the input buffers that are currently available for writing. We'll
174 * @param input A ByteBuffer containing the input data for one sample. The buffer must be set
186 public boolean writeSample(final ByteBuffer input, argument
191 int size = input.remaining();
193 // check if we have dequed input buffers available from the codec
198 // we can't write our sample to a lesser capacity input buffer.
203 input.remaining(),
208 buffer.put(input);
333 // Get valid input buffer
[all...]
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
H A DMediaCodecWrapper.java65 // Indices of the input buffers that are currently available for writing. We'll
174 * @param input A ByteBuffer containing the input data for one sample. The buffer must be set
186 public boolean writeSample(final ByteBuffer input, argument
191 int size = input.remaining();
193 // check if we have dequed input buffers available from the codec
198 // we can't write our sample to a lesser capacity input buffer.
203 input.remaining(),
208 buffer.put(input);
333 // Get valid input buffer
[all...]
/development/samples/training/NsdChat/src/com/example/android/nsdchat/
H A DChatConnection.java231 BufferedReader input;
233 input = new BufferedReader(new InputStreamReader(
238 messageStr = input.readLine();
247 input.close();
/development/cmds/monkey/src/com/android/commands/monkey/
H A DMonkeyGetFrameRateEvent.java100 private String getNumberOfFrames(String input){ argument
102 Matcher m = NO_OF_FRAMES_PATTERN.matcher(input);
/development/samples/Wiktionary/src/com/example/android/wiktionary/
H A DExtendedWikiHelper.java144 * Apply this formatting rule to the given input string, and return the
147 public String apply(String input) { argument
148 Matcher m = mPattern.matcher(input);
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
H A DViewfinderProcessor.java117 public ProcessingTask(Allocation input, int cutPointX, boolean checkMerge) { argument
118 mInputAllocation = input;
145 // Get to newest input
/development/ndk/platforms/android-13/include/android/
H A Dnative_activity.h27 #include <android/input.h>
160 * for example, to pause a game when it loses input focus.
196 * The input queue for this native activity's window has been created.
197 * You can use the given input queue to start retrieving input events.
202 * The input queue for this native activity's window is being destroyed.
/development/ndk/platforms/android-9/include/android/
H A Dnative_activity.h27 #include <android/input.h>
153 * for example, to pause a game when it loses input focus.
189 * The input queue for this native activity's window has been created.
190 * You can use the given input queue to start retrieving input events.
195 * The input queue for this native activity's window is being destroyed.

Completed in 976 milliseconds

12