Searched defs:current (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DTransformUtils.java41 public static FrameImage2D makeMipMappedFrame(FrameImage2D current, int[] dimensions) { argument
45 if (current == null) {
48 current = Frame.create(imageType, pow2Dims).asFrameImage2D();
49 } else if (!Arrays.equals(dimensions, current.getDimensions())) {
50 current.resize(pow2Dims);
52 return current;
55 public static FrameImage2D makeTempFrame(FrameImage2D current, int[] dimensions) { argument
56 if (current == null) {
59 current = Frame.create(imageType, dimensions).asFrameImage2D();
60 } else if (!Arrays.equals(dimensions, current
[all...]
H A DFrameManager.java263 public static FrameManager current() { method in class:FrameManager
264 GraphRunner runner = GraphRunner.current();
466 if (!mRunner.isRunning() || GraphRunner.current() != mRunner) {
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;
H A DFilter.java41 public int current = STATE_UNPREPARED; field in class:Filter.State
44 return current == state;
151 * Activates the current filter.
163 * Deactivates the current filter.
414 * Returns the current FrameManager instance.
415 * @return the current FrameManager instance or null if there is no FrameManager set up yet.
443 if (mState.current == State.STATE_OPEN) {
453 * Request that this filter be closed after the current processing step.
592 if (mState.current == State.STATE_UNPREPARED) {
594 mState.current
[all...]
/frameworks/base/libs/hwui/
H A DExtensions.cpp114 const char* current = extensions; local
115 const char* head = current;
118 head = strchr(current, ' ');
119 String8 s(current, head ? head - current : strlen(current));
124 current = head + 1;
H A DAnimationContext.cpp38 AnimationHandle* current = mCurrentFrameAnimations.mNextHandle; local
39 AnimatorManager& animators = current->mRenderNode->animators();
41 LOG_ALWAYS_FATAL_IF(mCurrentFrameAnimations.mNextHandle == current,
42 "endAllAnimators failed to remove from current frame list!");
71 AnimationHandle* current = mCurrentFrameAnimations.mNextHandle; local
72 AnimatorManager& animators = current->mRenderNode->animators();
75 LOG_ALWAYS_FATAL_IF(mCurrentFrameAnimations.mNextHandle == current,
76 "Animate failed to remove from current frame list!");
H A DVertexBuffer.h118 TYPE* current = (TYPE*)mBuffer; local
119 TYPE* end = current + vertexCount;
120 mBounds.set(current->x, current->y, current->x, current->y);
121 for (; current < end; current++) {
122 mBounds.expandToCoverVertex(current->x, current
[all...]
H A DAmbientShadow.cpp71 inline Vector2 getNormalFromVertices(const Vector3* vertices, int current, int next) { argument
73 Vector2 currentVertex = { vertices[current].x, vertices[current].y };
/frameworks/av/media/libstagefright/foundation/
H A DADebug.cpp37 const char *next = value, *current; local
40 current = next;
41 next = strchr(current, ',');
46 while (isspace(*current)) {
47 ++current;
50 char *colon = strchr(current, ':');
55 unsigned long level = strtoul(current, &end, 10);
59 if (errno != 0 || end == current || (end != colon && *end != '\0' && end != next)) {
/frameworks/base/sax/java/android/sax/
H A DRootElement.java101 Element current = null; field in class:RootElement.Handler
123 + " within text element named " + current + ".",
127 // If we're one level below the current element.
128 if (depth == current.depth + 1) {
130 Children children = current.children;
155 this.current = e;
180 Element current = this.current;
182 // If we've ended the current element...
183 if (depth == current
[all...]
/frameworks/av/services/audioflinger/
H A DFastCapture.cpp41 current = &initial;
66 preIdle = *(const FastCaptureState *)current;
67 current = &preIdle;
89 const FastCaptureState * const current = (const FastCaptureState *) this->current; local
92 const size_t frameCount = current->mFrameCount;
98 if (current->mInputSourceGen != inputSourceGen) {
99 inputSource = current->mInputSource;
100 inputSourceGen = current->mInputSourceGen;
115 if (current
157 const FastCaptureState * const current = (const FastCaptureState *) this->current; local
[all...]
H A DFastThread.h53 const FastThreadState *current; member in class:android::FastThread
71 ThreadCpuUsage tcu; // for reading the current CPU clock frequency in kHz
H A DFastMixer.cpp72 current = &initial;
113 preIdle = *(const FastMixerState *)current;
114 current = &preIdle;
138 const FastMixerState * const current = (const FastMixerState *) this->current; local
141 const size_t frameCount = current->mFrameCount;
149 if (current->mOutputSinkGen != outputSinkGen) {
150 outputSink = current->mOutputSink;
151 outputSinkGen = current->mOutputSinkGen;
213 fastTracksGen = current
323 const FastMixerState * const current = (const FastMixerState *) this->current; local
[all...]
/frameworks/base/core/java/android/view/
H A DAccessibilityIterators.java40 public int[] following(int current); argument
41 public int[] preceding(int current); argument
H A DAccessibilityInteractionController.java854 AccessibilityNodeInfo current = fringe.poll();
857 if (!seen.add(current)) {
859 + current + " in window:"
864 if (current.isAccessibilityFocused()) {
867 + current
870 accessFocus = current;
875 if (current.isFocused()) {
878 + current + " in window:"
881 inputFocus = current;
885 final int childCount = current
918 prefetchSiblingsOfRealNode(View current, List<AccessibilityNodeInfo> outInfos) argument
1044 prefetchSiblingsOfVirtualNode(AccessibilityNodeInfo current, View providerHost, AccessibilityNodeProvider provider, List<AccessibilityNodeInfo> outInfos) argument
[all...]
/frameworks/base/core/java/android/util/
H A DPathParser.java180 // current number, and endPosition is the character after the current
283 float[] current = new float[6];
286 addCommand(path, current, previousCommand, node[i].mType, node[i].mParams);
292 * The current PathDataNode will be interpolated between the
308 private static void addCommand(Path path, float[] current, argument
312 float currentX = current[0];
313 float currentY = current[1];
314 float ctrlPointX = current[2];
315 float ctrlPointY = 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/services/core/java/com/android/server/updates/
H A DConfigUpdateInstallReceiver.java90 Slog.i(TAG, "Not installing, new version is <= current version");
169 Slog.i(TAG, "Couldn't find current metadata, assuming first update");
188 Slog.i(TAG, "Failed to read current content, assuming first update!");
206 private boolean verifyVersion(int current, int alternative) { argument
207 return (current < alternative);
210 private boolean verifyPreviousHash(String current, String required) { argument
216 return current.equals(required);
/frameworks/compile/mclinker/lib/MC/
H A DSymbolCategory.cpp60 Category* current = m_pFile; local
61 while (NULL != current) {
62 Category* tmp = current;
63 current = current->next;
70 Category* current = m_pRegular; local
74 while (NULL != current) {
75 if (current->type == pTarget) {
76 current->end++;
80 if (!current
115 Category* current = m_pFile; local
[all...]
/frameworks/native/include/private/ui/
H A DRegionHelper.h75 RECT current; local
78 int inside = spanner.next(current.top, current.bottom);
82 int inside = spannerInner.next(current.left, current.right);
84 if (current.left < current.right &&
85 current.top < current.bottom) {
86 rasterizer(current);
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java82 public void addTrace(float x, float y, boolean current) { argument
101 mTraceCurrent[mTraceCount] = current;
364 // Draw current point.
369 // Draw current touch ellipse.
374 // Draw current tool ellipse.
414 // Draw the current bounding box
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
H A DLocalRenderer.java92 * The states where it is valid to get the current play position and the
207 // the current error. It should only be set while mErrorLock is held.
210 // A tracking id for the current error. This should only be modified while
213 // The current error state of this player. This is cleared when the state
615 private boolean preparePlayer(final MediaPlayer player, boolean current) { argument
622 if (current) {
626 if (current) {
690 Log.d(TAG, mDebugId + ": Cleaning up current player");
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java550 String getKeyId(WifiEnterpriseConfig current) { argument
554 // If either eap or phase2 are not initialized, use current config details
556 eap = current.mFields.get(EAP_KEY);
559 phase2 = current.mFields.get(PHASE2_KEY);
/frameworks/native/libs/ui/
H A DRegion.cpp96 const Rect* current = end - 1; local
97 int lastTop = current->top;
101 dst.add(*current);
102 current--;
103 } while (current->top == lastTop && current >= begin);
111 while (current >= begin) {
112 if (current->top != (current + 1)->top) {
114 if ((spanDirection == direction_RTL && current
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiAutoJoinController.java337 * compare a WifiConfiguration against the current network, return a delta score
351 // Return any absurdly high score, if we are not connected there is no current
362 + " with current " + currentNetwork.configKey());
677 // +) current network gets a +15 boost
685 // Boost used so as to favor current config
701 // Apply Hysteresis, boost RSSI of current configuration
759 // Apply Hysteresis : boost RSSI of current configuration before
985 WifiConfiguration current, int age, String currentBSSID) {
986 if (current == null) {
992 if (current
984 attemptRoam(ScanResult a, WifiConfiguration current, int age, String currentBSSID) argument
[all...]

Completed in 1362 milliseconds

12