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

12345678

/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.cpp27 static ::testing::AssertionResult TestParse(const StringPiece& input, argument
29 if (ConfigDescription::parse(input, config)) {
30 return ::testing::AssertionSuccess() << input << " was successfully parsed";
32 return ::testing::AssertionFailure() << input << " could not be parsed";
H A DLocale_test.cpp25 static ::testing::AssertionResult TestLanguage(const char* input, const char* lang) { argument
26 std::vector<std::string> parts = util::splitAndLowercase(std::string(input), '-');
30 return ::testing::AssertionFailure() << " failed to parse '" << input << "'.";
35 << " parts were consumed parsing '" << input << "' but expected 1.";
46 static ::testing::AssertionResult TestLanguageRegion(const char* input, const char* lang, argument
48 std::vector<std::string> parts = util::splitAndLowercase(std::string(input), '-');
52 return ::testing::AssertionFailure() << " failed to parse '" << input << "'.";
57 << " parts were consumed parsing '" << input << "' but expected 2.";
61 return ::testing::AssertionFailure() << "expected " << input << " but got "
/frameworks/native/libs/gui/
H A DLayerState.cpp49 status_t layer_state_t::read(const Parcel& input) argument
51 surface = input.readStrongBinder();
52 what = input.readUint32();
53 x = input.readFloat();
54 y = input.readFloat();
55 z = input.readUint32();
56 w = input.readUint32();
57 h = input.readUint32();
58 layerStack = input.readUint32();
59 alpha = input
82 read(const Parcel& input) argument
111 read(const Parcel& input) argument
[all...]
/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/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.java73 public float getInterpolation(float input) { argument
74 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/packages/DocumentsUI/src/com/android/documentsui/
H A DPairedTask.java33 * @template Input input type
49 abstract Output run(Input... input); argument
63 final protected Output doInBackground(Input... input) { argument
67 return run(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
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DPixelUtils.java36 * @param input The input buffer containing pixel data.
38 * @param width The width of the input image.
39 * @param height The height of the input image.
44 public static void copyPixels(ByteBuffer input, argument
51 if (input.remaining() != output.remaining()) {
53 } else if (input.remaining() % 4 != 0) {
57 } else if ((width * height * 4) != input.remaining()) {
64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride);
67 private static native void nativeCopyPixels(ByteBuffer input, argument
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DSha1Test.java28 private String input; field in class:Sha1Test.TestData
32 input = i;
49 digest.update(mTestData[i].input.getBytes());
/frameworks/base/tools/aapt2/compile/
H A DPseudolocalizer_test.cpp28 static ::testing::AssertionResult simpleHelper(const char* input, const char* expected, argument
32 pseudo.start() + pseudo.text(util::utf8ToUtf16(input)) + pseudo.end());

Completed in 671 milliseconds

12345678