Searched refs:input (Results 276 - 300 of 431) sorted by last modified time

<<1112131415161718

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DSurfaceTextureTarget.java109 // Add input port - will accept anything that's 4-channel.
211 // Get input frame
212 Frame input = pullInput("frame");
216 (float)input.getFormat().getWidth() / input.getFormat().getHeight();
228 int target = input.getFormat().getTarget();
230 gpuFrame = context.getFrameManager().duplicateFrameToTarget(input,
234 gpuFrame = input;
243 glEnv.setSurfaceTimestamp(input.getTimestamp());
/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/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.java137 * @param input Seekable file descriptor to read from.
143 public PdfRenderer(@NonNull ParcelFileDescriptor input) throws IOException { argument
144 if (input == null) {
145 throw new NullPointerException("input cannot be null");
150 Libcore.os.lseek(input.getFileDescriptor(), 0, OsConstants.SEEK_SET);
151 size = Libcore.os.fstat(input.getFileDescriptor()).st_size;
156 mInput = input;
/frameworks/base/include/android_runtime/
H A Dandroid_view_InputQueue.h20 #include <input/Input.h>
/frameworks/base/include/androidfw/
H A DResourceTypes.h303 // The 'data' is either 0 or 1, for input "false" or "true" respectively.
1035 uint32_t input; member in union:android::ResTable_config::__anon990
1239 // well formed BCP-47 locale contained in |in|. The input locale is
1876 static String8 normalizeForOutput(const char* input);
/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/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 DAndroidKeyStoreCipherSpiBase.java91 * {@code engineDoFinal} start ignoring input data.
320 protected final byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { argument
338 output = mMainDataStreamer.update(input, inputOffset, inputLen);
372 protected final int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, argument
374 byte[] outputCopy = engineUpdate(input, inputOffset, inputLen);
388 protected final int engineUpdate(ByteBuffer input, ByteBuffer output) argument
390 if (input == null) {
391 throw new NullPointerException("input == null");
397 int inputSize = input.remaining();
399 if (input
425 engineUpdateAAD(byte[] input, int inputOffset, int inputLen) argument
487 engineDoFinal(byte[] input, int inputOffset, int inputLen) argument
528 engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument
545 engineDoFinal(ByteBuffer input, ByteBuffer output) argument
[all...]
H A DAndroidKeyStoreECDSASignatureSpi.java54 * Streamer which buffers all input, then truncates it to field size, and then sends it into
73 public byte[] update(byte[] input, int inputOffset, int inputLength) argument
76 mInputBuffer.write(input, inputOffset, inputLength);
83 public byte[] doFinal(byte[] input, int inputOffset, int inputLength, byte[] signature, argument
87 mInputBuffer.write(input, inputOffset, inputLength);
92 // Truncate input at field size (bytes)
H A DAndroidKeyStoreHmacSpi.java203 protected void engineUpdate(byte input) { argument
204 engineUpdate(new byte[] {input}, 0, 1);
208 protected void engineUpdate(byte[] input, int offset, int len) { argument
217 output = mChunkedStreamer.update(input, offset, len);
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...]
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...]
H A DKeyStoreCryptoOperationStreamer.java23 * Helper for streaming a crypto operation's input and output via {@link KeyStore} service's
37 byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException; argument
38 byte[] doFinal(byte[] input, int inputOffset, int inputLength, byte[] signature, argument
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp80 // Standard C isspace() is only required to look at the low byte of its input, so
1894 diff = (int32_t)(input - o.input);
1955 if (input != o.input) {
1956 return input < o.input ? -1 : 1;
2125 if (input || o.input) {
2429 if (input ||
[all...]
H A DZipUtils.cpp193 BufferReader(void* input, size_t inputSize) : argument
194 mInput(reinterpret_cast<unsigned char*>(input)),
/frameworks/base/libs/hwui/
H A DInterpolator.cpp31 float AccelerateDecelerateInterpolator::interpolate(float input) { argument
32 return (float)(cosf((input + 1) * M_PI) / 2.0f) + 0.5f;
35 float AccelerateInterpolator::interpolate(float input) { argument
37 return input * input;
39 return pow(input, mDoubleFactor);
72 float CycleInterpolator::interpolate(float input) { argument
73 return sinf(2 * mCycles * M_PI * input);
76 float DecelerateInterpolator::interpolate(float input) { argument
79 result = 1.0f - (1.0f - input) * (1.
99 interpolate(float input) argument
[all...]
H A DInterpolator.h31 virtual float interpolate(float input) = 0;
41 virtual float interpolate(float input) override;
47 virtual float interpolate(float input) override;
56 virtual float interpolate(float input) override;
64 virtual float interpolate(float input) override;
71 virtual float interpolate(float input) override;
77 virtual float interpolate(float input) override;
85 virtual float interpolate(float input) override;
92 virtual float interpolate(float input) override { return input; }
[all...]
/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/libs/input/
H A DPointerController.h26 #include <input/Input.h>
/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/location/tests/locationtests/src/android/location/
H A DLocationTest.java96 double input = -80.085;
97 result = Location.convert(input, Location.FORMAT_MINUTES);
106 double input = -80;
107 result = Location.convert(input, Location.FORMAT_MINUTES);
/frameworks/base/media/java/android/media/
H A DMediaCodec.java53 In broad terms, a codec processes input data to generate output data. It processes data
54 asynchronously and uses a set of input and output buffers. At a simplistic level, you request
55 (or receive) an empty input buffer, fill it up with data and send it to the codec for
114 CodecCapabilities#COLOR_FormatSurface} and it can be used with an input or output Surface.</li>
116 CodecCapabilities#COLOR_FormatYUV420Flexible}): These can be used with an input/output Surface,
218 as the first input buffer is dequeued, the codec moves to the Running sub-state, where it spends
219 most of its life. When you queue an input buffer with the {@linkplain #BUFFER_FLAG_END_OF_STREAM
221 codec no longer accepts further input buffers, but still generates output buffers until the
276 Since {@link android.os.Build.VERSION_CODES#LOLLIPOP}, you can query the resulting input and
280 If you want to process raw input vide
2737 getFormatNative(boolean input) argument
2897 cacheBuffers(boolean input) argument
3395 getBuffers(boolean input) argument
3398 getBuffer(boolean input, int index) argument
3401 getImage(boolean input, int index) argument
[all...]
H A DMediaDrm.java387 * internal error in processing unrelated to input parameters. This error
1033 @NonNull byte[] keyId, @NonNull byte[] input, @NonNull byte[] iv);
1038 @NonNull byte[] keyId, @NonNull byte[] input, @NonNull byte[] iv);
1088 * @param input the data to encrypt
1093 @NonNull byte[] keyid, @NonNull byte[] input, @NonNull byte[] iv) {
1094 return encryptNative(MediaDrm.this, mSessionId, keyid, input, iv);
1101 * @param input the data to encrypt
1106 @NonNull byte[] keyid, @NonNull byte[] input, @NonNull byte[] iv) {
1107 return decryptNative(MediaDrm.this, mSessionId, keyid, input, iv);
1031 encryptNative( @onNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull byte[] keyId, @NonNull byte[] input, @NonNull byte[] iv) argument
1036 decryptNative( @onNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull byte[] keyId, @NonNull byte[] input, @NonNull byte[] iv) argument
1092 encrypt( @onNull byte[] keyid, @NonNull byte[] input, @NonNull byte[] iv) argument
1105 decrypt( @onNull byte[] keyid, @NonNull byte[] input, @NonNull byte[] iv) argument
H A DMediaScanner.java696 private boolean convertGenreCode(String input, String expected) { argument
697 String output = getGenreName(input);
701 Log.d(TAG, "'" + input + "' -> '" + output + "', expected '" + expected + "'");

Completed in 624 milliseconds

<<1112131415161718