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

123456

/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.cpp26 static ::testing::AssertionResult TestParse(const String8& input, ConfigDescription* config=NULL) { argument
27 if (AaptConfig::parse(String8(input), config)) {
28 return ::testing::AssertionSuccess() << input << " was successfully parsed";
30 return ::testing::AssertionFailure() << input << " could not be parsed";
33 static ::testing::AssertionResult TestParse(const char* input, ConfigDescription* config=NULL) { argument
34 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);
/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/native/libs/gui/
H A DLayerState.cpp45 status_t layer_state_t::read(const Parcel& input) argument
47 surface = input.readStrongBinder();
48 what = input.readInt32();
49 x = input.readFloat();
50 y = input.readFloat();
51 z = input.readInt32();
52 w = input.readInt32();
53 h = input.readInt32();
54 layerStack = input.readInt32();
55 alpha = input
74 read(const Parcel& input) argument
93 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/base/packages/SystemUI/src/com/android/systemui/
H A DBitmapHelper.java29 * Generate a new bitmap (width x height pixels, ARGB_8888) with the input bitmap scaled
31 * @param input Bitmap to resize and clip
36 public static Bitmap createCircularClip(Bitmap input, int width, int height) { argument
37 if (input == null) return null;
39 final int inWidth = input.getWidth();
40 final int inHeight = input.getHeight();
44 paint.setShader(new BitmapShader(input, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP));
/frameworks/compile/mclinker/lib/MC/
H A DFileAction.cpp24 Input* input = *pBuilder.getCurrentNode(); local
26 if (input->hasContext())
30 if (input->type() == Input::Script ||
31 input->type() == Input::Object ||
32 input->type() == Input::DynObj ||
33 input->type() == Input::Archive)
36 return pBuilder.setContext(*input);
50 Input* input = *pBuilder.getCurrentNode(); local
52 if (input->hasMemArea())
56 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/android/hardware/input/
H A DInputManagerInternal.java17 package android.hardware.input;
32 * by the input system. The input system must copy this information to retain it.
38 * Called by the power manager to tell the input manager whether it should start
/frameworks/base/core/java/com/android/internal/view/animation/
H A DFallbackLUTInterpolator.java72 public float getInterpolation(float input) { argument
73 return mSourceInterpolator.getInterpolation(input);
/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
/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/compile/mclinker/include/mcld/LD/
H A DGroupReader.h40 /// readGroup - handle the input sub-tree wich its root is pRoot
48 /// ArchiveListEntry - record the Archive and the corresponding input iterator
52 : archive(pArchive), input(pIterator) {
55 Module::input_iterator input; member in struct:mcld::GroupReader::ArchiveListEntry
/frameworks/compile/mclinker/lib/Script/
H A DScriptReader.cpp32 bool ScriptReader::isMyFormat(Input& input, bool &doContinue) const argument
43 Input& input = pScriptFile.input(); local
44 size_t size = input.memArea()->size();
45 llvm::StringRef region = input.memArea()->request(input.fileOffset(), size);
/frameworks/compile/mclinker/unittests/
H A DInputTreeTest.cpp108 Input* input = m_pAlloc->produce("FileSpec", "path1"); local
109 m_pTestee->insert<InputTree::Inclusive>(node, *input);
115 Input* input = m_pAlloc->produce("FileSpec", "path1"); local
116 m_pTestee->insert<InputTree::Inclusive>(node, *input);
139 Input* input = m_pAlloc->produce("FileSpec", "path1"); local
140 m_pTestee->insert(node, InputTree::Afterward, *input);
155 Input* input = m_pAlloc->produce("111", "/"); local
156 m_pTestee->insert<InputTree::Inclusive>(node, *input);
159 input = m_pAlloc->produce("10", "/");
160 m_pTestee->insert<InputTree::Positional>(node, *input);
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DBakedBezierInterpolator.java64 public float getInterpolation(float input) { argument
65 if (input >= 1.0f) {
69 if (input <= 0f) {
74 (int)(input * (VALUES.length - 1)),
78 float difference = input - quantized;

Completed in 2239 milliseconds

123456