/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
H A D | SurfaceTextureTarget.java | 109 // 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 D | AnimatedStateListDrawable.java | 711 public float getInterpolation(float input) { argument 712 final int elapsed = (int) (input * mTotalDuration + 0.5f);
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfEditor.java | 60 * @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 D | PdfRenderer.java | 137 * @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 D | android_view_InputQueue.h | 20 #include <input/Input.h>
|
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 303 // 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 D | KeyStore.java | 494 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 D | AndroidKeyStoreAuthenticatedAESCipherSpi.java | 357 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 D | AndroidKeyStoreCipherSpiBase.java | 91 * {@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 D | AndroidKeyStoreECDSASignatureSpi.java | 54 * 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 D | AndroidKeyStoreHmacSpi.java | 203 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 D | AndroidKeyStoreSignatureSpiBase.java | 67 * {@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 D | KeyStoreCryptoOperationChunkedStreamer.java | 32 * 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 D | KeyStoreCryptoOperationStreamer.java | 23 * 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 D | ResourceTypes.cpp | 80 // 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 D | ZipUtils.cpp | 193 BufferReader(void* input, size_t inputSize) : argument 194 mInput(reinterpret_cast<unsigned char*>(input)),
|
/frameworks/base/libs/hwui/ |
H A D | Interpolator.cpp | 31 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 D | Interpolator.h | 31 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 D | Blur.cpp | 101 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 D | PointerController.h | 26 #include <input/Input.h>
|
/frameworks/base/location/java/com/android/internal/location/ |
H A D | GpsNetInitiatedHandler.java | 398 // 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 D | LocationTest.java | 96 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 D | MediaCodec.java | 53 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 D | MediaDrm.java | 387 * 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 D | MediaScanner.java | 696 private boolean convertGenreCode(String input, String expected) { argument 697 String output = getGenreName(input); 701 Log.d(TAG, "'" + input + "' -> '" + output + "', expected '" + expected + "'");
|