Searched refs:input (Results 76 - 100 of 514) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/input/
H A DIInputManager.aidl17 package android.hardware.input;
19 import android.hardware.input.InputDeviceIdentifier;
20 import android.hardware.input.KeyboardLayout;
21 import android.hardware.input.IInputDevicesChangedListener;
22 import android.hardware.input.ITabletModeChangedListener;
23 import android.hardware.input.TouchCalibration;
33 // Gets input device information.
43 // Injects an input event into the system. To inject into windows owned by other
47 // Calibrate input device position
70 // Registers an input device
[all...]
/frameworks/base/keystore/java/android/security/keystore/
H A DKeyStoreCryptoOperationChunkedStreamer.java32 * Helper for streaming a crypto operation's input and output via {@link KeyStore} service's
59 OperationResult update(byte[] input); argument
91 public byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException { argument
93 // No input provided
103 // Too much input for one chunk -- extract one max-sized chunk and feed it into the
107 input, inputOffset, inputBytesInChunk);
109 // All of available input fits into one chunk.
111 && (inputLength == input.length)) {
112 // Nothing buffered and all of input array needs to be fed into the update
114 chunk = input;
208 doFinal(byte[] input, int inputOffset, int inputLength, byte[] signature, byte[] additionalEntropy) argument
332 update(byte[] input) argument
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DCrossProcessFilter.java103 // Get input frame
104 Frame input = pullInput("image");
105 FrameFormat inputFormat = input.getFormat();
116 mProgram.process(input, output);
H A DNegativeFilter.java78 // Get input frame
79 Frame input = pullInput("image");
80 FrameFormat inputFormat = input.getFormat();
91 mProgram.process(input, output);
H A DPosterizeFilter.java81 // Get input frame
82 Frame input = pullInput("image");
83 FrameFormat inputFormat = input.getFormat();
94 mProgram.process(input, output);
H A DColorTemperatureFilter.java91 // Get input frame
92 Frame input = pullInput("image");
93 FrameFormat inputFormat = input.getFormat();
105 mProgram.process(input, output);
H A DFlipFilter.java85 // Get input frame
86 Frame input = pullInput("image");
87 FrameFormat inputFormat = input.getFormat();
98 mProgram.process(input, output);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/
H A DThroughputFilter.java49 // Add input ports
72 // Pass through input frame
73 Frame input = pullInput("frame");
74 pushOutput("frame", input);
88 FrameFormat inputFormat = input.getFormat();
/frameworks/base/tests/CoreTests/android/core/
H A DSha1Test.java28 private String input; field in class:Sha1Test.TestData
32 input = i;
49 digest.update(mTestData[i].input.getBytes());
/frameworks/native/cmds/surfacereplayer/replayer/
H A DMain.cpp96 char** input = argv + optind; local
97 if (input[0] == NULL) {
101 filename.assign(input[0]);
/frameworks/native/include/input/
H A DKeyboard.h20 #include <input/Input.h>
21 #include <input/InputDevice.h>
22 #include <input/InputEventLabels.h>
/frameworks/rs/tests/lldb/java/ScriptGroup/src/com/android/rs/scriptgroup/
H A DMainActivity.java39 // create and initalize a simple input allocation
44 Allocation input = Allocation.createSized(pRS, Element.I32(pRS), ARRAY_SIZE);
45 input.copyFrom(array);
60 ((Allocation) group.execute(input)[0]).copyTo(a);
/frameworks/base/tools/aapt2/tools/consumers/
H A Dpositional_arguments.py18 def consume(self, xml_path, input):
25 parser.Parse(input)
31 output += input[last_index:arg.start]
34 output += input[last_index:]
37 return input
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_reduce.java89 private int addint(int[] input) { argument
91 for (int idx = 0; idx < input.length; ++idx)
92 rslt += input[idx];
97 final int[] input = createInputArrayInt(100000, 0, 1 << 13);
99 final int javaRslt = addint(input);
100 final int rsRslt = s.reduce_addint(input).get();
122 private Int2 findMinAndMax(float[] input) { argument
128 for (int idx = 0; idx < input.length; ++idx) {
129 if (input[idx] < minVal) {
130 minVal = input[id
[all...]
H A DUT_reduce_backward.java89 private int addint(int[] input) { argument
91 for (int idx = 0; idx < input.length; ++idx)
92 rslt += input[idx];
97 final int[] input = createInputArrayInt(100000, 0, 1 << 13);
99 final int javaRslt = addint(input);
100 final int rsRslt = s.reduce_addint(input).get();
122 private Int2 findMinAndMax(float[] input) { argument
128 for (int idx = 0; idx < input.length; ++idx) {
129 if (input[idx] < minVal) {
130 minVal = input[id
[all...]
/frameworks/support/wear/src/android/support/wear/widget/
H A DBezierSCurveInterpolator.java67 public float getInterpolation(float input) { argument
68 if (input >= 1.0f) {
72 if (input <= 0f) {
76 int position = Math.min((int) (input * (VALUES.length - 1)), VALUES.length - 2);
79 float difference = input - quantized;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceTargetFilter.java95 // Add input port
146 // Get input frame
147 Frame input = pullInput("frame");
150 float currentAspectRatio = (float)input.getFormat().getWidth() / input.getFormat().getHeight();
159 if (mLogVerbose) Log.v("SurfaceRenderFilter", "Got input format: " + input.getFormat());
160 int target = input.getFormat().getTarget();
162 gpuFrame = context.getFrameManager().duplicateFrameToTarget(input,
166 gpuFrame = input;
[all...]
/frameworks/native/libs/gui/tests/
H A DIGraphicBufferProducer_test.cpp59 // Parameters for a generic "valid" input for queueBuffer.
113 // Create a generic "valid" input for queueBuffer
119 // Builder pattern to slightly vary *almost* correct input
357 // A generic "valid" input
358 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
362 ASSERT_OK(mProducer->queueBuffer(dequeuedSlot, input, &output));
374 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(dequeuedSlot, input, &output));
382 // A generic "valid" input
383 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
386 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/-1, input,
394 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
411 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
425 IGraphicBufferProducer::QueueBufferInput input = local
434 IGraphicBufferProducer::QueueBufferInput input = local
447 IGraphicBufferProducer::QueueBufferInput input = local
460 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
509 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
587 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
690 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); local
[all...]
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/
H A DLayoutXmlProcessor.java70 private static void processIncrementalInputFiles(ResourceInput input, argument
74 processExistingIncrementalFiles(input.getRootInputFolder(), input.getAdded(), callback);
75 processExistingIncrementalFiles(input.getRootInputFolder(), input.getChanged(), callback);
76 processRemovedIncrementalFiles(input.getRootInputFolder(), input.getRemoved(), callback);
110 private static void processAllInputFiles(ResourceInput input, ProcessFileCallback callback) argument
113 FileUtils.deleteDirectory(input.getRootOutputFolder());
114 Preconditions.check(input
143 processResources(final ResourceInput input) argument
[all...]
/frameworks/compile/mclinker/lib/Core/
H A DLinker.cpp76 /// normalize - to convert the command line language to the input tree.
100 // 4.b - normalize the input tree
111 InputTree::const_dfs_iterator input, local
113 for (input = pModule.getInputTree().dfs_begin(); input != inEnd; ++input) {
114 mcld::outs() << counter++ << " * " << (*input)->name();
115 switch ((*input)->type()) {
133 << (*input)->type() << (*input)
[all...]
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DUT_reduce.java62 for (Allocation input : myInputs)
63 inputBytes += input.getBytesSize();
186 private long[] intArrayToLong(final int[] input) { argument
187 final long[] output = new long[input.length];
189 for (int i = 0; i < input.length; ++i)
190 output[i] = input[i];
280 private int addint(int[] input) { argument
282 for (int idx = 0; idx < input.length; ++idx)
283 result += input[idx];
288 final int[] input
422 sillySumIntoDecArray(final int[] input) argument
430 sillySumIntoIncArray(final int[] input) argument
461 findMinAbs(float[] input) argument
472 run(Allocation input) argument
527 findMinAndMax(float[] input) argument
633 run(Allocation input) argument
680 fz(final int[] input) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupHelperDispatcher.java104 public void performRestore(BackupDataInput input, int appVersionCode, argument
109 BackupDataInputStream stream = new BackupDataInputStream(input);
110 while (input.readNextHeader()) {
112 String rawKey = input.getKey();
118 stream.dataSize = input.getDataSize();
133 input.skipEntityData(); // In case they didn't consume the data.
/frameworks/base/libs/hwui/utils/
H A DBlur.cpp101 const uint8_t* input = source + y * width; local
109 const uint8_t *i = input + (x - radius);
127 currentPixel = (float) input[validW];
149 const uint8_t* input = source + x; local
152 const uint8_t *i = input + ((y - radius) * width);
170 const uint8_t *i = input + validH * width;
/frameworks/base/tools/aapt/tests/
H A DAaptConfig_test.cpp27 static ::testing::AssertionResult TestParse(const String8& input, ConfigDescription* config=NULL) { argument
28 if (AaptConfig::parse(String8(input), config)) {
29 return ::testing::AssertionSuccess() << input << " was successfully parsed";
31 return ::testing::AssertionFailure() << input << " could not be parsed";
34 static ::testing::AssertionResult TestParse(const char* input, ConfigDescription* config=NULL) { argument
35 return TestParse(String8(input), config);
/frameworks/minikin/libs/minikin/
H A DFontLanguageListCache.cpp80 static std::vector<FontLanguage> parseLanguageList(const std::string& input) { argument
86 std::string locale(input.size(), 0);
88 while ((commaLoc = input.find_first_of(',', currentIdx)) != std::string::npos) {
89 locale.assign(input, currentIdx, commaLoc - currentIdx);
103 locale.assign(input, currentIdx, input.size() - currentIdx);

Completed in 581 milliseconds

1234567891011>>