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

123456

/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.c652 FILE* input = fopen(rsgFile, "r"); local
654 char choice = fgetc(input);
655 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/support/v4/java/android/support/v4/widget/
H A DBakedBezierInterpolator.java64 public float getInterpolation(float input) { argument
65 if (input >= 1.0f) {
69 if (input <= 0f) {
74 (int)(input * (VALUES.length - 1)),
78 float difference = input - quantized;
H A DMaterialProgressDrawable.java700 public float getInterpolation(float input) { argument
701 return super.getInterpolation(Math.max(0, (input - 0.5f) * 2.0f));
710 public float getInterpolation(float input) { argument
711 return super.getInterpolation(Math.min(1, input * 2.0f));
/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.java174 GetInputParams(CommandDetails cmdDet, Input input) { argument
176 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.cpp789 size_t input = 0; local
792 AudioRecord::getMinFrameCount(&input, sampleRate,
793 AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_IN_MONO) != NO_ERROR || input <= 0) {
797 ALOGD("reported frame count: output %d, input %d", output, input);
802 if (input < sampleCount * 2) {
803 input = sampleCount * 2;
805 ALOGD("adjusted frame count: output %d, input %d", output, input);
816 AUDIO_CHANNEL_IN_MONO, input, NUL
875 int16_t input[sampleCount]; local
[all...]
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java1378 // let's choose the selected or first entry if only the input text is NOT an email
1380 // new/unencountered email input
2365 private boolean isValidEmailAddress(String input) { argument
2366 return !TextUtils.isEmpty(input) && mValidator != null &&
2367 mValidator.isValid(input);
/frameworks/native/libs/gui/
H A DBufferQueueProducer.cpp513 const QueueBufferInput &input, QueueBufferOutput *output) {
525 input.deflate(&timestamp, &isAutoTimestamp, &crop, &scalingMode, &transform,
512 queueBuffer(int slot, const QueueBufferInput &input, QueueBufferOutput *output) argument
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
H A DLayerState.cpp45 status_t layer_state_t::read(const Parcel& input) argument
47 surface = input.readStrongBinder();
48 what = input.readInt32();
49 x = input.readFloat();
50 y = input.readFloat();
51 z = input.readInt32();
52 w = input.readInt32();
53 h = input.readInt32();
54 layerStack = input.readInt32();
55 alpha = input
74 read(const Parcel& input) argument
93 read(const Parcel& input) argument
[all...]
/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/native/opengl/libs/GLES_trace/src/
H A Dgltrace.pb.cpp1716 ::google::protobuf::io::CodedInputStream* input) {
1719 while ((tag = input->ReadTag()) != 0) {
1728 input, &value)));
1735 if (input->ExpectTag(16)) goto parse_isArray;
1746 input, &isarray_)));
1751 if (input->ExpectTag(24)) goto parse_intValue;
1762 1, 24, input, this->mutable_intvalue())));
1768 input, this->mutable_intvalue())));
1772 if (input->ExpectTag(24)) goto parse_intValue;
1773 if (input
1715 MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) argument
2126 MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) argument
2375 MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) argument
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp415 const QueueBufferInput& input, QueueBufferOutput* output) {
417 return mSource[SOURCE_SINK]->queueBuffer(pslot, input, output);
431 result = mSource[SOURCE_SCRATCH]->queueBuffer(sslot, input, &scratchQBO);
460 input.deflate(&timestamp, &isAutoTimestamp, &crop, &scalingMode,
414 queueBuffer(int pslot, const QueueBufferInput& input, QueueBufferOutput* output) argument
/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/compile/mclinker/include/mcld/LD/
H A DGroupReader.h40 /// readGroup - handle the input sub-tree wich its root is pRoot
48 /// ArchiveListEntry - record the Archive and the corresponding input iterator
52 : archive(pArchive), input(pIterator) {
55 Module::input_iterator input; member in struct:mcld::GroupReader::ArchiveListEntry
/frameworks/compile/mclinker/include/mcld/MC/
H A DInputBuilder.h30 * InputBuilder build input tree and inputs.
45 // ----- input tree operations ----- //
51 // ----- root of input tree ----- //
60 // ----- input operations ----- //
111 Input* input = createInput(pName, pPath, pType); local
112 m_pCurrentTree->insert(m_Root, *m_pMove, *input);
126 Input* input = createInput(pName, pPath, pType); local
127 m_pCurrentTree->insert(m_Root, *m_pMove, *input);
/frameworks/compile/mclinker/include/mcld/Script/
H A DScriptFile.h66 const Input& input() const { return m_Input; } function in class:mcld::ScriptFile
67 Input& input() { return m_Input; } function in class:mcld::ScriptFile
/frameworks/compile/mclinker/lib/CodeGen/
H A DMCLinker.cpp69 cl::desc("[input object files]"),
219 // Now, all input arguments are prepared well, send it into ObjectLinker
299 cl::list<mcld::sys::fs::Path>::iterator input, inBegin, inEnd; local
302 for (input = inBegin; input != inEnd; ++input) {
303 unsigned int pos = ArgInputObjectFiles.getPosition(input - inBegin);
304 actions.push_back(new InputFileAction(pos, *input));
414 // build up input tree
/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...]
H A DLinker.cpp77 /// normalize - to convert the command line language to the input tree.
102 // 4.b - normalize the input tree
111 InputTree::const_dfs_iterator input, inEnd = pModule.getInputTree().dfs_end(); local
112 for (input=pModule.getInputTree().dfs_begin(); input!=inEnd; ++input) {
113 mcld::outs() << counter++ << " * " << (*input)->name();
114 switch((*input)->type()) {
131 unreachable(diag::err_cannot_trace_file) << (*input)->type()
132 << (*input)
[all...]
/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...]
H A DGroupReader.cpp52 Module::input_iterator input = --pRoot; local
55 while (input != pEnd) {
58 if ((*input)->type() == Input::Script ||
59 (*input)->type() == Input::Archive ||
60 (*input)->type() == Input::External) {
61 ++input;
65 if (Input::Object == (*input)->type()) {
66 m_Module.getObjectList().push_back(*input);
70 if (Input::DynObj == (*input)->type()) {
71 m_Module.getLibraryList().push_back(*input);
[all...]

Completed in 318 milliseconds

123456