Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 390) sorted by relevance

12345678910>>...16

/frameworks/base/sax/java/android/sax/
DChildren.java34 Child current = children[index]; in getOrCreate() local
35 if (current == null) { in getOrCreate()
37 current = new Child(parent, uri, localName, parent.depth + 1, hash); in getOrCreate()
38 children[index] = current; in getOrCreate()
39 return current; in getOrCreate()
44 if (current.hash == hash in getOrCreate()
45 && current.uri.compareTo(uri) == 0 in getOrCreate()
46 && current.localName.compareTo(localName) == 0) { in getOrCreate()
48 return current; in getOrCreate()
51 previous = current; in getOrCreate()
[all …]
DRootElement.java101 Element current = null; field in RootElement.Handler
123 + " within text element named " + current + ".", in startElement()
128 if (depth == current.depth + 1) { in startElement()
130 Children children = current.children; in startElement()
155 this.current = e; in start()
180 Element current = this.current; in endElement() local
183 if (depth == current.depth) { in endElement()
184 current.checkRequiredChildren(locator); in endElement()
187 if (current.endElementListener != null) { in endElement()
188 current.endElementListener.end(); in endElement()
[all …]
/frameworks/compile/mclinker/lib/MC/
DSymbolCategory.cpp60 Category* current = m_pFile; in ~SymbolCategory() local
61 while (NULL != current) { in ~SymbolCategory()
62 Category* tmp = current; in ~SymbolCategory()
63 current = current->next; in ~SymbolCategory()
70 Category* current = m_pRegular; in add() local
74 while (NULL != current) { in add()
75 if (current->type == pTarget) { in add()
76 current->end++; in add()
80 if (!current->empty()) { in add()
81 std::swap(m_OutputSymbols[current->begin], in add()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DTransformUtils.java41 public static FrameImage2D makeMipMappedFrame(FrameImage2D current, int[] dimensions) { in makeMipMappedFrame() argument
45 if (current == null) { in makeMipMappedFrame()
48 current = Frame.create(imageType, pow2Dims).asFrameImage2D(); in makeMipMappedFrame()
49 } else if (!Arrays.equals(dimensions, current.getDimensions())) { in makeMipMappedFrame()
50 current.resize(pow2Dims); in makeMipMappedFrame()
52 return current; in makeMipMappedFrame()
55 public static FrameImage2D makeTempFrame(FrameImage2D current, int[] dimensions) { in makeTempFrame() argument
56 if (current == null) { in makeTempFrame()
59 current = Frame.create(imageType, dimensions).asFrameImage2D(); in makeTempFrame()
60 } else if (!Arrays.equals(dimensions, current.getDimensions())) { in makeTempFrame()
[all …]
DFilter.java41 public int current = STATE_UNPREPARED; field in Filter.State
44 return current == state; in check()
443 if (mState.current == State.STATE_OPEN) { in performPreparation()
592 if (mState.current == State.STATE_UNPREPARED) { in execute()
594 mState.current = State.STATE_PREPARED; in execute()
596 if (mState.current == State.STATE_PREPARED) { in execute()
599 mState.current = State.STATE_OPEN; in execute()
601 if (mState.current == State.STATE_OPEN) { in execute()
614 if (mState.current == State.STATE_OPEN) { in performClose()
617 mState.current = State.STATE_CLOSED; in performClose()
[all …]
DMffContext.java86 public int current = STATE_RUNNING; field in MffContext.State
167 if (mState.current == State.STATE_RUNNING) { in onPause()
172 mState.current = State.STATE_PAUSED; in onPause()
184 if (mState.current == State.STATE_PAUSED) { in onResume()
187 mState.current = State.STATE_RUNNING; in onResume()
198 if (mState.current != State.STATE_DESTROYED) { in release()
209 mState.current = State.STATE_DESTROYED; in release()
/frameworks/base/services/java/com/android/server/
DNativeDaemonEvent.java193 int current = 0; in unescapeArgs() local
198 if (rawEvent.charAt(current) == '\"') { in unescapeArgs()
200 current++; in unescapeArgs()
202 while (current < length) { in unescapeArgs()
205 wordEnd = current; in unescapeArgs()
214 wordEnd = rawEvent.indexOf(' ', current); in unescapeArgs()
218 String word = rawEvent.substring(current, wordEnd); in unescapeArgs()
219 current += word.length(); in unescapeArgs()
223 current++; // skip the trailing quote in unescapeArgs()
233 int nextSpace = rawEvent.indexOf(' ', current); in unescapeArgs()
[all …]
/frameworks/base/libs/hwui/
DPathTessellator.cpp194 const Vertex* current = &(perimeter[0]); in getStrokeVerticesFromPerimeter() local
195 vec2 lastNormal(current->position[1] - last->position[1], in getStrokeVerticesFromPerimeter()
196 last->position[0] - current->position[0]); in getStrokeVerticesFromPerimeter()
200 vec2 nextNormal(next->position[1] - current->position[1], in getStrokeVerticesFromPerimeter()
201 current->position[0] - next->position[0]); in getStrokeVerticesFromPerimeter()
208 current->position[0] + totalOffset.x, in getStrokeVerticesFromPerimeter()
209 current->position[1] + totalOffset.y); in getStrokeVerticesFromPerimeter()
212 current->position[0] - totalOffset.x, in getStrokeVerticesFromPerimeter()
213 current->position[1] - totalOffset.y); in getStrokeVerticesFromPerimeter()
215 last = current; in getStrokeVerticesFromPerimeter()
[all …]
DExtensions.cpp114 const char* current = extensions; in findExtensions() local
115 const char* head = current; in findExtensions()
118 head = strchr(current, ' '); in findExtensions()
119 String8 s(current, head ? head - current : strlen(current)); in findExtensions()
124 current = head + 1; in findExtensions()
/frameworks/native/libs/ui/tests/
DRegion_test.cpp34 for (const Rect* current = r.begin(); current < r.end(); current++) { in verifyNoTJunctions() local
35 for (const Rect* other = current - 1; other >= r.begin(); other--) { in verifyNoTJunctions()
36 if (other->bottom < current->top) break; in verifyNoTJunctions()
37 if (other->bottom != current->top) continue; in verifyNoTJunctions()
38 checkVertTJunction(current, other); in verifyNoTJunctions()
40 for (const Rect* other = current + 1; other < r.end(); other++) { in verifyNoTJunctions()
41 if (other->top > current->bottom) break; in verifyNoTJunctions()
42 if (other->top != current->bottom) continue; in verifyNoTJunctions()
43 checkVertTJunction(current, other); in verifyNoTJunctions()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfoCache.java235 AccessibilityNodeInfo current = mCacheImpl.get(rootNodeId); in clearSubTreeRecursiveLocked() local
236 if (current == null) { in clearSubTreeRecursiveLocked()
240 SparseLongArray childNodeIds = current.getChildNodeIds(); in clearSubTreeRecursiveLocked()
279 AccessibilityNodeInfo current = fringe.poll(); in checkIntegrity() local
281 if (!seen.add(current)) { in checkIntegrity()
282 Log.e(LOG_TAG, "Duplicate node: " + current); in checkIntegrity()
287 if (current.isAccessibilityFocused()) { in checkIntegrity()
289 Log.e(LOG_TAG, "Duplicate accessibility focus:" + current); in checkIntegrity()
291 accessFocus = current; in checkIntegrity()
296 if (current.isFocused()) { in checkIntegrity()
[all …]
/frameworks/base/core/java/android/net/http/
DCharArrayBuffers.java71 char current = chars[i]; in setLowercaseIndexOf() local
72 if (current == ch) { in setLowercaseIndexOf()
74 } else if (current >= 'A' && current <= 'Z'){ in setLowercaseIndexOf()
76 current += uppercaseAddon; in setLowercaseIndexOf()
77 chars[i] = current; in setLowercaseIndexOf()
DAndroidHttpClientConnection.java306 CharArrayBuffer current = new CharArrayBuffer(64); in parseResponseHeader() local
308 if (inbuffer.readLine(current) == -1) { in parseResponseHeader()
314 current, new ParserCursor(0, current.length())); in parseResponseHeader()
323 if (current == null) { in parseResponseHeader()
324 current = new CharArrayBuffer(64); in parseResponseHeader()
327 current.clear(); in parseResponseHeader()
329 int l = inbuffer.readLine(current); in parseResponseHeader()
330 if (l == -1 || current.length() < 1) { in parseResponseHeader()
337 char first = current.charAt(0); in parseResponseHeader()
342 int length = current.length(); in parseResponseHeader()
[all …]
/frameworks/native/opengl/libagl/
Dvertex.cpp36 c->current.color.r = 0x10000; in ogles_init_vertex()
37 c->current.color.g = 0x10000; in ogles_init_vertex()
38 c->current.color.b = 0x10000; in ogles_init_vertex()
39 c->current.color.a = 0x10000; in ogles_init_vertex()
190 c->current.color.r = gglFloatToFixed(r); in glColor4f()
191 c->currentColorClamped.r = gglClampx(c->current.color.r); in glColor4f()
192 c->current.color.g = gglFloatToFixed(g); in glColor4f()
193 c->currentColorClamped.g = gglClampx(c->current.color.g); in glColor4f()
194 c->current.color.b = gglFloatToFixed(b); in glColor4f()
195 c->currentColorClamped.b = gglClampx(c->current.color.b); in glColor4f()
[all …]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
Drender.rs130 SgRenderable *current = (SgRenderable*)gFrontToBack[i];
131 draw(current);
135 SgRenderable *current = (SgRenderable*)gBackToFront[i];
136 draw(current);
161 SgRenderable *current = (SgRenderable*)rsGetElementAt(*drawAlloc, 0);
162 if (current->isVisible) {
163 sortToBucket(current);
230 SgRenderable *current = (SgRenderable*)gFrontToBack[i];
231 bool isPicked = intersect(current, pnt, vec);
233 current->cullType = CULL_ALWAYS;
[all …]
Dparams.rsh170 SgShaderParam *current = (SgShaderParam*)rsGetElementAt(allParams, i);
171 SgShaderParamData *currentData = (SgShaderParamData*)rsGetElementAt(current->data, 0);
173 debugParam(current, currentData);
175 updated = processParam(current, currentData, constantBuffer, camera, NULL) || updated;
186 SgShaderParam *current = (SgShaderParam*)rsGetElementAt(shader->shaderTextureParams, i);
187 SgShaderParamData *currentData = (SgShaderParamData*)rsGetElementAt(current->data, 0);
189 debugParam(current, currentData);
191 processParam(current, currentData, NULL, NULL, shader);
/frameworks/av/services/audioflinger/
DFastMixer.cpp56 const FastMixerState *previous = &initial, *current = &initial; in threadLoop() local
125 ALOG_ASSERT(current == &initial && previous == &initial); in threadLoop()
126 next = current; in threadLoop()
130 if (next != current) { in threadLoop()
149 if (!(current->mCommand & FastMixerState::IDLE)) { in threadLoop()
151 preIdle = *current; in threadLoop()
152 current = &preIdle; in threadLoop()
159 previous = current; in threadLoop()
161 current = next; in threadLoop()
177 if (current->mColdGen != coldGen) { in threadLoop()
[all …]
/frameworks/base/services/java/com/android/server/accessibility/
DAccessibilityInputFilter.java253 MotionEventHolder current = mEventQueue; in processBatchedEvents() local
254 while (current.next != null) { in processBatchedEvents()
255 current = current.next; in processBatchedEvents()
258 if (current == null) { in processBatchedEvents()
262 if (current.event.getEventTimeNano() >= frameNanos) { in processBatchedEvents()
264 current.next = null; in processBatchedEvents()
267 handleMotionEvent(current.event, current.policyFlags); in processBatchedEvents()
268 MotionEventHolder prior = current; in processBatchedEvents()
269 current = current.previous; in processBatchedEvents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DQuickSettingsTileView.java131 for (ViewParent current = getParent(); current instanceof View; in isParentVisible()
132 current = current.getParent()) { in isParentVisible()
133 View view = (View)current; in isParentVisible()
/frameworks/native/include/private/ui/
DRegionHelper.h75 RECT current; in operator() local
78 int inside = spanner.next(current.top, current.bottom); in operator()
82 int inside = spannerInner.next(current.left, current.right); in operator()
84 if (current.left < current.right && in operator()
85 current.top < current.bottom) { in operator()
86 rasterizer(current); in operator()
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackHandler.java62 final PlaybackQueueItem current = mCurrentWorkItem; in stopForApp() local
63 if (current != null && (current.getCallerIdentity() == callerIdentity)) { in stopForApp()
64 stop(current); in stopForApp()
/frameworks/base/core/java/com/android/internal/widget/
DPasswordEntryKeyboardHelper.java250 final Keyboard current = mKeyboardView.getKeyboard(); in handleModeChange() local
252 if (current == mQwertyKeyboard || current == mQwertyKeyboardShifted) { in handleModeChange()
254 } else if (current == mSymbolsKeyboard || current == mSymbolsKeyboardShifted) { in handleModeChange()
272 Keyboard current = mKeyboardView.getKeyboard(); in handleShift() local
274 final boolean isAlphaMode = current == mQwertyKeyboard in handleShift()
275 || current == mQwertyKeyboardShifted; in handleShift()
287 if (next != current) { in handleShift()
DAutoScrollHelper.java604 private float getEdgeValue(float relativeValue, float size, float maxValue, float current) { in getEdgeValue() argument
607 final float valueLeading = constrainEdgeValue(current, edgeSize); in getEdgeValue()
608 final float valueTrailing = constrainEdgeValue(size - current, edgeSize); in getEdgeValue()
622 private float constrainEdgeValue(float current, float leading) { in constrainEdgeValue() argument
630 if (current < leading) { in constrainEdgeValue()
631 if (current >= 0) { in constrainEdgeValue()
633 return 1f - current / leading; in constrainEdgeValue()
641 if (current < 0) { in constrainEdgeValue()
643 return current / -leading; in constrainEdgeValue()
/frameworks/testing/uiautomator/library/
DAndroid.mk72 $(filter-out current, \
100 uiautomator-checkapi-current, \
101 $(uiautomator_api_dir)/current.txt, \
111 @echo Copying uiautomator current.txt
112 $(hide) $(ACP) $< $(PRIVATE_API_DIR)/current.txt
/frameworks/support/v4/java/android/support/v4/widget/
DAutoScrollHelper.java605 private float getEdgeValue(float relativeValue, float size, float maxValue, float current) { in getEdgeValue() argument
608 final float valueLeading = constrainEdgeValue(current, edgeSize); in getEdgeValue()
609 final float valueTrailing = constrainEdgeValue(size - current, edgeSize); in getEdgeValue()
623 private float constrainEdgeValue(float current, float leading) { in constrainEdgeValue() argument
631 if (current < leading) { in constrainEdgeValue()
632 if (current >= 0) { in constrainEdgeValue()
634 return 1f - current / leading; in constrainEdgeValue()
642 if (current < 0) { in constrainEdgeValue()
644 return current / -leading; in constrainEdgeValue()

12345678910>>...16