Searched defs:input (Results 1 - 25 of 211) sorted by relevance

123456789

/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DAbs_32.c33 LVM_INT32 Abs_32(LVM_INT32 input) argument
35 if(input < 0)
37 if (input == (LVM_INT32)(0x80000000U))
40 input=(LVM_INT32) 0x7fffffff;
44 /* Negative input, so invert */
45 input = (LVM_INT32)(-input);
48 return input;
/frameworks/base/tools/aapt/tests/
H A DAaptConfig_test.cpp27 static ::testing::AssertionResult TestParse(const String8& input, ConfigDescription* config=NULL) { argument
28 if (AaptConfig::parse(String8(input), config)) {
29 return ::testing::AssertionSuccess() << input << " was successfully parsed";
31 return ::testing::AssertionFailure() << input << " could not be parsed";
34 static ::testing::AssertionResult TestParse(const char* input, ConfigDescription* config=NULL) { argument
35 return TestParse(String8(input), config);
H A DAaptGroupEntry_test.cpp34 static ::testing::AssertionResult TestParse(AaptGroupEntry& entry, const char* input, argument
36 return TestParse(entry, String8(input), outType);
H A DPseudolocales_test.cpp29 static void simple_helper(const char* input, const char* expected, PseudolocalizationMethod method) { argument
31 String16 result = pseudo.start() + pseudo.text(String16(String8(input))) + pseudo.end();
/frameworks/base/core/java/android/animation/
H A DTimeInterpolator.java30 * @param input A value between 0 and 1.0 indicating our current point
37 float getInterpolation(float input); argument
/frameworks/base/tools/aapt2/
H A DConfigDescription_test.cpp31 const StringPiece& input, ConfigDescription* config = nullptr) {
32 if (ConfigDescription::Parse(input, config)) {
33 return ::testing::AssertionSuccess() << input << " was successfully parsed";
35 return ::testing::AssertionFailure() << input << " could not be parsed";
30 TestParse( const StringPiece& input, ConfigDescription* config = nullptr) argument
H A DLocale_test.cpp27 static ::testing::AssertionResult TestLanguage(const char* input, argument
29 std::vector<std::string> parts = util::SplitAndLowercase(input, '-');
33 return ::testing::AssertionFailure() << " failed to parse '" << input
39 << count << " parts were consumed parsing '" << input
53 static ::testing::AssertionResult TestLanguageRegion(const char* input, argument
56 std::vector<std::string> parts = util::SplitAndLowercase(input, '-');
60 return ::testing::AssertionFailure() << " failed to parse '" << input
66 << count << " parts were consumed parsing '" << input
73 << "expected " << input << " but got "
/frameworks/native/cmds/installd/
H A Dotapreopt_utils.h25 static inline bool ValidateTargetSlotSuffix(const std::string& input) { argument
28 return std::regex_match(input, slot_suffix_match, slot_suffix_regex);
/frameworks/native/libs/gui/
H A DLayerState.cpp52 status_t layer_state_t::read(const Parcel& input) argument
54 surface = input.readStrongBinder();
55 what = input.readUint32();
56 x = input.readFloat();
57 y = input.readFloat();
58 z = input.readInt32();
59 w = input.readUint32();
60 h = input.readUint32();
61 layerStack = input.readUint32();
62 alpha = input
89 read(const Parcel& input) argument
118 read(const Parcel& input) argument
[all...]
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeyLicenseFetcher.cpp30 status_t ClearKeyLicenseFetcher::Init(const char *input) { argument
32 return extractor->extractAssetFromString(String8(input), &asset_);
/frameworks/base/core/java/android/util/
H A DEventLogTags.java40 public EventLogTags(BufferedReader input) throws IOException {} argument
/frameworks/base/core/java/android/view/animation/
H A DAccelerateDecelerateInterpolator.java40 public float getInterpolation(float input) { argument
41 return (float)(Math.cos((input + 1) * Math.PI) / 2.0f) + 0.5f;
H A DLinearInterpolator.java38 public float getInterpolation(float input) { argument
39 return input;
H A DAccelerateInterpolator.java77 public float getInterpolation(float input) { argument
79 return input * input;
81 return (float)Math.pow(input, mDoubleFactor);
H A DCycleInterpolator.java59 public float getInterpolation(float input) { argument
60 return (float)(Math.sin(2 * mCycles * Math.PI * input));
H A DDecelerateInterpolator.java69 public float getInterpolation(float input) { argument
72 result = (float)(1.0f - (1.0f - input) * (1.0f - input));
74 result = (float)(1.0f - Math.pow((1.0f - input), 2 * mFactor));
/frameworks/compile/mclinker/lib/MC/
H A DFileAction.cpp23 Input* input = *pBuilder.getCurrentNode(); local
25 if (input->hasContext())
29 if (input->type() == Input::Script || input->type() == Input::Object ||
30 input->type() == Input::DynObj || input->type() == Input::Archive)
33 return pBuilder.setContext(*input);
46 Input* input = *pBuilder.getCurrentNode(); local
48 if (input->hasMemArea())
52 if (input
[all...]
/frameworks/rs/tests/lldb/cpp/BranchingFunCalls/
H A DBranchingFunCalls.cpp37 int * input = new int[size*size]; local
39 input[i] = i - (size*size / 2);
41 a->copy2DRangeFrom(0, 0, size, size, input);
42 delete [] input;
/frameworks/support/wear/src/android/support/wear/widget/
H A DBezierSCurveInterpolator.java67 public float getInterpolation(float input) { argument
68 if (input >= 1.0f) {
72 if (input <= 0f) {
76 int position = Math.min((int) (input * (VALUES.length - 1)), VALUES.length - 2);
79 float difference = input - quantized;
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
H A DJsonWebKeyUnittest.cpp41 void stringFromVector(const Vector<uint8_t>& input, argument
44 if (input.isEmpty()) {
48 for (size_t i = 0; i < input.size(); ++i) {
49 converted->appendFormat("%c", input.itemAt(i));
/frameworks/base/core/java/com/android/internal/view/animation/
H A DFallbackLUTInterpolator.java76 public float getInterpolation(float input) { argument
77 return mSourceInterpolator.getInterpolation(input);
/frameworks/base/keystore/java/android/security/keystore/
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/media/mca/filterfw/java/android/filterfw/core/
H A DProgram.java29 public void process(Frame input, Frame output) { argument
31 inputs[0] = input;
/frameworks/base/services/core/java/com/android/server/input/
H A DInputApplicationHandle.java17 package com.android.server.input;
20 * Functions as a handle for an application that can receive input.
21 * Enables the native input dispatcher to refer indirectly to the window manager's
26 // Pointer to the native input application handle.
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dpixelutils.cpp24 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset,
26 uint32* pInPix = static_cast<uint32*>(env->GetDirectBufferAddress(input));
23 nativeCopyPixels( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset, jint pixStride, jint rowStride) argument

Completed in 667 milliseconds

123456789