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

/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;
H A DOpenGLRenderer.cpp294 sp<Snapshot> current = mSnapshot; local
300 mOrthoMatrix.load(current->orthoMatrix);
311 composeLayer(current, previous);
572 void OpenGLRenderer::composeLayer(sp<Snapshot> current, sp<Snapshot> previous) { argument
573 if (!current->layer) {
578 const bool fboLayer = current->flags & Snapshot::kFlagIsFboLayer;
581 // Unbind current FBO and restore previous one
585 Layer* layer = current->layer;
617 glBindFramebuffer(GL_FRAMEBUFFER, current->fbo);
622 mCaches.fboCache.put(current
[all...]
/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/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/media/libstagefright/codecs/aacdec/
H A Dsbr_update_freq_scale.cpp309 Int32 current; local
326 current = (tmp_q1 + 16) >> 5;
328 diff[i-1] = current - previous;
329 previous = current;
/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/policy/src/com/android/internal/policy/impl/
H A DKeyguardUpdateMonitor.java406 private static boolean isBatteryUpdateInteresting(BatteryStatus old, BatteryStatus current) { argument
407 final boolean nowPluggedIn = isPluggedIn(current);
411 && (old.status != current.status);
419 if (nowPluggedIn && old.level != current.level) {
424 if (!nowPluggedIn && isBatteryLow(current) && current.level != old.level) {
499 * @param state the current ringer state, as defined in
539 // Notify listener of the current state
560 // Notify listener of the current state
/frameworks/base/services/camera/libcameraservice/
H A DFakeCamera.cpp404 bool current = black; local
406 dst[y*mWidth+x] = current?0:0xffff;
409 current = !current;
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java58 * current value. Pressing/long pressing the up and down buttons increments and
59 * decrements the current value respectively. Touching the input filed shows a
61 * of the current value. Sliding motions up or down hide the buttons and the
94 * the current value by one, i.e. increment or decrement.
206 * The text for showing the current value.
266 * Listener to be notified upon current value change.
276 * Formatter for for displaying the current value.
314 * The current offset of the scroll selector.
344 * Handle to the reusable command for changing the current value from long
435 * The current scrol
1445 changeCurrent(int current) argument
1775 notifyChange(int previous, int current) argument
[all...]
/frameworks/base/opengl/libagl/
H A Degl.cpp1148 ogles_context_t* current = (ogles_context_t*)getGlThreadSpecific(); local
1152 if (current != gl) {
1153 // it is an error to set a context current, if it's already
1154 // current to another thread
1158 if (current) {
1159 // mark the current context as not current, and flush
1161 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT;
1165 // The context is not current, make it current!
[all...]
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsService.java344 * reschedule based on current {@link NetworkStatsSettings#getPollInterval()}.
729 * Inspect all current {@link NetworkState} to derive mapping from {@code
807 * Periodic poll operation, reading current statistics and recording into
1062 // clear UID from current stats snapshot
1547 NetworkStats before, NetworkStats current, boolean collectStale, String type) {
1550 return current.subtract(before, false);
1564 return current.subtract(before, true);
1572 return current;
1581 * Return snapshot of current tethering statistics. Will return empty
1546 computeStatsDelta( NetworkStats before, NetworkStats current, boolean collectStale, String type) argument
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp1921 sp<AaptAssets> current = this; local
1985 current->setOverlay(nextOverlay);
1986 current = nextOverlay;
1987 current->setFullResPaths(mFullResPaths);
1989 count = current->slurpResourceTree(bundle, String8(res));
2137 // for the current type. This ensures that we only add the dir once
H A DResource.cpp98 // Try to get next file in this current group.
888 sp<AaptAssets> current = assets->getOverlay(); local
889 while(current.get()) {
892 current->setResources(resources);
893 collect_files(current, resources);
894 current = current->getOverlay();
983 current = assets;
984 while(current.get()) {
986 current
[all...]
/frameworks/base/include/private/opengles/
H A Dgl_context.h490 matrix_stack_t *current; member in struct:android::gl::transform_state_t
615 vertex_t current; member in struct:android::gl::ogles_context_t
/frameworks/base/media/java/android/media/
H A DAudioService.java634 * as the current volume.
1677 // enter silent mode if current index is the last audible one and not repeating a
2105 private void persistVolume(VolumeStreamState streamState, boolean current, boolean lastAudible) { argument
2106 if (current) {
2798 * Display in the log the current entries in the audio focus stack
2822 // is the current top of the focus stack abandoning focus? (because of request, not death)
2958 // the reason for the audio focus request has changed: remove the current top of
2964 // notify current top of stack it is losing focus
3036 // if in a call or ringing, do not break the current phone app behavior
3053 // trap the current broadcas
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java495 * current run.
501 * mTotalTime to find the time for the current run of the system.
848 * subtract this from the current battery time to find the amount of
1244 // If the current is the same as the one before, then we no
1319 // If the current time is basically the same as the last time,
1326 // If the current is the same as the one before, then we no
2446 long current = computeCurrentTcpBytesReceived();
2448 current -= mTcpBytesReceivedAtLastUnplug;
2450 current += mLoadedTcpBytesReceived;
2452 return current;
4560 getTcpBytes(long current, long[] dataBytes, int which) argument
[all...]
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java1681 int current = mEST.getSelectionStart();
1690 Selection.setSelection(mEST.getText(), current);
1743 private int findLineStart(Editable text, int current) { argument
1744 int pos = current;
1751 Log.d(LOG_TAG, "--- findLineStart:" + current + "," + text.length() + ","
1757 private int findLineEnd(Editable text, int current) { argument
1758 int pos = current;
1766 Log.d(LOG_TAG, "--- findLineEnd:" + current + "," + text.length() + "," + pos);

Completed in 669 milliseconds