Searched defs:input (Results 76 - 100 of 138) sorted by relevance

123456

/frameworks/base/services/core/java/com/android/server/input/
H A DPersistentDataStore.java17 package com.android.server.input;
28 import android.hardware.input.TouchCalibration;
50 * Manages persistent state recorded by the input manager service as an XML file.
55 * <input-mananger-state>
56 * <input-devices>
57 * <input-device descriptor="xxxxx" keyboard-layout="yyyyy" />
58 * >input-devices>
59 * >/input-manager-state>
77 mAtomicFile = new AtomicFile(new File("/data/system/input-manager-state.xml"));
220 Slog.w(InputManagerService.TAG, "Failed to load input manage
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dcolorspace.cpp57 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) {
58 uint8* const pInput = static_cast<uint8*>(env->GetDirectBufferAddress(input));
99 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) {
100 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input));
114 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) {
115 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input));
157 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) {
158 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input));
56 nativeYuv420pToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
98 nativeArgb8888ToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
113 nativeRgba8888ToHsva8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
156 nativeRgba8888ToYcbcra8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
/frameworks/compile/mclinker/lib/LD/
H A DGarbageCollection.cpp137 // traverse all the input relocations to setup the reached sections
138 Module::obj_iterator input, inEnd = m_Module.obj_end(); local
139 for (input = m_Module.obj_begin(); input != inEnd; ++input) {
140 LDContext::sect_iterator rs, rsEnd = (*input)->context()->relocSectEnd();
141 for (rs = (*input)->context()->relocSectBegin(); rs != rsEnd; ++rs) {
145 // 2. it has no reloc data. (All symbols in the input relocs are in the
164 // only the target symbols defined in the input fragments can make the
195 // input section
356 Module::obj_iterator input, inEnd = m_Module.obj_end(); local
[all...]
/frameworks/compile/mclinker/lib/Object/
H A DSectionMap.cpp248 Input* input = new Input(pInputSection, pPolicy); local
249 (*out)->append(input);
250 return std::make_pair(std::make_pair(*out, input), true);
256 Input* input = new Input(pInputSection, pPolicy); local
257 output->append(input);
259 return std::make_pair(std::make_pair(output, input), true);
285 Input* input = new Input(pInputDesc); local
286 (*out)->append(input);
287 return std::make_pair(std::make_pair(*out, input), true);
293 Input* input local
[all...]
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp82 status_t MonitoredProducer::queueBuffer(int slot, const QueueBufferInput& input, argument
84 return mProducer->queueBuffer(slot, input, output);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCommandParams.java174 GetInputParams(CommandDetails cmdDet, Input input) { argument
176 mInput = input;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/
H A DarmCOMM.c303 * Description: Clips the input between MAX and MIN value
339 * Description: Clips the input between MAX and MIN value
383 * [in] shift Divides the input "v" by "2^shift"
731 * Returns the result of rounded right shift operation of input by the scalefactor
733 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) )
736 * [in] input The input to be operated on
745 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift) argument
747 input = armSatRoundLeftShift_S32(input,
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/
H A DarmCOMM.c303 * Description: Clips the input between MAX and MIN value
339 * Description: Clips the input between MAX and MIN value
383 * [in] shift Divides the input "v" by "2^shift"
731 * Returns the result of rounded right shift operation of input by the scalefactor
733 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) )
736 * [in] input The input to be operated on
745 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift) argument
747 input = armSatRoundLeftShift_S32(input,
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/src/
H A DarmCOMM.c303 * Description: Clips the input between MAX and MIN value
339 * Description: Clips the input between MAX and MIN value
383 * [in] shift Divides the input "v" by "2^shift"
731 * Returns the result of rounded right shift operation of input by the scalefactor
733 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) )
736 * [in] input The input to be operated on
745 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift) argument
747 input = armSatRoundLeftShift_S32(input,
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterfaceImplLegacy.cpp234 audio_io_handle_t *input,
266 *input = mpAudioPolicy->get_input(mpAudioPolicy, inputSource, samplingRate,
270 if (*input == AUDIO_IO_HANDLE_NONE) {
275 // create audio pre processors according to input source
276 status_t status = audioPolicyEffects->addInputEffects(*input, inputSource, session);
278 ALOGW("Failed to add effects on input %d", input);
284 status_t AudioPolicyService::startInput(audio_io_handle_t input, argument
292 return mpAudioPolicy->start_input(mpAudioPolicy, input);
295 status_t AudioPolicyService::stopInput(audio_io_handle_t input, argument
233 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags __unused) argument
306 releaseInput(audio_io_handle_t input, audio_session_t session __unused) argument
[all...]
H A DAudioPolicyInterfaceImpl.cpp247 audio_io_handle_t *input,
273 status = mAudioPolicyManager->getInputForAttr(attr, input, session,
279 // enforce permission (if any) required for each type of input
297 LOG_ALWAYS_FATAL("getInputForAttr() encountered an invalid input type %d",
304 mAudioPolicyManager->releaseInput(*input, session);
311 // create audio pre processors according to input source
312 status_t status = audioPolicyEffects->addInputEffects(*input, attr->source, session);
314 ALOGW("Failed to add effects on input %d", *input);
320 status_t AudioPolicyService::startInput(audio_io_handle_t input, argument
246 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags) argument
331 stopInput(audio_io_handle_t input, audio_session_t session) argument
342 releaseInput(audio_io_handle_t input, audio_session_t session) argument
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.cpp105 // Get the input frames
108 jobject input = env->GetObjectArrayElement(inputs, i); local
109 const GLFrame* input_frame = ConvertFromJava<GLFrame>(env, input);
110 if (!input || !input_frame) {
111 ALOGE("ShaderProgram: invalid input frame %d!", i);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonRipple.java361 public float getInterpolation(float input) { argument
362 return 1 - (float) Math.pow(400, -input * 1.4);
/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp118 /// CreateInput - To create an input file and append it to the input tree.
126 Input* input = *m_InputBuilder.getCurrentNode(); local
128 if (!input->hasContext())
129 m_InputBuilder.setContext(*input, false);
131 return input;
134 /// ReadInput - To read an input file and append it to the input tree.
139 Input* input = *m_InputBuilder.getCurrentNode(); local
141 if (!input
180 Input* input = *m_InputBuilder.getCurrentNode(); local
197 Input* input = *m_InputBuilder.getCurrentNode(); local
214 Input* input = *m_InputBuilder.getCurrentNode(); local
[all...]
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp173 const QueueBufferInput& input, QueueBufferOutput* output) {
177 data.write(input);
356 QueueBufferInput input(data);
360 status_t result = queueBuffer(buf, input, output);
172 queueBuffer(int buf, const QueueBufferInput& input, QueueBufferOutput* output) argument
/frameworks/native/libs/gui/tests/
H A DIGraphicBufferProducer_test.cpp57 // Parameters for a generic "valid" input for queueBuffer.
117 // Create a generic "valid" input for queueBuffer
123 // Builder pattern to slightly vary *almost* correct input
345 // A generic "valid" input
346 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
350 ASSERT_OK(mProducer->queueBuffer(dequeuedSlot, input, &output));
367 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(dequeuedSlot, input, &output));
375 // A generic "valid" input
376 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
379 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/-1, input,
387 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
405 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
419 IGraphicBufferProducer::QueueBufferInput input = local
428 IGraphicBufferProducer::QueueBufferInput input = local
441 IGraphicBufferProducer::QueueBufferInput input = local
454 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardUtils.java483 * such kind of input but must never output it unless the target is very specific
484 * to the device which is able to parse the malformed input.
655 * Guesses the format of input image. Currently just the first few bytes are used.
658 * @param input Image as byte array.
661 public static String guessImageType(final byte[] input) { argument
662 if (input == null) {
665 if (input.length >= 3 && input[0] == 'G' && input[1] == 'I' && input[
[all...]
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp488 Vector<uint8_t> const &input,
493 ALOGD("MockDrmPlugin::encrypt(sessionId=%s, keyId=%s, input=%s, iv=%s)",
496 vectorToString(input).string(),
507 // byte[] input -> mock-input
510 mByteArrayProperties.add(String8("mock-input"), input);
527 Vector<uint8_t> const &input,
532 ALOGD("MockDrmPlugin::decrypt(sessionId=%s, keyId=%s, input=%s, iv=%s)",
535 vectorToString(input)
486 encrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
525 decrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
[all...]
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp49 ALOGE("AudioSystem could not query the input buffer size for sampleRate %u, format %#x, "
54 // We double the size of input buffer for ping pong use of record buffer.
253 // TODO: add audio hardware input latency here
427 // because there is currently no concept of a primary input sampling rate
454 audio_io_handle_t input; local
455 status = AudioSystem::getInputForAttr(&mAttributes, &input, (audio_session_t)mSessionId,
459 ALOGE("Could not get audio input for record source %d, sample rate %u, format %#x, "
478 sp<IAudioRecord> record = audioFlinger->openRecord(input,
562 mInput = input;
584 AudioSystem::releaseInput(input, (audio_session_
[all...]
H A DIDrm.cpp360 Vector<uint8_t> const &input,
368 writeVector(data, input);
379 Vector<uint8_t> const &input,
387 writeVector(data, input);
771 Vector<uint8_t> sessionId, keyId, input, iv, output; local
774 readVector(data, input);
776 uint32_t result = encrypt(sessionId, keyId, input, iv, output);
785 Vector<uint8_t> sessionId, keyId, input, iv, output; local
788 readVector(data, input);
790 uint32_t result = decrypt(sessionId, keyId, input, i
358 encrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
377 decrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DDrm.cpp584 Vector<uint8_t> const &input,
597 return mPlugin->encrypt(sessionId, keyId, input, iv, output);
602 Vector<uint8_t> const &input,
615 return mPlugin->decrypt(sessionId, keyId, input, iv, output);
582 encrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
600 decrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
/frameworks/base/core/java/android/content/pm/
H A DActivityInfo.java575 public static int activityInfoConfigToNative(int input) { argument
578 if ((input&(1<<i)) != 0) {
614 * The desired soft input mode for this activity's main window.
/frameworks/base/core/java/android/hardware/input/
H A DInputManager.java17 package android.hardware.input;
45 * Provides information about input devices and available key layouts.
75 * The input manager service locates available keyboard layouts
88 * &lt;action android:name="android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS" />
90 * &lt;meta-data android:name="android.hardware.input.metadata.KEYBOARD_LAYOUTS"
115 * <a href="http://source.android.com/tech/input/key-character-map-files.html">
121 "android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS";
132 "android.hardware.input.metadata.KEYBOARD_LAYOUTS";
161 * Waits for previous events to be dispatched so that the input dispatcher can
162 * determine whether input even
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java352 public void recordEntireHistory(NetworkStatsHistory input) { argument
353 recordHistory(input, Long.MIN_VALUE, Long.MAX_VALUE);
361 public void recordHistory(NetworkStatsHistory input, long start, long end) { argument
364 for (int i = 0; i < input.bucketCount; i++) {
365 final long bucketStart = input.bucketStart[i];
366 final long bucketEnd = bucketStart + input.bucketDuration;
371 entry.rxBytes = getLong(input.rxBytes, i, 0L);
372 entry.rxPackets = getLong(input.rxPackets, i, 0L);
373 entry.txBytes = getLong(input.txBytes, i, 0L);
374 entry.txPackets = getLong(input
[all...]
/frameworks/base/core/java/android/widget/
H A DScroller.java590 public float getInterpolation(float input) { argument
591 final float interpolated = VISCOUS_FLUID_NORMALIZE * viscousFluid(input);

Completed in 5668 milliseconds

123456