Home
last modified time | relevance | path

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

12345678910>>...14

/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.cpp55 Category* current = m_pFile; in ~SymbolCategory() local
56 while (NULL != current) { in ~SymbolCategory()
57 Category* tmp = current; in ~SymbolCategory()
58 current = current->next; in ~SymbolCategory()
70 Category* current = m_pGlobal; in add() local
73 while (NULL != current) { in add()
74 if (current->type == target) { in add()
75 current->end++; in add()
79 if (!current->empty()) { in add()
80 std::swap(m_OutputSymbols[current->begin], in add()
[all …]
/frameworks/base/libs/hwui/
DPathRenderer.cpp124 const Vertex* current = &(perimeter[0]); in getStrokeVerticesFromPerimeter() local
125 vec2 lastNormal(current->position[1] - last->position[1], in getStrokeVerticesFromPerimeter()
126 last->position[0] - current->position[0]); in getStrokeVerticesFromPerimeter()
130 vec2 nextNormal(next->position[1] - current->position[1], in getStrokeVerticesFromPerimeter()
131 current->position[0] - next->position[0]); in getStrokeVerticesFromPerimeter()
138 current->position[0] + totalOffset.x, in getStrokeVerticesFromPerimeter()
139 current->position[1] + totalOffset.y); in getStrokeVerticesFromPerimeter()
142 current->position[0] - totalOffset.x, in getStrokeVerticesFromPerimeter()
143 current->position[1] - totalOffset.y); in getStrokeVerticesFromPerimeter()
145 last = current; in getStrokeVerticesFromPerimeter()
[all …]
DExtensions.h50 const char* current = buffer; in Extensions() local
51 const char* head = current; in Extensions()
54 head = strchr(current, ' '); in Extensions()
55 String8 s(current, head ? head - current : strlen(current)); in Extensions()
60 current = head + 1; in Extensions()
/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/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/core/java/android/view/accessibility/
DAccessibilityNodeInfoCache.java214 AccessibilityNodeInfo current = mCacheImpl.get(rootNodeId); in clearSubTreeLocked() local
215 if (current == null) { in clearSubTreeLocked()
219 SparseLongArray childNodeIds = current.getChildNodeIds(); in clearSubTreeLocked()
292 AccessibilityNodeInfo current = fringe.poll(); in checkIntegrity() local
294 if (!seen.add(current)) { in checkIntegrity()
295 Log.e(LOG_TAG, "Duplicate node: " + current); in checkIntegrity()
300 if (current.isAccessibilityFocused()) { in checkIntegrity()
302 Log.e(LOG_TAG, "Duplicate accessibility focus:" + current); in checkIntegrity()
304 accessFocus = current; in checkIntegrity()
309 if (current.isFocused()) { in checkIntegrity()
[all …]
/frameworks/base/core/java/android/net/http/
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 …]
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()
/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);
DColladaParser.java230 CompoundTransform current = new CompoundTransform(); in getNode() local
231 current.setName(name); in getNode()
233 parent.appendChild(current); in getNode()
235 mScene.appendTransform(current); in getNode()
238 mScene.addToTransformMap(current); in getNode()
251 current.addTranslate(description, value); in getNode()
257 current.addRotate(description, axis, value.w); in getNode()
261 current.addScale(description, value); in getNode()
263 getRenderable(field, current); in getNode()
265 updateLight(field, current); in getNode()
[all …]
/frameworks/av/services/audioflinger/
DFastMixer.cpp45 const FastMixerState *previous = &initial, *current = &initial; in threadLoop() local
107 ALOG_ASSERT(current == &initial && previous == &initial); in threadLoop()
108 next = current; in threadLoop()
112 if (next != current) { in threadLoop()
127 if (!(current->mCommand & FastMixerState::IDLE)) { in threadLoop()
129 preIdle = *current; in threadLoop()
130 current = &preIdle; in threadLoop()
135 previous = current; in threadLoop()
137 current = next; in threadLoop()
153 if (current->mColdGen != coldGen) { in threadLoop()
[all …]
/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/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()
/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()
DTextToSpeechService.java279 SpeechItem current = mCurrentSpeechItem; in maybeRemoveCurrentSpeechItem() local
281 return current; in maybeRemoveCurrentSpeechItem()
295 SpeechItem current = setCurrentSpeechItem(null); in quit() local
296 if (current != null) { in quit()
297 current.stop(); in quit()
361 SpeechItem current = maybeRemoveCurrentSpeechItem(callerIdentity); in stopForApp() local
362 if (current != null) { in stopForApp()
363 current.stop(); in stopForApp()
374 SpeechItem current = setCurrentSpeechItem(null); in stopAll() local
375 if (current != null) { in stopAll()
[all …]
/frameworks/testing/uiautomator/library/
DAndroid.mk71 $(filter-out current, \
99 uiautomator-checkapi-current, \
100 $(uiautomator_api_dir)/current.txt, \
110 @echo Copying uiautomator current.txt
111 $(hide) $(ACP) $< $(PRIVATE_API_DIR)/current.txt
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTicker.java70 int current; field in Ticker.Segment
92 if (this.current > this.text.length()) { in getText()
95 CharSequence substr = this.text.subSequence(this.current, this.text.length()); in getText()
101 this.next = this.current + end; in getText()
104 throw new RuntimeException("lineCount=" + lineCount + " current=" + current + in getText()
135 this.current = index + start; in advance()
139 this.current = len; in advance()
152 this.current = index; in Segment()
/frameworks/base/core/java/com/android/internal/database/
DSortCursor.java77 String current = mCursors[j].getString(mSortColumns[j]); in SortCursor() local
78 if (mCursor == null || current.compareToIgnoreCase(smallest) < 0) { in SortCursor()
79 smallest = current; in SortCursor()
161 String current = mCursors[j].getString(mSortColumns[j]); in onMove() local
162 if (smallestIdx < 0 || current.compareToIgnoreCase(smallest) < 0) { in onMove()
163 smallest = current; in onMove()
/frameworks/base/core/java/android/text/method/
DMetaKeyKeyListener.java237 int current = content.getSpanFlags(what); in adjust() local
239 if (current == PRESSED) in adjust()
241 else if (current == RELEASED) in adjust()
257 int current = content.getSpanFlags(what); in resetLock() local
259 if (current == LOCKED) in resetLock()
342 int current = content.getSpanFlags(what); in release() local
346 if (current == USED) in release()
348 else if (current == PRESSED) in release()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
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/arm11/vc/m4p2/src/
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/java/android/database/
DMatrixCursor.java133 int current = start; in addRow() local
136 if (current == end) { in addRow()
141 localData[current++] = columnValue; in addRow()
144 if (current != end) { in addRow()

12345678910>>...14