Searched refs:current (Results 1 - 25 of 144) sorted by relevance

123456

/frameworks/base/sax/java/android/sax/
H A DChildren.java34 Child current = children[index];
35 if (current == null) {
37 current = new Child(parent, uri, localName, parent.depth + 1, hash);
38 children[index] = current;
39 return current;
44 if (current.hash == hash
45 && current.uri.compareTo(uri) == 0
46 && current.localName.compareTo(localName) == 0) {
48 return current;
51 previous = current;
[all...]
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/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 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/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/base/media/tests/CameraBrowser/
H A DAndroid.mk10 LOCAL_SDK_VERSION := current
/frameworks/base/media/tests/ScoAudioTest/
H A DAndroid.mk4 #LOCAL_SDK_VERSION := current
/frameworks/base/core/java/android/net/http/
H A DCharArrayBuffers.java71 char current = chars[i];
72 if (current == ch) {
74 } else if (current >= 'A' && current <= 'Z'){
76 current += uppercaseAddon;
77 chars[i] = current;
H A DAndroidHttpClientConnection.java306 CharArrayBuffer current = new CharArrayBuffer(64);
308 if (inbuffer.readLine(current) == -1) {
314 current, new ParserCursor(0, current.length()));
323 if (current == null) {
324 current = new CharArrayBuffer(64);
327 current.clear();
329 int l = inbuffer.readLine(current);
330 if (l == -1 || current.length() < 1) {
337 char first = current
[all...]
/frameworks/base/services/java/com/android/server/
H A DNativeDaemonEvent.java193 int current = 0;
198 if (rawEvent.charAt(current) == '\"') {
200 current++;
202 while (current < length) {
205 wordEnd = current;
214 wordEnd = rawEvent.indexOf(' ', current);
218 String word = rawEvent.substring(current, wordEnd);
219 current += word.length();
223 current++; // skip the trailing quote
233 int nextSpace = rawEvent.indexOf(' ', 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 DPathTessellator.cpp194 const Vertex* current = &(perimeter[0]); local
195 vec2 lastNormal(current->position[1] - last->position[1],
196 last->position[0] - current->position[0]);
200 vec2 nextNormal(next->position[1] - current->position[1],
201 current->position[0] - next->position[0]);
208 current->position[0] + totalOffset.x,
209 current->position[1] + totalOffset.y);
212 current->position[0] - totalOffset.x,
213 current->position[1] - totalOffset.y);
215 last = current;
292 const Vertex* current = &(vertices[1]); local
339 const Vertex* current = &(perimeter[0]); local
578 const Vertex* current = &(vertices[1]); local
648 const Vertex* current = &(perimeter[0]); local
[all...]
/frameworks/base/core/tests/overlaytests/OverlayTestOverlay/
H A DAndroid.mk8 LOCAL_SDK_VERSION := current
/frameworks/native/libs/ui/tests/
H A DRegion_test.cpp34 for (const Rect* current = r.begin(); current < r.end(); current++) {
35 for (const Rect* other = current - 1; other >= r.begin(); other--) {
36 if (other->bottom < current->top) break;
37 if (other->bottom != current->top) continue;
38 checkVertTJunction(current, other);
40 for (const Rect* other = current + 1; other < r.end(); other++) {
41 if (other->top > current->bottom) break;
42 if (other->top != current
[all...]
/frameworks/uiautomator/
H A DAndroid.mk27 LOCAL_SDK_VERSION := current
49 LOCAL_SDK_VERSION := current
69 $(filter-out current, \
97 ub-uiautomator-checkapi-current, \
98 $(uiautomator_api_dir)/current.txt, \
108 @echo Copying uiautomator current.txt
109 $(hide) $(ACP) $< $(PRIVATE_API_DIR)/current.txt
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsTileView.java131 for (ViewParent current = getParent(); current instanceof View;
132 current = current.getParent()) {
133 View view = (View)current;
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfoCache.java235 AccessibilityNodeInfo current = mCacheImpl.get(rootNodeId);
236 if (current == null) {
240 SparseLongArray childNodeIds = current.getChildNodeIds();
279 AccessibilityNodeInfo current = fringe.poll();
281 if (!seen.add(current)) {
282 Log.e(LOG_TAG, "Duplicate node: " + current);
287 if (current.isAccessibilityFocused()) {
289 Log.e(LOG_TAG, "Duplicate accessibility focus:" + current);
291 accessFocus = current;
296 if (current
[all...]
/frameworks/base/tests/HugeBackup/
H A DAndroid.mk11 LOCAL_SDK_VERSION := current
/frameworks/base/core/java/android/speech/tts/
H A DAudioPlaybackHandler.java62 final PlaybackQueueItem current = mCurrentWorkItem;
63 if (current != null && (current.getCallerIdentity() == callerIdentity)) {
64 stop(current);
130 // returning and mCurrentWorkItem being set, the current work item
/frameworks/native/opengl/libagl/
H A Dvertex.cpp36 c->current.color.r = 0x10000;
37 c->current.color.g = 0x10000;
38 c->current.color.b = 0x10000;
39 c->current.color.a = 0x10000;
190 c->current.color.r = gglFloatToFixed(r);
191 c->currentColorClamped.r = gglClampx(c->current.color.r);
192 c->current.color.g = gglFloatToFixed(g);
193 c->currentColorClamped.g = gglClampx(c->current.color.g);
194 c->current.color.b = gglFloatToFixed(b);
195 c->currentColorClamped.b = gglClampx(c->current
[all...]
/frameworks/testing/uiautomator/instrumentation/
H A DAndroid.mk27 LOCAL_SDK_VERSION := current
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityInputFilter.java253 MotionEventHolder current = mEventQueue;
254 while (current.next != null) {
255 current = current.next;
258 if (current == null) {
262 if (current.event.getEventTimeNano() >= frameNanos) {
264 current.next = null;
267 handleMotionEvent(current.event, current.policyFlags);
268 MotionEventHolder prior = current;
[all...]
/frameworks/base/media/tests/MediaDump/
H A DAndroid.mk11 LOCAL_SDK_VERSION := current
/frameworks/native/opengl/tests/gl2_cameraeye/
H A DAndroid.mk11 LOCAL_SDK_VERSION := current
/frameworks/testing/uiautomator/library/
H A 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

Completed in 688 milliseconds

123456