Searched defs:input (Results 101 - 125 of 211) sorted by relevance

123456789

/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java17 package com.android.commands.input;
19 import android.hardware.input.InputManager;
163 * @param text is a string of characters you want to input to the device.
261 * @param inputSource the InputDevice.SOURCE_* sending the input event
291 * @param inputSource the InputDevice.SOURCE_* sending the input event
322 System.err.println("Usage: input [<source>] <command> [<arg>...]");
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraCaptureSessionImpl.java89 CameraCaptureSessionImpl(int id, Surface input, argument
100 mInput = input;
/frameworks/base/core/java/android/text/format/
H A DTimeFormatter.java483 private static char brokenToLower(char input) { argument
484 if (input >= 'A' && input <= 'Z') {
485 return (char) (input - 'A' + 'a');
487 return input;
494 private static char brokenToUpper(char input) { argument
495 if (input >= 'a' && input <= 'z') {
496 return (char) (input - 'a' + 'A');
498 return input;
[all...]
/frameworks/base/core/java/android/util/
H A DBase64.java76 * Encode/decode another block of input data. this.output is
85 * @return true if the input so far is good; false if some
86 * error has been detected in the input stream..
88 public abstract boolean process(byte[] input, int offset, int len, boolean finish); argument
92 * could produce for the given number of input bytes. This may
103 * Decode the Base64-encoded data in input and return the data in
109 * @param str the input String to decode, which is converted to
114 * @throws IllegalArgumentException if the input contains
122 * Decode the Base64-encoded data in input and return the data in
128 * @param input th
135 decode(byte[] input, int flags) argument
155 decode(byte[] input, int offset, int len, int flags) argument
263 process(byte[] input, int offset, int len, boolean finish) argument
454 encodeToString(byte[] input, int flags) argument
475 encodeToString(byte[] input, int offset, int len, int flags) argument
493 encode(byte[] input, int flags) argument
509 encode(byte[] input, int offset, int len, int flags) argument
603 process(byte[] input, int offset, int len, boolean finish) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DTextInputTimePickerView.java30 * View to show text input based time picker with hour and minute fields and an optional AM/PM
194 private boolean parseAndSetHourInternal(String input) { argument
196 final int hour = Integer.parseInt(input);
207 // Do nothing since we cannot parse the input.
212 private boolean parseAndSetMinuteInternal(String input) { argument
214 final int minutes = Integer.parseInt(input);
222 // Do nothing since we cannot parse the input.
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfEditor.java60 * @param input Seekable file descriptor to read from.
68 public PdfEditor(@NonNull ParcelFileDescriptor input) throws IOException { argument
69 if (input == null) {
70 throw new NullPointerException("input cannot be null");
75 Libcore.os.lseek(input.getFileDescriptor(), 0, OsConstants.SEEK_SET);
76 size = Libcore.os.fstat(input.getFileDescriptor()).st_size;
81 mInput = input;
H A DPdfRenderer.java144 * @param input Seekable file descriptor to read from.
150 public PdfRenderer(@NonNull ParcelFileDescriptor input) throws IOException { argument
151 if (input == null) {
152 throw new NullPointerException("input cannot be null");
157 Libcore.os.lseek(input.getFileDescriptor(), 0, OsConstants.SEEK_SET);
158 size = Libcore.os.fstat(input.getFileDescriptor()).st_size;
163 mInput = input;
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreAuthenticatedAESCipherSpi.java357 public byte[] update(byte[] input, int inputOffset, int inputLength) argument
359 byte[] output = mDelegate.update(input, inputOffset, inputLength);
371 public byte[] doFinal(byte[] input, int inputOffset, int inputLength, argument
373 byte[] output = mDelegate.doFinal(input, inputOffset, inputLength, signature,
414 public OperationResult update(byte[] input) { argument
416 keymasterArgs.addBytes(KeymasterDefs.KM_TAG_ASSOCIATED_DATA, input);
427 input.length, // inputConsumed
H A DAndroidKeyStoreSignatureSpiBase.java67 * {@code engineUpdate} starts ignoring input data.
288 protected final void engineUpdate(ByteBuffer input) { argument
291 int len = input.remaining();
292 if (input.hasArray()) {
293 b = input.array();
294 off = input.arrayOffset() + input.position();
295 input.position(input.limit());
299 input
[all...]
/frameworks/base/libs/androidfw/
H A DZipUtils.cpp193 BufferReader(void* input, size_t inputSize) : argument
194 mInput(reinterpret_cast<unsigned char*>(input)),
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
H A DZoneGetter.java246 private static String twoDigits(int input) { argument
248 if (input < 0) builder.append('-');
249 String string = Integer.toString(Math.abs(input));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java319 public float getInterpolation(float input) { argument
320 float t = mCrossfader.getInterpolation(input);
321 return (1 - t) * mInterpolator1.getInterpolation(input)
322 + t * mInterpolator2.getInterpolation(input);
342 public float getInterpolation(float input) { argument
343 float time = input * mDurationSeconds;
/frameworks/base/services/core/java/com/android/server/input/
H A DPersistentDataStore.java17 package com.android.server.input;
30 import android.hardware.input.TouchCalibration;
58 * Manages persistent state recorded by the input manager service as an XML file.
63 * &lt;input-mananger-state>
64 * &lt;input-devices>
65 * &lt;input-device descriptor="xxxxx" keyboard-layout="yyyyy" />
66 * &gt;input-devices>
67 * &gt;/input-manager-state>
85 mAtomicFile = new AtomicFile(new File("/data/system/input-manager-state.xml"));
246 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));
96 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) {
97 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input));
111 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) {
112 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input));
154 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) {
155 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input));
56 nativeYuv420pToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
95 nativeArgb8888ToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
110 nativeRgba8888ToHsva8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
153 nativeRgba8888ToYcbcra8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
/frameworks/base/tools/preload2/src/com/android/preload/ui/
H A DSequenceUI.java62 public SequenceUI input(String input) { argument
63 sequence.add(input);
67 public SequenceUI input(File... f) { method in class:SequenceUI
/frameworks/compile/mclinker/lib/LD/
H A DGarbageCollection.cpp126 // traverse all the input relocations to setup the reached sections
127 Module::obj_iterator input, inEnd = m_Module.obj_end(); local
128 for (input = m_Module.obj_begin(); input != inEnd; ++input) {
129 LDContext::sect_iterator rs, rsEnd = (*input)->context()->relocSectEnd();
130 for (rs = (*input)->context()->relocSectBegin(); rs != rsEnd; ++rs) {
134 // 2. it has no reloc data. (All symbols in the input relocs are in the
153 // only the target symbols defined in the input fragments can make the
183 // input section
346 Module::obj_iterator input, inEnd = m_Module.obj_end(); local
[all...]
/frameworks/compile/mclinker/lib/Object/
H A DSectionMap.cpp238 Input* input = new Input(pInputSection, pPolicy); local
239 (*out)->append(input);
240 return std::make_pair(std::make_pair(*out, input), true);
246 Input* input = new Input(pInputSection, pPolicy); local
247 output->append(input);
249 return std::make_pair(std::make_pair(output, input), true);
274 Input* input = new Input(pInputDesc); local
275 (*out)->append(input);
276 return std::make_pair(std::make_pair(*out, input), true);
282 Input* input local
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
H A DLayoutBinder.java299 public Expr parse(String input, @Nullable Location locationInFile, BindingTarget target) { argument
300 final Expr parsed = mExpressionParser.parse(input, locationInFile, target);
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/
H A DXMLLexer.java79 public XMLLexer(CharStream input) { argument
80 super(input);
/frameworks/native/libs/gui/tests/
H A DBufferQueue_test.cpp72 void testBufferItem(const IGraphicBufferProducer::QueueBufferInput& input, argument
82 input.deflate(&timestamp, &isAutoTimestamp, &dataSpace, &crop,
155 IGraphicBufferProducer::QueueBufferInput input(0, false,
158 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output));
358 IGraphicBufferProducer::QueueBufferInput input(0, false,
361 ASSERT_EQ(OK, mProducer->queueBuffer(newSlot, input, &output));
388 IGraphicBufferProducer::QueueBufferInput input(0, false,
391 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output));
454 IGraphicBufferProducer::QueueBufferInput input(0, false,
457 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input,
[all...]
/frameworks/native/libs/vr/libbufferhubqueue/tests/
H A Dbuffer_hub_queue_producer-test.cpp31 // Builder pattern to slightly vary *almost* correct input
131 // Create a generic "valid" input for queueBuffer
242 // A generic "valid" input
243 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
247 ASSERT_EQ(NO_ERROR, mProducer->queueBuffer(slot, input, &output));
261 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(slot, input, &output));
268 // A generic "valid" input
269 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
272 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/ -1, input, &output));
274 mProducer->queueBuffer(/*slot*/ 0xDEADBEEF, input,
283 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
296 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
314 IGraphicBufferProducer::QueueBufferInput input = local
331 IGraphicBufferProducer::QueueBufferInput input = local
352 IGraphicBufferProducer::QueueBufferInput input = local
399 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
487 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCommandParams.java186 GetInputParams(CommandDetails cmdDet, Input input) { argument
188 mInput = input;
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DViewfinderProcessor.java146 public ProcessingTask(Allocation input) { argument
147 mInputAllocation = input;
175 // Get to newest 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...]

Completed in 3002 milliseconds

123456789