Searched refs:current (Results 26 - 50 of 143) sorted by relevance

123456

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DMffContext.java86 public int current = STATE_RUNNING; field in class:MffContext.State
104 /** The current context state. */
167 if (mState.current == State.STATE_RUNNING) {
172 mState.current = State.STATE_PAUSED;
184 if (mState.current == State.STATE_PAUSED) {
187 mState.current = State.STATE_RUNNING;
198 if (mState.current != State.STATE_DESTROYED) {
209 mState.current = State.STATE_DESTROYED;
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboardHelper.java250 final Keyboard current = mKeyboardView.getKeyboard();
252 if (current == mQwertyKeyboard || current == mQwertyKeyboardShifted) {
254 } else if (current == mSymbolsKeyboard || current == mSymbolsKeyboardShifted) {
272 Keyboard current = mKeyboardView.getKeyboard();
274 final boolean isAlphaMode = current == mQwertyKeyboard
275 || current == mQwertyKeyboardShifted;
287 if (next != current) {
H A DAutoScrollHelper.java417 * to reach target velocity for the current touch position.
601 * @param current Touch position within within the total size.
604 private float getEdgeValue(float relativeValue, float size, float maxValue, float current) { argument
607 final float valueLeading = constrainEdgeValue(current, edgeSize);
608 final float valueTrailing = constrainEdgeValue(size - current, edgeSize);
622 private float constrainEdgeValue(float current, float leading) { argument
630 if (current < leading) {
631 if (current >= 0) {
633 return 1f - current / leading;
641 if (current <
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DAutoScrollHelper.java418 * to reach target velocity for the current touch position.
602 * @param current Touch position within within the total size.
605 private float getEdgeValue(float relativeValue, float size, float maxValue, float current) { argument
608 final float valueLeading = constrainEdgeValue(current, edgeSize);
609 final float valueTrailing = constrainEdgeValue(size - current, edgeSize);
623 private float constrainEdgeValue(float current, float leading) { argument
631 if (current < leading) {
632 if (current >= 0) {
634 return 1f - current / leading;
642 if (current <
[all...]
/frameworks/av/services/audioflinger/
H A DFastMixer.cpp56 const FastMixerState *previous = &initial, *current = &initial; local
90 ThreadCpuUsage tcu; // for reading the current CPU clock frequency in kHz
125 ALOG_ASSERT(current == &initial && previous == &initial);
126 next = current;
130 if (next != current) {
141 // However, the state queue only guarantees access to current and previous states.
145 // non-idle -> non-idle update previous from current in-place
146 // non-idle -> idle update previous from copy of current
149 if (!(current->mCommand & FastMixerState::IDLE)) {
151 preIdle = *current;
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTicker.java65 int current; field in class:Ticker.Segment
87 if (this.current > this.text.length()) {
90 CharSequence substr = this.text.subSequence(this.current, this.text.length());
96 this.next = this.current + end;
99 throw new RuntimeException("lineCount=" + lineCount + " current=" + current +
130 this.current = index + start;
134 this.current = len;
147 this.current = index;
186 // (which will let the current on
[all...]
/frameworks/base/core/java/com/android/internal/database/
H A DSortCursor.java77 String current = mCursors[j].getString(mSortColumns[j]);
78 if (mCursor == null || current.compareToIgnoreCase(smallest) < 0) {
79 smallest = current;
161 String current = mCursors[j].getString(mSortColumns[j]);
162 if (smallestIdx < 0 || current.compareToIgnoreCase(smallest) < 0) {
163 smallest = current;
/frameworks/base/core/java/android/text/method/
H A DMultiTapKeyListener.java117 char current = content.charAt(selStart);
119 if (Character.isLowerCase(current)) {
121 String.valueOf(current).toUpperCase());
127 if (Character.isUpperCase(current)) {
129 String.valueOf(current).toLowerCase());
H A DMetaKeyKeyListener.java42 * as spans in an {@link Editable} text buffer. The spans only describe the current
296 int current = content.getSpanFlags(what);
298 if (current == PRESSED)
300 else if (current == RELEASED)
316 int current = content.getSpanFlags(what);
318 if (current == LOCKED)
401 int current = content.getSpanFlags(what);
405 if (current == USED)
407 else if (current == PRESSED)
452 * @param state the current met
[all...]
/frameworks/base/services/java/com/android/server/updates/
H A DSELinuxPolicyInstallReceiver.java111 File current = new File(updateDir.getParentFile(), "current");
114 if (current.exists()) {
116 Libcore.os.rename(update.getPath(), current.getPath());
118 Libcore.os.symlink(updateDir.getPath(), current.getPath());
124 Libcore.os.rename(tmp.getPath(), current.getPath());
/frameworks/base/cmds/app_process/
H A Dapp_main.cpp156 int current = personality(0xFFFFFFFF); local
157 if ((current & ADDR_COMPAT_LAYOUT) == 0) {
158 personality(current | ADDR_COMPAT_LAYOUT);
/frameworks/base/core/java/android/content/
H A DAbstractThreadedSyncAdapter.java197 for (SyncThread current : mSyncThreads.values()) {
198 if (current.mSyncContext.getSyncContextBinder() == syncContext.asBinder()) {
199 info = current;
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DBandwidthTestUtil.java104 int current = 0;
105 while ((current = bis.read()) != -1) {
106 baf.append((byte) current);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DColladaParser.java230 CompoundTransform current = new CompoundTransform();
231 current.setName(name);
233 parent.appendChild(current);
235 mScene.appendTransform(current);
238 mScene.addToTransformMap(current);
251 current.addTranslate(description, value);
257 current.addRotate(description, axis, value.w);
261 current.addScale(description, value);
263 getRenderable(field, current);
265 updateLight(field, current);
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s24 ; * [in] ppBitStream pointer to the pointer to the current byte in
30 ; * macroblocks specially at the left side of the current macroblock
33 ; * macroblocks specially at the upper side of the current macroblock
36 ; * macroblocks specially at the upper-right side of the current macroblock
40 ; * [in] MBType the type of the current macroblock. If MBType
45 ; * so that it points to the current byte in the bit
48 ; * current bit position in the byte pointed by
50 ; * [out] pDstMVCurMB pointer to the motion vector buffer of the current
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s24 ; * [in] ppBitStream pointer to the pointer to the current byte in
30 ; * macroblocks specially at the left side of the current macroblock
33 ; * macroblocks specially at the upper side of the current macroblock
36 ; * macroblocks specially at the upper-right side of the current macroblock
40 ; * [in] MBType the type of the current macroblock. If MBType
45 ; * so that it points to the current byte in the bit
48 ; * current bit position in the byte pointed by
50 ; * [out] pDstMVCurMB pointer to the motion vector buffer of the current
/frameworks/base/core/tests/hosttests/test-apps/AutoLocTestApp/
H A DAndroid.mk23 LOCAL_SDK_VERSION := current
/frameworks/base/core/tests/hosttests/test-apps/AutoLocVersionedTestApp_v1/
H A DAndroid.mk23 LOCAL_SDK_VERSION := current
/frameworks/base/core/tests/hosttests/test-apps/AutoLocVersionedTestApp_v2/
H A DAndroid.mk23 LOCAL_SDK_VERSION := current
/frameworks/base/core/tests/hosttests/test-apps/ExternalLocAllPermsTestApp/
H A DAndroid.mk23 LOCAL_SDK_VERSION := current
/frameworks/base/core/tests/hosttests/test-apps/ExternalLocPermsFLTestApp/
H A DAndroid.mk23 LOCAL_SDK_VERSION := current
/frameworks/base/core/tests/hosttests/test-apps/ExternalLocTestApp/
H A DAndroid.mk23 LOCAL_SDK_VERSION := current
/frameworks/base/core/tests/hosttests/test-apps/ExternalLocVersionedTestApp_v1/
H A DAndroid.mk23 LOCAL_SDK_VERSION := current
/frameworks/base/core/tests/hosttests/test-apps/ExternalLocVersionedTestApp_v2/
H A DAndroid.mk23 LOCAL_SDK_VERSION := current
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/
H A DAndroid.mk23 LOCAL_SDK_VERSION := current

Completed in 1583 milliseconds

123456