/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | Ease.java | 28 public float getInterpolation(float input) { 29 return input; 36 public float getInterpolation(float input) { 37 return DOMAIN*(input/=DURATION)*input*input + START; 41 public float getInterpolation(float input) { 42 return DOMAIN*((input=input/DURATION-1)*input*input + 1) + START; 46 public float getInterpolation(float input) { 47 return ((input/=DURATION/2) < 1.0f) ? 48 (DOMAIN/2*input*input*input + START) 49 : (DOMAIN/2*((input-=2)*input*input + 2) + START); [all …]
|
/frameworks/compile/mclinker/lib/MC/ |
D | MCLDDriver.cpp | 124 InputTree::iterator input, inEnd = m_LDInfo.inputs().end(); in normalize() local 125 for (input = m_LDInfo.inputs().begin(); input!=inEnd; ++input) { in normalize() 128 if ((*input)->type() == Input::Script || in normalize() 129 (*input)->type() == Input::Object || in normalize() 130 (*input)->type() == Input::DynObj || in normalize() 131 (*input)->type() == Input::Archive || in normalize() 132 (*input)->type() == Input::External) in normalize() 136 if (m_LDBackend.getObjectReader()->isMyFormat(**input)) { in normalize() 137 (*input)->setType(Input::Object); in normalize() 138 m_LDBackend.getObjectReader()->readObject(**input); in normalize() [all …]
|
/frameworks/base/core/java/android/util/ |
D | Base64.java | 88 public abstract boolean process(byte[] input, int offset, int len, boolean finish); in process() argument 135 public static byte[] decode(byte[] input, int flags) { in decode() argument 136 return decode(input, 0, input.length, flags); in decode() 155 public static byte[] decode(byte[] input, int offset, int len, int flags) { in decode() argument 160 if (!decoder.process(input, offset, len, true)) { in decode() 263 public boolean process(byte[] input, int offset, int len, boolean finish) { in process() argument 297 (value = ((alphabet[input[p] & 0xff] << 18) | in process() 298 (alphabet[input[p+1] & 0xff] << 12) | in process() 299 (alphabet[input[p+2] & 0xff] << 6) | in process() 300 (alphabet[input[p+3] & 0xff]))) >= 0) { in process() [all …]
|
/frameworks/native/libs/gui/ |
D | LayerState.cpp | 39 status_t layer_state_t::read(const Parcel& input) in read() argument 43 err = input.read(transparentRegion); in read() 49 input.read(this, size); in read() 58 status_t ComposerState::read(const Parcel& input) { in read() argument 59 client = interface_cast<ISurfaceComposerClient>(input.readStrongBinder()); in read() 60 return state.read(input); in read() 75 status_t DisplayState::read(const Parcel& input) { in read() argument 76 token = input.readStrongBinder(); in read() 77 surface = interface_cast<ISurfaceTexture>(input.readStrongBinder()); in read() 78 what = input.readInt32(); in read() [all …]
|
/frameworks/compile/mclinker/lib/CodeGen/ |
D | SectLinker.cpp | 103 InputTree::const_dfs_iterator input, inEnd = info.inputs().dfs_end(); in doFinalization() local 104 for (input=info.inputs().dfs_begin(); input!=inEnd; ++input) { in doFinalization() 105 mcld::outs() << counter++ << " * " << (*input)->name(); in doFinalization() 106 switch((*input)->type()) { in doFinalization() 123 unreachable(diag::err_cannot_trace_file) << (*input)->type() in doFinalization() 124 << (*input)->name() in doFinalization() 125 << (*input)->path(); in doFinalization() 127 mcld::outs() << (*input)->path() << ")\n"; in doFinalization() 201 InputTree::dfs_iterator input, inEnd = pLDInfo.inputs().dfs_end(); in initializeInputOutput() local 202 for (input = pLDInfo.inputs().dfs_begin(); input!=inEnd; ++input) { in initializeInputOutput() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | Abs_32.c | 33 LVM_INT32 Abs_32(LVM_INT32 input) in Abs_32() argument 35 if(input < 0) in Abs_32() 37 if (input == (LVM_INT32)(0x80000000U)) in Abs_32() 40 input=(LVM_INT32) 0x7fffffff; in Abs_32() 45 input = (LVM_INT32)(-input); in Abs_32() 48 return input; in Abs_32()
|
/frameworks/compile/libbcc/tools/abcc/ |
D | Main.cpp | 61 const char *&input, const char *&output, in ParseArguments() argument 116 input = argv[arg_idx]; in ParseArguments() 138 static int ProcessFromFd(const char *input, const char *output, in ProcessFromFd() argument 147 if (!GetIntArg(input, input_fd)) { in ProcessFromFd() 148 ALOGE("Bad input fd '%s'", input); in ProcessFromFd() 159 static int ProcessFromFile(const char *input, const char *output, in ProcessFromFile() argument 173 input_fd = ::open(input, O_RDONLY); in ProcessFromFile() 176 ALOGE("Failed to open %s for input! (%s)", input, strerror(errno)); in ProcessFromFile() 195 const char *input, *output, *triple = NULL, *sysroot = NULL; in main() local 203 if (ParseArguments(argc, argv, mode, input, output, triple, sysroot)) { in main() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | fastcodemb.cpp | 74 VideoEncFrameIO *inputFrame = video->input; in CodeMB_H263() 79 UChar *rec, *input, *pred; in CodeMB_H263() local 130 input = inputFrame->yChan + offset; in CodeMB_H263() 131 if (lx != width) input -= (ind_y << 9); /* non-padded offset */ in CodeMB_H263() 147 input += 8; in CodeMB_H263() 152 input += dctMode; in CodeMB_H263() 162 input = inputFrame->uChan + offsetc; in CodeMB_H263() 163 if (lx != width) input -= (ind_y << 7); in CodeMB_H263() 168 sad = getBlockSum(input, width); in CodeMB_H263() 178 sad = Sad8x8(input, pred, width); in CodeMB_H263() [all …]
|
/frameworks/compile/libbcc/runtime/lib/ |
D | ashrdi3.c | 25 dwords input; in __ashrdi3() local 27 input.all = a; in __ashrdi3() 31 result.s.high = input.s.high >> (bits_in_word - 1); in __ashrdi3() 32 result.s.low = input.s.high >> (b - bits_in_word); in __ashrdi3() 38 result.s.high = input.s.high >> b; in __ashrdi3() 39 result.s.low = (input.s.high << (bits_in_word - b)) | (input.s.low >> b); in __ashrdi3()
|
D | ashrti3.c | 27 twords input; in __ashrti3() local 29 input.all = a; in __ashrti3() 33 result.s.high = input.s.high >> (bits_in_dword - 1); in __ashrti3() 34 result.s.low = input.s.high >> (b - bits_in_dword); in __ashrti3() 40 result.s.high = input.s.high >> b; in __ashrti3() 41 result.s.low = (input.s.high << (bits_in_dword - b)) | (input.s.low >> b); in __ashrti3()
|
D | lshrdi3.c | 25 udwords input; in __lshrdi3() local 27 input.all = a; in __lshrdi3() 31 result.s.low = input.s.high >> (b - bits_in_word); in __lshrdi3() 37 result.s.high = input.s.high >> b; in __lshrdi3() 38 result.s.low = (input.s.high << (bits_in_word - b)) | (input.s.low >> b); in __lshrdi3()
|
D | ashldi3.c | 25 dwords input; in __ashldi3() local 27 input.all = a; in __ashldi3() 31 result.s.high = input.s.low << (b - bits_in_word); in __ashldi3() 37 result.s.low = input.s.low << b; in __ashldi3() 38 result.s.high = (input.s.high << b) | (input.s.low >> (bits_in_word - b)); in __ashldi3()
|
D | ashlti3.c | 27 twords input; in __ashlti3() local 29 input.all = a; in __ashlti3() 33 result.s.high = input.s.low << (b - bits_in_dword); in __ashlti3() 39 result.s.low = input.s.low << b; in __ashlti3() 40 result.s.high = (input.s.high << b) | (input.s.low >> (bits_in_dword - b)); in __ashlti3()
|
D | lshrti3.c | 27 utwords input; in __lshrti3() local 29 input.all = a; in __lshrti3() 33 result.s.low = input.s.high >> (b - bits_in_dword); in __lshrti3() 39 result.s.high = input.s.high >> b; in __lshrti3() 40 result.s.low = (input.s.high << (bits_in_dword - b)) | (input.s.low >> b); in __lshrti3()
|
/frameworks/base/core/java/android/content/pm/ |
D | VerifierDeviceIdentity.java | 103 private static final String encodeBase32(long input) { in encodeBase32() argument 127 final int group = (int) (input & 0x1F); in encodeBase32() 128 input >>>= 5; in encodeBase32() 137 private static final long decodeBase32(byte[] input) throws IllegalArgumentException { in decodeBase32() argument 141 final int N = input.length; in decodeBase32() 143 final int group = input[i]; in decodeBase32() 210 final byte[] input; in parse() 212 input = deviceIdentity.getBytes("US-ASCII"); in parse() 217 return new VerifierDeviceIdentity(decodeBase32(input)); in parse()
|
/frameworks/base/docs/html/training/keyboard-input/ |
D | visibility.jd | 21 <p>When input focus moves into or out of an editable text field, Android shows 22 or hides the input method (such as the on-screen keyboard) as appropriate. 24 how your UI and the text field appear above the input method. For example, when the vertical 25 space on the screen is constrained, the text field might fill all space above the input method. 29 the visibility of the input method and specify how you'd like your layout to appear 30 when the input method is visible. This lesson explains how to control and respond to 31 the input method visibility.</p> 37 when the activity starts, it does not show the input method. This behavior is appropriate because 40 the input method to appear by default.</p> 42 <p>To show the input method when your activity starts, add the <a [all …]
|
/frameworks/compile/mclinker/unittests/Linker/ |
D | TestLinker.cpp | 143 mcld::Input* input = m_pInfo->inputFactory().produce(pPath, pPath, in addObject() local 146 m_pInfo->inputs().insert<mcld::InputTree::Positional>(m_Root, *input); in addObject() 159 input->setMemArea(input_memory); in addObject() 163 input->setContext(context); in addObject() 168 mcld::Input* input = m_pInfo->inputFactory().produce("memory object", "NAN", in addObject() local 171 m_pInfo->inputs().insert<mcld::InputTree::Positional>(m_Root, *input); in addObject() 177 input->setMemArea(input_memory); in addObject() 181 input->setContext(context); in addObject() 186 mcld::Input* input = m_pInfo->inputFactory().produce("handler object", "NAN", in addObject() local 189 m_pInfo->inputs().insert<mcld::InputTree::Positional>(m_Root, *input); in addObject() [all …]
|
/frameworks/av/libvideoeditor/vss/src/ |
D | M4VD_Tools.c | 63 M4OSA_UInt32 input = bitsToWrite; in M4VD_Tools_WriteBitsToMemory() local 64 input = (input << (32 - nb_bits - offset)); in M4VD_Tools_WriteBitsToMemory() 87 temp = ((input & (0x80000000 >> offset)) >> (31-offset)); in M4VD_Tools_WriteBitsToMemory() 90 input = (input << 1); in M4VD_Tools_WriteBitsToMemory()
|
/frameworks/av/libvideoeditor/lvpp/ |
D | NativeWindowRenderer.cpp | 317 void NativeWindowRenderer::render(RenderInput* input) { in render() argument 318 sp<SurfaceTexture> ST = input->mST; in render() 319 sp<SurfaceTextureClient> STC = input->mSTC; in render() 321 if (input->mIsExternalBuffer) { in render() 322 queueExternalBuffer(STC.get(), input->mBuffer, in render() 323 input->mWidth, input->mHeight); in render() 325 queueInternalBuffer(STC.get(), input->mBuffer); in render() 332 calculatePositionCoordinates(input->mRenderingMode, in render() 333 input->mWidth, input->mHeight); in render() 342 updateProgramAndHandle(input->mVideoEffect); in render() [all …]
|
/frameworks/compile/mclinker/tools/mcld/lib/Core/ |
D | Linker.cpp | 190 mcld::Input* input = mLDInfo->inputFactory().produce(pNameSpec, *path, in addNameSpec() local 192 mLDInfo->inputs().insert<mcld::InputTree::Positional>(*mRoot, *input); in addNameSpec() 196 return openFile(*path, kOpenNameSpec, *input); in addNameSpec() 201 mcld::Input* input = mLDInfo->inputFactory().produce(pObjectPath, in addObject() local 205 mLDInfo->inputs().insert<mcld::InputTree::Positional>(*mRoot, *input); in addObject() 209 return openFile(pObjectPath, kOpenObjectFile, *input); in addObject() 215 mcld::Input* input = mLDInfo->inputFactory().produce("memory object", in addObject() local 219 mLDInfo->inputs().insert<mcld::InputTree::Positional>(*mRoot, *input); in addObject() 224 input->setMemArea(input_memory); in addObject() 227 input->setContext(input_context); in addObject() [all …]
|
/frameworks/compile/libbcc/lib/Core/ |
D | Linker.cpp | 197 mcld::Input* input = mLDInfo->inputFactory().produce(pNameSpec, *path, in addNameSpec() local 199 mLDInfo->inputs().insert<mcld::InputTree::Positional>(*mRoot, *input); in addNameSpec() 203 return openFile(*path, kOpenNameSpec, *input); in addNameSpec() 208 mcld::Input* input = mLDInfo->inputFactory().produce(pObjectPath, in addObject() local 212 mLDInfo->inputs().insert<mcld::InputTree::Positional>(*mRoot, *input); in addObject() 216 return openFile(pObjectPath, kOpenObjectFile, *input); in addObject() 222 mcld::Input* input = mLDInfo->inputFactory().produce("memory object", in addObject() local 226 mLDInfo->inputs().insert<mcld::InputTree::Positional>(*mRoot, *input); in addObject() 231 input->setMemArea(input_memory); in addObject() 234 input->setContext(input_context); in addObject() [all …]
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | ResizeFilter.java | 91 Frame input = pullInput("image"); in process() local 92 createProgram(env, input.getFormat()); in process() 95 MutableFrameFormat outputFormat = input.getFormat().mutableCopy(); in process() 97 FrameFormat inputFormat = input.getFormat(); in process() 105 GLFrame mipmapped = (GLFrame)env.getFrameManager().newFrame(input.getFormat()); in process() 108 mipmapped.setDataFromFrame(input); in process() 113 mProgram.process(input, output); in process()
|
/frameworks/base/cmds/input/ |
D | Android.mk | 7 LOCAL_MODULE := input 11 ALL_PREBUILT += $(TARGET_OUT)/bin/input 12 $(TARGET_OUT)/bin/input : $(LOCAL_PATH)/input | $(ACP)
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
D | gltrace.pb.cpp | 1122 ::google::protobuf::io::CodedInputStream* input) { in MergePartialFromCodedStream() argument 1125 while ((tag = input->ReadTag()) != 0) { in MergePartialFromCodedStream() 1134 input, &value))); in MergePartialFromCodedStream() 1141 if (input->ExpectTag(16)) goto parse_isArray; in MergePartialFromCodedStream() 1152 input, &isarray_))); in MergePartialFromCodedStream() 1157 if (input->ExpectTag(24)) goto parse_intValue; in MergePartialFromCodedStream() 1168 1, 24, input, this->mutable_intvalue()))); in MergePartialFromCodedStream() 1174 input, this->mutable_intvalue()))); in MergePartialFromCodedStream() 1178 if (input->ExpectTag(24)) goto parse_intValue; in MergePartialFromCodedStream() 1179 if (input->ExpectTag(37)) goto parse_floatValue; in MergePartialFromCodedStream() [all …]
|
/frameworks/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 287 static String decodeGSMPackedString(byte[] input) in decodeGSMPackedString() argument 290 int lengthBytes = input.length; in decodeGSMPackedString() 300 if ((input[lengthBytes - 1] >> 1) == PADDING_CHAR) { in decodeGSMPackedString() 306 decoded = GsmAlphabet.gsm7BitPackedToString(input, 0, lengthSeptets); in decodeGSMPackedString() 317 static String decodeUTF8String(byte[] input) in decodeUTF8String() argument 321 decoded = new String(input, "UTF-8"); in decodeUTF8String() 330 static String decodeUCS2String(byte[] input) in decodeUCS2String() argument 334 decoded = new String(input, "UTF-16"); in decodeUCS2String() 358 byte[] input = stringToByteArray(original, isHex); in decodeString() 366 decoded = decodeGSMPackedString(input); in decodeString() [all …]
|