Searched defs:input (Results 126 - 150 of 182) sorted by relevance

12345678

/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.java589 public float getInterpolation(float input) { argument
590 final float interpolated = VISCOUS_FLUID_NORMALIZE * viscousFluid(input);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedStateListDrawable.java711 public float getInterpolation(float input) { argument
712 final int elapsed = (int) (input * mTotalDuration + 0.5f);
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java494 public OperationResult update(IBinder token, KeymasterArguments arguments, byte[] input) { argument
496 return mBinder.update(token, arguments, input);
/frameworks/base/location/java/com/android/internal/location/
H A DGpsNetInitiatedHandler.java398 // Opens the notification dialog and waits for user input
411 // notification and takes user input
462 * @param input a 7-bit packed char array
465 static String decodeGSMPackedString(byte[] input) argument
468 int lengthBytes = input.length;
478 if ((input[lengthBytes - 1] >> 1) == PADDING_CHAR) {
484 decoded = GsmAlphabet.gsm7BitPackedToString(input, 0, lengthSeptets);
495 static String decodeUTF8String(byte[] input) argument
499 decoded = new String(input, "UTF-8");
508 static String decodeUCS2String(byte[] input) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphReader.java183 public SetFilterInputCommand(String filterName, String input, Object value) { argument
185 mFilterInput = input;
261 } else if (localName.equals("input")) {
384 throw new SAXException("Found 'input' element outside of 'filter' "
388 // Get input name and value
392 throw new SAXException("No value specified for input '" + inputName + "' "
H A DImageShader.java250 public void process(FrameImage2D input, FrameImage2D output) { argument
251 TextureSource texSource = input.lockTextureSource();
257 input.unlock();
271 for (FrameImage2D input : inputs) {
272 input.unlock();
624 + " number of input textures! Missing uniform " + inputTextureUniformName(i)
627 GLToolbox.checkGlError("Binding input texture " + i);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java102 * @param input the file from which to read the bitmap content
109 public static Bitmap createBitmap(File input, boolean isMutable, Density density) argument
111 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density);
117 * @param input the file from which to read the bitmap content
124 private static Bitmap createBitmap(File input, Set<BitmapCreateFlags> createFlags, argument
127 BufferedImage image = ImageIO.read(input);
128 if (image == null && input.exists()) {
150 * @param input the stream from which to read the bitmap content
157 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) argument
159 return createBitmap(input, getPremultipliedBitmapCreateFlag
172 createBitmap(InputStream input, Set<BitmapCreateFlags> createFlags, Density density) argument
[all...]
/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp122 /// CreateInput - To create an input file and append it to the input tree.
130 Input* input = *m_InputBuilder.getCurrentNode(); local
132 if (!input->hasContext())
133 m_InputBuilder.setContext(*input, false);
135 return input;
138 /// ReadInput - To read an input file and append it to the input tree.
143 Input* input = *m_InputBuilder.getCurrentNode(); local
145 if (!input
182 Input* input = *m_InputBuilder.getCurrentNode(); local
199 Input* input = *m_InputBuilder.getCurrentNode(); local
216 Input* input = *m_InputBuilder.getCurrentNode(); local
[all...]
/frameworks/compile/mclinker/lib/Object/
H A DObjectLinker.cpp148 Module::input_iterator input, inEnd = m_pModule->input_end(); local
149 for (input = m_pModule->input_begin(); input != inEnd; ++input) {
151 if (isGroup(input)) {
153 input, inEnd, m_pBuilder->getInputBuilder(), m_Config);
159 if ((*input)->type() == Input::Script ||
160 (*input)->type() == Input::Archive ||
161 (*input)->type() == Input::External)
164 if (Input::Object == (*input)
289 mcld::InputTree::bfs_iterator input, local
583 Module::obj_iterator input, inEnd = m_pModule->obj_end(); local
787 Module::obj_iterator input, inEnd = m_pModule->obj_end(); local
872 Module::obj_iterator input, inEnd = m_pModule->obj_end(); local
[all...]
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
H A DExprModelTest.java877 final String input = "a > 3 ? b : c";
878 TernaryExpr ternaryExpr = parse(lb, input, TernaryExpr.class);
884 assertEquals(input.length() - 1, location.endOffset);
976 private <T extends Expr> T parse(LayoutBinder binder, String input, Class<T> klass) { argument
977 final Expr parsed = binder.parse(input, false, null);
/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/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
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp466 const QueueBufferInput& input, QueueBufferOutput* output) {
468 return mSource[SOURCE_SINK]->queueBuffer(pslot, input, output);
482 result = mSource[SOURCE_SCRATCH]->queueBuffer(sslot, input, &scratchQBO);
511 input.deflate(&timestamp, &isAutoTimestamp, &dataSpace, &crop,
465 queueBuffer(int pslot, const QueueBufferInput& input, QueueBufferOutput* output) argument
/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/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);
/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...]
/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.
273 // TODO: add audio hardware input latency here
519 audio_io_handle_t input; local
533 status = AudioSystem::getInputForAttr(&mAttributes, &input,
541 if (status != NO_ERROR || input == AUDIO_IO_HANDLE_NONE) {
542 ALOGE("Could not get audio input for session %d, record source %d, sample rate %u, "
553 status = AudioSystem::getFrameCount(input, &afFrameCount);
555 ALOGE("getFrameCount(input=%d) status %d", input, statu
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c66 void AutoCorrelation(const Word16 input[], Word32 corr[],
504 static void CalcWeightedSpectrum(const Word32 spectrum[], /*!< input spectrum */
601 * input: signal spectrum, acf window, no. of spectral lines,
642 * input: input values, no. of input values, no. of acf values
647 void AutoCorrelation(const Word16 input[], argument
661 accu = L_add(accu, ((input[j] * input[j]) >> scf));
673 accu = L_add(accu, ((input[
[all...]
/frameworks/av/media/ndk/
H A DNdkMediaDrm.cpp586 const uint8_t *input, uint8_t *output, size_t dataSize, bool encrypt) {
606 inputVec.appendArray(input, dataSize);
627 const uint8_t *input, uint8_t *output, size_t dataSize) {
632 input, output, dataSize, true);
638 const uint8_t *input, uint8_t *output, size_t dataSize) {
643 input, output, dataSize, false);
583 encrypt_decrypt_common(AMediaDrm *mObj, const AMediaDrmSessionId &sessionId, const char *cipherAlgorithm, uint8_t *keyId, uint8_t *iv, const uint8_t *input, uint8_t *output, size_t dataSize, bool encrypt) argument
625 AMediaDrm_encrypt(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, const char *cipherAlgorithm, uint8_t *keyId, uint8_t *iv, const uint8_t *input, uint8_t *output, size_t dataSize) argument
636 AMediaDrm_decrypt(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, const char *cipherAlgorithm, uint8_t *keyId, uint8_t *iv, const uint8_t *input, uint8_t *output, size_t dataSize) argument
/frameworks/base/core/java/android/content/pm/
H A DActivityInfo.java662 public static @NativeConfig int activityInfoConfigJavaToNative(@Config int input) { argument
665 if ((input & (1 << i)) != 0) {
677 public static @Config int activityInfoConfigNativeToJava(@NativeConfig int input) { argument
680 if ((input & CONFIG_NATIVE_BITS[i]) != 0) {
716 * The desired soft input mode for this activity's main window.
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java431 private static char[] encodeHex(byte[] input) { argument
432 int l = input.length;
437 out[j++] = DIGITS[(0xF0 & input[i]) >>> 4 ];
438 out[j++] = DIGITS[ 0x0F & input[i] ];
/frameworks/base/core/java/android/hardware/input/
H A DInputManager.java17 package android.hardware.input;
52 * Provides information about input devices and available key layouts.
87 * The input manager service locates available keyboard layouts
100 * &lt;action android:name="android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS" />
102 * &lt;meta-data android:name="android.hardware.input.metadata.KEYBOARD_LAYOUTS"
128 * <a href="http://source.android.com/tech/input/key-character-map-files.html">
134 "android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS";
145 "android.hardware.input.metadata.KEYBOARD_LAYOUTS";
174 * Waits for previous events to be dispatched so that the input dispatcher can
175 * determine whether input even
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp173 bool ShaderProgram::Process(const std::vector<const GLTextureHandle*>& input, argument
175 // TODO: This can be optimized: If the input and output are the same, as in
194 for (unsigned i = 0; i < input.size(); ++i) {
195 // Get the current input frame and make sure it is a GL frame
196 if (input[i]) {
198 const GLuint tex_id = input[i]->GetTextureId();
199 const GLenum target = input[i]->GetTextureTarget();
201 ALOGE("ShaderProgram: invalid texture id at input: %d!", i);
217 bool ShaderProgram::Process(const std::vector<const GLFrame*>& input, GLFrame* output) { argument
218 std::vector<const GLTextureHandle*> textures(input
[all...]

Completed in 3944 milliseconds

12345678