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

1234

/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/libs/hwui/
H A DExtensions.h54 const char* current = buffer; local
55 const char* head = current;
58 head = strchr(current, ' ');
59 String8 s(current, head ? head - current : strlen(current));
64 current = head + 1;
/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/core/tests/overlaytests/OverlayTestOverlay/
H A DAndroid.mk8 LOCAL_SDK_VERSION := current
/frameworks/base/tests/HugeBackup/
H A DAndroid.mk11 LOCAL_SDK_VERSION := current
/frameworks/base/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/base/media/tests/MediaDump/
H A DAndroid.mk11 LOCAL_SDK_VERSION := current
/frameworks/base/opengl/tests/gl2_cameraeye/
H A DAndroid.mk11 LOCAL_SDK_VERSION := current
/frameworks/base/core/java/android/speech/tts/
H A DAudioPlaybackHandler.java66 * Stops all synthesis for a given {@code token}. If the current token
83 AudioTrack current = ((SynthesisMessageParams) token).getAudioTrack();
84 if (current != null) {
85 // Stop the current audio track if it's still playing.
86 // The audio track is thread safe in this regard. The current
89 current.stop();
117 final MessageParams current = getCurrentParams();
118 if (current != null && TextUtils.equals(callingApp, current.getCallingApp())) {
119 stop(current);
[all...]
/frameworks/base/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 DPasswordEntryKeyboardHelper.java222 final Keyboard current = mKeyboardView.getKeyboard();
224 if (current == mQwertyKeyboard || current == mQwertyKeyboardShifted) {
226 } else if (current == mSymbolsKeyboard || current == mSymbolsKeyboardShifted) {
244 Keyboard current = mKeyboardView.getKeyboard();
246 final boolean isAlphaMode = current == mQwertyKeyboard
247 || current == mQwertyKeyboardShifted;
259 if (next != current) {
/frameworks/base/core/java/android/database/
H A DMatrixCursor.java62 * Gets value at the given column for the current row.
133 int current = start;
136 if (current == end) {
141 localData[current++] = columnValue;
144 if (current != end) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTicker.java60 int current; field in class:Ticker.Segment
82 if (this.current > this.text.length()) {
85 CharSequence substr = this.text.subSequence(this.current, this.text.length());
91 this.next = this.current + end;
94 throw new RuntimeException("lineCount=" + lineCount + " current=" + current +
125 this.current = index + start;
129 this.current = len;
142 this.current = index;
181 // (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/net/
H A DUri.java1503 * Constructs a Uri with the current attributes.
1798 int current = 0;
1799 while (current < oldLength) {
1803 int nextToEncode = current;
1811 if (current == 0) {
1816 encoded.append(s, current, oldLength);
1825 if (nextToEncode > current) {
1827 encoded.append(s, current, nextToEncode);
1829 // assert nextToEncode == current
1835 current
[all...]
/frameworks/base/core/java/android/text/method/
H A DMultiTapKeyListener.java113 char current = content.charAt(selStart);
115 if (Character.isLowerCase(current)) {
117 String.valueOf(current).toUpperCase());
123 if (Character.isUpperCase(current)) {
125 String.valueOf(current).toLowerCase());
H A DMetaKeyKeyListener.java42 * as spans in an {@link Editable} text buffer. The spans only describe the current
237 int current = content.getSpanFlags(what);
239 if (current == PRESSED)
241 else if (current == RELEASED)
257 int current = content.getSpanFlags(what);
259 if (current == LOCKED)
342 int current = content.getSpanFlags(what);
346 if (current == USED)
348 else if (current == PRESSED)
393 * @param state the current met
[all...]
/frameworks/base/core/java/android/util/
H A DTimeUtils.java56 TimeZone current = TimeZone.getDefault();
57 String currentName = current.getID();
58 int currentOffset = current.getOffset(when);
59 boolean currentDst = current.inDaylightTime(d);
78 // If the current time zone is from the right country
84 return current;
89 // country that has the correct current offset and DST.
91 // haven't encountered the current time zone yet.)
/frameworks/base/core/java/android/content/
H A DAbstractThreadedSyncAdapter.java191 for (SyncThread current : mSyncThreads.values()) {
192 if (current.mSyncContext.getSyncContextBinder() == syncContext.asBinder()) {
193 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/core/tests/hosttests/test-apps/AutoLocTestApp/
H A DAndroid.mk23 LOCAL_SDK_VERSION := current

Completed in 546 milliseconds

1234