/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedStateListDrawable.java | 710 public float getInterpolation(float input) { argument 711 final int elapsed = (int) (input * mTotalDuration + 0.5f);
|
H A D | Ripple.java | 575 public float getInterpolation(float input) { argument 576 return 1 - (float) Math.pow(400, -input * 1.4);
|
/frameworks/base/location/java/com/android/internal/location/ |
H A D | GpsNetInitiatedHandler.java | 397 // Opens the notification dialog and waits for user input 410 // notification and takes user input 461 * @param input a 7-bit packed char array 464 static String decodeGSMPackedString(byte[] input) argument 467 int lengthBytes = input.length; 477 if ((input[lengthBytes - 1] >> 1) == PADDING_CHAR) { 483 decoded = GsmAlphabet.gsm7BitPackedToString(input, 0, lengthSeptets); 494 static String decodeUTF8String(byte[] input) argument 498 decoded = new String(input, "UTF-8"); 507 static String decodeUCS2String(byte[] input) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GraphReader.java | 183 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 D | ImageShader.java | 250 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 D | Bitmap_Delegate.java | 95 * @param input the file from which to read the bitmap content 102 public static Bitmap createBitmap(File input, boolean isMutable, Density density) argument 104 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); 110 * @param input the file from which to read the bitmap content 117 public static Bitmap createBitmap(File input, Set<BitmapCreateFlags> createFlags, argument 120 Bitmap_Delegate delegate = new Bitmap_Delegate(ImageIO.read(input), Config.ARGB_8888); 128 * @param input the stream from which to read the bitmap content 135 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) argument 137 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); 143 * @param input th 150 createBitmap(InputStream input, Set<BitmapCreateFlags> createFlags, Density density) argument [all...] |
/frameworks/compile/mclinker/lib/Object/ |
H A D | ObjectLinker.cpp | 150 Module::input_iterator input, inEnd = m_pModule->input_end(); local 151 for (input = m_pModule->input_begin(); input!=inEnd; ++input) { 153 if (isGroup(input)) { 154 getGroupReader()->readGroup(input, inEnd, m_pBuilder->getInputBuilder(), 161 if ((*input)->type() == Input::Script || 162 (*input)->type() == Input::Archive || 163 (*input)->type() == Input::External) 166 if (Input::Object == (*input) 291 mcld::InputTree::bfs_iterator input, inEnd = m_pModule->getInputTree().bfs_end(); local 547 Module::obj_iterator input, inEnd = m_pModule->obj_end(); local 812 Module::obj_iterator input, inEnd = m_pModule->obj_end(); local [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMLDBackend.cpp | 85 // them from input 132 // same name in input 355 // directly from the input file. 443 // traverse all the input relocations to find the relocation sections applying 445 Module::const_obj_iterator input, inEnd = pModule.obj_end(); local 446 for (input = pModule.obj_begin(); input != inEnd; ++input) { 448 rsEnd = (*input)->context()->relocSectEnd(); 449 for (rs = (*input) 615 Module::obj_iterator input, inEnd = pModule.obj_end(); local [all...] |
/frameworks/native/libs/gui/ |
H A D | BufferQueueProducer.cpp | 513 const QueueBufferInput &input, QueueBufferOutput *output) { 525 input.deflate(×tamp, &isAutoTimestamp, &crop, &scalingMode, &transform, 512 queueBuffer(int slot, const QueueBufferInput &input, QueueBufferOutput *output) argument
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | VirtualDisplaySurface.cpp | 415 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(×tamp, &isAutoTimestamp, &crop, &scalingMode, 414 queueBuffer(int pslot, const QueueBufferInput& input, QueueBufferOutput* output) argument
|
/frameworks/av/media/libmedia/ |
H A D | IAudioPolicyService.cpp | 270 audio_io_handle_t *input, 283 if (input == NULL) { 284 ALOGE("getInputForAttr NULL input - shouldn't happen"); 301 *input = (audio_io_handle_t)reply.readInt32(); 305 virtual status_t startInput(audio_io_handle_t input, argument 310 data.writeInt32(input); 316 virtual status_t stopInput(audio_io_handle_t input, argument 321 data.writeInt32(input); 327 virtual void releaseInput(audio_io_handle_t input, argument 332 data.writeInt32(input); 269 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags) argument 872 audio_io_handle_t input; local 885 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local 893 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local 901 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local [all...] |
H A D | AudioSystem.cpp | 374 // Do we have a stale gInBufferSize or are we requesting the input buffer size for new values 697 audio_io_handle_t *input, 706 return aps->getInputForAttr(attr, input, session, samplingRate, format, channelMask, flags); 709 status_t AudioSystem::startInput(audio_io_handle_t input, argument 714 return aps->startInput(input, session); 717 status_t AudioSystem::stopInput(audio_io_handle_t input, argument 722 return aps->stopInput(input, session); 725 void AudioSystem::releaseInput(audio_io_handle_t input, argument 730 aps->releaseInput(input, session); 696 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags) argument
|
H A D | IAudioFlinger.cpp | 171 audio_io_handle_t input, 187 data.writeInt32((int32_t) input); 513 audio_io_handle_t *input, 520 if (input == NULL || config == NULL || device == NULL) { 526 data.writeInt32(*input); 534 *input = AUDIO_IO_HANDLE_NONE; 539 *input = AUDIO_IO_HANDLE_NONE; 542 *input = (audio_io_handle_t)reply.readInt32(); 548 virtual status_t closeInput(int input) argument 552 data.writeInt32(input); 170 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, track_flags_t *flags, pid_t tid, int *sessionId, size_t *notificationFrames, sp<IMemory>& cblk, sp<IMemory>& buffers, status_t *status) argument 512 openInput(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t *device, const String8& address, audio_source_t source, audio_input_flags_t flags) argument 947 audio_io_handle_t input = (audio_io_handle_t) data.readInt32(); local 1135 audio_io_handle_t input = (audio_io_handle_t)data.readInt32(); local [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | tns.c | 66 void AutoCorrelation(const Word16 input[], Word32 corr[], 534 static void CalcWeightedSpectrum(const Word32 spectrum[], /*!< input spectrum */ 631 * input: signal spectrum, acf window, no. of spectral lines, 672 * input: input values, no. of input values, no. of acf values 677 void AutoCorrelation(const Word16 input[], argument 691 accu = L_add(accu, ((input[j] * input[j]) >> scf)); 703 accu = L_add(accu, ((input[ [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkMediaDrm.cpp | 589 const uint8_t *input, uint8_t *output, size_t dataSize, bool encrypt) { 609 inputVec.appendArray(input, dataSize); 630 const uint8_t *input, uint8_t *output, size_t dataSize) { 635 input, output, dataSize, true); 641 const uint8_t *input, uint8_t *output, size_t dataSize) { 646 input, output, dataSize, false); 586 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 628 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 639 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/media/java/android/media/ |
H A D | MediaDrm.java | 659 byte[] keyId, byte[] input, byte[] iv); 662 byte[] keyId, byte[] input, byte[] iv); 710 * @param input the data to encrypt 713 public byte[] encrypt(byte[] keyid, byte[] input, byte[] iv) { argument 714 return encryptNative(mDrm, mSessionId, keyid, input, iv); 721 * @param input the data to encrypt 724 public byte[] decrypt(byte[] keyid, byte[] input, byte[] iv) { argument 725 return decryptNative(mDrm, mSessionId, keyid, input, iv); 658 encryptNative(MediaDrm drm, byte[] sessionId, byte[] keyId, byte[] input, byte[] iv) argument 661 decryptNative(MediaDrm drm, byte[] sessionId, byte[] keyId, byte[] input, byte[] iv) argument
|
H A D | MediaCodec.java | 50 * // if API level <= 20, get input and output buffer arrays here 56 * // if API level >= 21, get input buffer here 85 * Each codec maintains a number of input and output buffers that are 93 * input nor output buffers, subsequent calls to {@link #dequeueInputBuffer} 102 * Once the client has an input buffer available it can fill it with data 104 * Do not submit multiple input buffers with the same timestamp (unless 134 * Once the client reaches the end of the input data it signals the end of 135 * the input stream by specifying a flag of {@link #BUFFER_FLAG_END_OF_STREAM} in the call to 139 * {@link #dequeueOutputBuffer}. Do not submit additional input buffers after 140 * signaling the end of the input strea 1185 getFormatNative(boolean input) argument 1342 cacheBuffers(boolean input) argument 1678 getBuffers(boolean input) argument 1680 getBuffer(boolean input, int index) argument 1682 getImage(boolean input, int index) argument [all...] |
H A D | MediaScanner.java | 653 private boolean convertGenreCode(String input, String expected) { argument 654 String output = getGenreName(input); 658 Log.d(TAG, "'" + input + "' -> '" + output + "', expected '" + expected + "'");
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 180 bool ShaderProgram::Process(const std::vector<const GLTextureHandle*>& input, argument 182 // TODO: This can be optimized: If the input and output are the same, as in 201 for (unsigned i = 0; i < input.size(); ++i) { 202 // Get the current input frame and make sure it is a GL frame 203 if (input[i]) { 205 const GLuint tex_id = input[i]->GetTextureId(); 206 const GLenum target = input[i]->GetTextureTarget(); 208 ALOGE("ShaderProgram: invalid texture id at input: %d!", i); 224 bool ShaderProgram::Process(const std::vector<const GLFrame*>& input, GLFrame* output) { argument 225 std::vector<const GLTextureHandle*> textures(input [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardWidgetPager.java | 483 public float getInterpolation(float input) { argument 484 return (1.0f - focalLength / (focalLength + input)) /
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 1141 * @return A locally acceptable formatting of the input, or the raw input if 2082 * @return the input string, with alpha letters converted to numeric 2084 * an input of "1-800-GOOG-411" will return "1-800-4664-411". 2086 public static String convertKeypadLettersToDigits(String input) { argument 2087 if (input == null) { 2088 return input; 2090 int len = input.length(); 2092 return input; 2095 char[] out = input [all...] |
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonLDBackend.cpp | 509 // same name in input 584 Module::obj_iterator input, inEnd = pModule.obj_end(); local 585 for (input = pModule.obj_begin(); input != inEnd; ++input) { 586 LDContext::sect_iterator rs, rsEnd = (*input)->context()->relocSectEnd(); 587 for (rs = (*input)->context()->relocSectBegin(); rs != rsEnd; ++rs) { 983 // If the input section's size is zero, we got a NULL region.
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 789 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/support/v4/java/android/support/v4/widget/ |
H A D | MaterialProgressDrawable.java | 700 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/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 329 status_t JMediaCodec::getFormat(JNIEnv *env, bool input, jobject *format) const { argument 332 err = input ? mCodec->getInputFormat(&msg) : mCodec->getOutputFormat(&msg); 351 JNIEnv *env, bool input, jobjectArray *bufArray) const { 355 input 374 env, !input /* readOnly */, true /* clearBuffer */, buffer, &byteBuffer); 430 JNIEnv *env, bool input, size_t index, jobject *buf) const { 434 input 443 env, !input /* readOnly */, input /* clearBuffer */, buffer, buf); 447 JNIEnv *env, bool input, size_ 350 getBuffers( JNIEnv *env, bool input, jobjectArray *bufArray) const argument 429 getBuffer( JNIEnv *env, bool input, size_t index, jobject *buf) const argument 446 getImage( JNIEnv *env, bool input, size_t index, jobject *buf) const argument 1198 android_media_MediaCodec_getFormatNative( JNIEnv *env, jobject thiz, jboolean input) argument 1244 android_media_MediaCodec_getBuffers( JNIEnv *env, jobject thiz, jboolean input) argument 1270 android_media_MediaCodec_getBuffer( JNIEnv *env, jobject thiz, jboolean input, jint index) argument 1296 android_media_MediaCodec_getImage( JNIEnv *env, jobject thiz, jboolean input, jint index) argument [all...] |