Searched defs:input (Results 1 - 25 of 182) sorted by last modified time

12345678

/frameworks/support/v4/java/android/support/v4/view/animation/
H A DLookupTableInterpolator.java23 * given input.
36 public float getInterpolation(float input) { argument
37 if (input >= 1.0f) {
40 if (input <= 0f) {
46 int position = Math.min((int) (input * (mValues.length - 1)), mValues.length - 2);
50 float diff = input - quantized;
/frameworks/rs/api/
H A DGenerateDocumentation.cpp67 // If prefix starts input, copy it to stream and remove it from input.
68 static void skipPrefix(ostringstream* stream, string* input, const string& prefix) { argument
70 if (input->compare(0, size, prefix) != 0) {
73 input->erase(0, size);
H A DSpecification.cpp76 static vector<string> convertToTypeVector(const string& input) { argument
79 stringstream stream(input);
803 cerr << "Error opening input file: " << mSpecFileName << "\n";
/frameworks/rs/java/tests/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/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DBNNMTest.java79 private byte[] unsignedToSignedByte(int[] input) { argument
80 byte[] output = new byte[input.length];
81 for (int i = 0; i < input.length; ++i) {
82 output[i] = (byte)(input[i]);
H A DSGEMMTest.java72 private float calcL2Norm(float[] input) { argument
74 for (int i = 0; i < input.length; ++i) {
75 l2Norm += input[i] * input[i];
97 private float[] byteToFloat(byte[] input, int offset) { argument
98 float[] output = new float[input.length];
99 for (int i = 0; i < input.length; ++i) {
100 output[i] = (float)(input[i] - offset);
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DViewfinderProcessor.java86 public ProcessingTask(Allocation input) { argument
87 mInputAllocation = input;
111 // Get to newest input
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_reduce.java55 for (Allocation input : myInputs)
56 inputBytes += input.getBytesSize();
148 private long[] intArrayToLong(final int[] input) { argument
149 final long[] output = new long[input.length];
151 for (int i = 0; i < input.length; ++i)
152 output[i] = input[i];
242 private int addint(int[] input) { argument
244 for (int idx = 0; idx < input.length; ++idx)
245 rslt += input[idx];
250 final int[] input
384 sillySumIntoDecArray(final int[] input) argument
392 sillySumIntoIncArray(final int[] input) argument
423 findMinAndMax(float[] input) argument
509 run(Allocation input) argument
556 fz(final int[] input) argument
[all...]
H A DUT_reduce_backward.java99 private int addint(int[] input) { argument
101 for (int idx = 0; idx < input.length; ++idx)
102 rslt += input[idx];
107 final int[] input = createInputArrayInt(100000, 0, 1 << 13);
109 final int javaRslt = addint(input);
110 final int rsRslt = s.reduce_addint(input).get();
132 private Int2 findMinAndMax(float[] input) { argument
138 for (int idx = 0; idx < input.length; ++idx) {
139 if (input[idx] < minVal) {
140 minVal = input[id
[all...]
/frameworks/rs/
H A DrsProgram.cpp58 uint32_t input = 0; local
63 mInputElements[input].set(reinterpret_cast<Element *>(params[ct+1]));
64 mHal.state.inputElements[input++] = reinterpret_cast<Element *>(params[ct+1]);
H A Drsg_generator.c474 FILE* input = fopen(rsgFile, "r"); local
476 char choice = fgetc(input);
477 fclose(input);
/frameworks/rs/tests/cppbasic-getpointer/
H A Dcompute.cpp44 uint32_t *input = (uint32_t*)ain->getPointer(&inputStride); local
47 printf("Input pointer: %p\n", input);
57 input[i * inputStride + j] = rand();
78 if (input[i * inputStride + j] != ~(output[i * inputStride + j])) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCatResponseMessage.java43 public void setInput(String input) { argument
44 mUsersInput = input;
H A DCommandParams.java186 GetInputParams(CommandDetails cmdDet, Input input) { argument
188 mInput = input;
/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/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp794 size_t input = 0; local
797 AudioRecord::getMinFrameCount(&input, sampleRate,
798 AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_IN_MONO) != NO_ERROR || input <= 0) {
802 ALOGD("reported frame count: output %zu, input %zu", output, input);
807 if (input < sampleCount * 2) {
808 input = sampleCount * 2;
810 ALOGD("adjusted frame count: output %zu, input %zu", output, input);
821 AUDIO_CHANNEL_IN_MONO, input, NUL
880 int16_t input[sampleCount]; local
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiLogger.java535 private static String compressToBase64(byte[] input) { argument
540 compressor.setInput(input);
542 ByteArrayOutputStream bos = new ByteArrayOutputStream(input.length);
555 result = android.util.Base64.encodeToString(input, Base64.DEFAULT);
566 compressed.length < input.length ? compressed : input , Base64.DEFAULT);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
H A DScanDetailUtilTest.java45 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid,
48 input.informationElements = new InformationElement[] {
52 ScanDetail output = ScanDetailUtil.toScanDetail(input);
54 validateScanDetail(input, output);
61 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid,
64 input.informationElements = new InformationElement[] {
67 input.anqpLines = Arrays.asList("LINE 1", "line 2", "Line 3");
69 ScanDetail output = ScanDetailUtil.toScanDetail(input);
71 validateScanDetail(input, output);
77 ScanResult input
95 validateScanDetail(ScanResult input, ScanDetail output) argument
[all...]
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java1520 // let's choose the selected or first entry if only the input text is NOT an email
1522 // new/unencountered email input
2555 private boolean isValidEmailAddress(String input) { argument
2556 return !TextUtils.isEmpty(input) && mValidator != null &&
2557 mValidator.isValid(input);
/frameworks/native/libs/gui/
H A DBufferQueueProducer.cpp725 const QueueBufferInput &input, QueueBufferOutput *output) {
737 input.deflate(&timestamp, &isAutoTimestamp, &dataSpace, &crop, &scalingMode,
739 Region surfaceDamage = input.getSurfaceDamage();
724 queueBuffer(int slot, const QueueBufferInput &input, QueueBufferOutput *output) argument
H A DIGraphicBufferProducer.cpp199 const QueueBufferInput& input, QueueBufferOutput* output) {
203 data.write(input);
537 QueueBufferInput input(data);
542 status_t result = queueBuffer(buf, input, output);
198 queueBuffer(int buf, const QueueBufferInput& input, QueueBufferOutput* output) argument
H A DLayerState.cpp49 status_t layer_state_t::read(const Parcel& input) argument
51 surface = input.readStrongBinder();
52 what = input.readUint32();
53 x = input.readFloat();
54 y = input.readFloat();
55 z = input.readUint32();
56 w = input.readUint32();
57 h = input.readUint32();
58 layerStack = input.readUint32();
59 alpha = input
82 read(const Parcel& input) argument
111 read(const Parcel& input) argument
[all...]

Completed in 523 milliseconds

12345678