Searched defs:inputSource (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java80 int inputSource = InputDevice.SOURCE_TOUCHSCREEN;
82 inputSource = InputDevice.SOURCE_TOUCHPAD;
89 sendTap(inputSource, Float.parseFloat(args[2]),
95 sendSwipe(inputSource, Float.parseFloat(args[2]),
169 private void sendTap(int inputSource, float x, float y) { argument
171 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, x, y, 1.0f);
172 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x, y, 0.0f);
175 private void sendSwipe(int inputSource, float x1, float y1, float x2, float y2) { argument
178 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, x1, y1, 1.0f);
181 injectMotionEvent(inputSource, MotionEven
194 sendMove(int inputSource, float dx, float dy) argument
215 injectMotionEvent(int inputSource, int action, long when, float x, float y, float pressure) argument
[all...]
/frameworks/av/media/libstagefright/
H A DAudioSource.cpp51 audio_source_t inputSource, uint32_t sampleRate, uint32_t channelCount)
78 inputSource, sampleRate, AUDIO_FORMAT_PCM_16_BIT,
50 AudioSource( audio_source_t inputSource, uint32_t sampleRate, uint32_t channelCount) argument
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp83 audio_source_t inputSource,
95 mStatus = set(inputSource, sampleRate, format, channelMask,
118 audio_source_t inputSource,
138 if (inputSource == AUDIO_SOURCE_DEFAULT) {
139 inputSource = AUDIO_SOURCE_MIC;
168 audio_io_handle_t input = AudioSystem::getInput(inputSource,
174 ALOGE("Could not get audio input for record source %d", inputSource);
226 mInputSource = inputSource;
269 audio_source_t AudioRecord::inputSource() const function in class:android::AudioRecord
82 AudioRecord( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
117 set( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, callback_t cbf, void* user, int notificationFrames, bool threadCanCallJava, int sessionId) argument
H A DIAudioPolicyService.cpp176 audio_source_t inputSource,
184 data.writeInt32((int32_t) inputSource);
472 audio_source_t inputSource = (audio_source_t) data.readInt32(); local
477 audio_io_handle_t input = getInput(inputSource,
175 getInput( audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, int audioSession) argument
H A DAudioSystem.cpp624 audio_io_handle_t AudioSystem::getInput(audio_source_t inputSource, argument
632 return aps->getInput(inputSource, samplingRate, format, channelMask, sessionId);
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp267 audio_io_handle_t AudioPolicyService::getInput(audio_source_t inputSource, argument
277 if (uint32_t(inputSource) >= AUDIO_SOURCE_CNT) {
282 audio_io_handle_t input = mpAudioPolicy->get_input(mpAudioPolicy, inputSource, samplingRate,
289 ssize_t index = mInputSources.indexOfKey(inputSource);

Completed in 91 milliseconds