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

1234

/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/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
70 read(const Parcel& input) argument
87 read(const Parcel& input) argument
[all...]
/frameworks/base/core/java/android/util/
H A DEventLogTags.java46 public EventLogTags(BufferedReader input) throws IOException {} argument
/frameworks/base/core/java/android/view/animation/
H A DAccelerateDecelerateInterpolator.java35 public float getInterpolation(float input) { argument
36 return (float)(Math.cos((input + 1) * Math.PI) / 2.0f) + 0.5f;
H A DCycleInterpolator.java42 public float getInterpolation(float input) { argument
43 return (float)(Math.sin(2 * mCycles * Math.PI * input));
H A DDecelerateInterpolator.java52 public float getInterpolation(float input) { argument
55 result = (float)(1.0f - (1.0f - input) * (1.0f - input));
57 result = (float)(1.0f - Math.pow((1.0f - input), 2 * mFactor));
H A DLinearInterpolator.java34 public float getInterpolation(float input) { argument
35 return input;
H A DAccelerateInterpolator.java60 public float getInterpolation(float input) { argument
62 return input * input;
64 return (float)Math.pow(input, mDoubleFactor);
/frameworks/compile/mclinker/lib/MC/
H A DFileAction.cpp26 Input* input = *pBuilder.getCurrentNode(); local
28 if (input->hasContext())
32 if (input->type() == Input::Script ||
33 input->type() == Input::Object ||
34 input->type() == Input::DynObj ||
35 input->type() == Input::Archive)
38 return pBuilder.setContext(*input);
52 Input* input = *pBuilder.getCurrentNode(); local
54 if (input->hasMemArea())
58 if (input
[all...]
/frameworks/av/libvideoeditor/vss/src/
H A DM4VD_Tools.c63 M4OSA_UInt32 input = bitsToWrite; local
64 input = (input << (32 - nb_bits - offset));
80 /* Parse input bits, and fill output buffer */
87 temp = ((input & (0x80000000 >> offset)) >> (31-offset));
90 input = (input << 1);
/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/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...]
H A DColorSpace.java31 * The input data is expected to be laid out in 3 planes. The width x height Y plane, followed
36 * @param input data encoded in YUV420-Planar.
42 ByteBuffer input, ByteBuffer output, int width, int height) {
43 expectInputSize(input, (3 * width * height) / 2);
45 nativeYuv420pToRgba8888(input, output, width, height);
51 * The input data is expected to be encoded in 8-bit interleaved ARGB channels. The output
53 * input buffer.
55 * @param input data encoded in ARGB8888.
61 ByteBuffer input, ByteBuffer output, int width, int height) {
62 expectInputSize(input, widt
41 convertYuv420pToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
60 convertArgb8888ToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
79 convertRgba8888ToHsva8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
98 convertRgba8888ToYcbcra8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
105 expectInputSize(ByteBuffer input, int expectedSize) argument
121 nativeYuv420pToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
124 nativeArgb8888ToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
127 nativeRgba8888ToHsva8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
130 nativeRgba8888ToYcbcra8888( ByteBuffer input, ByteBuffer output, int width, int height) 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.h43 /// readGroup - handle the input sub-tree wich its root is pRoot
50 /// ArchiveListEntry - record the Archive and the corresponding input iterator
54 : archive(pArchive), input(pIterator) {
57 Module::input_iterator input; member in struct:mcld::GroupReader::ArchiveListEntry
/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/compile/mclinker/include/mcld/MC/
H A DInputBuilder.h34 * InputBuilder build input tree and inputs.
49 // ----- input tree operations ----- //
55 // ----- root of input tree ----- //
64 // ----- input operations ----- //
115 Input* input = createInput(pName, pPath, pType); local
116 m_pCurrentTree->insert(m_Root, *m_pMove, *input);
130 Input* input = createInput(pName, pPath, pType); local
131 m_pCurrentTree->insert(m_Root, *m_pMove, *input);
/frameworks/base/core/java/android/app/backup/
H A DBackupHelperDispatcher.java105 public void performRestore(BackupDataInput input, int appVersionCode, argument
110 BackupDataInputStream stream = new BackupDataInputStream(input);
111 while (input.readNextHeader()) {
113 String rawKey = input.getKey();
119 stream.dataSize = input.getDataSize();
134 input.skipEntityData(); // In case they didn't consume the data.
/frameworks/base/core/java/android/content/pm/
H A DVerifierDeviceIdentity.java86 * @return verifier device identity based on the input from the provided
103 private static final String encodeBase32(long input) { argument
127 final int group = (int) (input & 0x1F);
128 input >>>= 5;
137 private static final long decodeBase32(byte[] input) throws IllegalArgumentException { argument
141 final int N = input.length;
143 final int group = input[i];
210 final byte[] input;
212 input = deviceIdentity.getBytes("US-ASCII");
214 throw new IllegalArgumentException("bad base-32 characters in input");
[all...]
/frameworks/base/core/java/android/hardware/input/
H A DKeyboardLayout.java17 package android.hardware.input;
/frameworks/base/core/java/android/text/
H A DAndroidCharacter.java49 * @param input the character to measure
50 * @return the East Asian Width for input
52 public native static int getEastAsianWidth(char input); argument
64 * @param src character array of input to measure
/frameworks/base/core/jni/
H A Dandroid_text_AndroidCharacter.cpp95 static jint getEastAsianWidth(JNIEnv* env, jobject obj, jchar input) argument
97 int width = u_getIntPropertyValue(input, UCHAR_EAST_ASIAN_WIDTH);

Completed in 856 milliseconds

1234