Home
last modified time | relevance | path

Searched refs:active (Results 1 – 25 of 96) sorted by relevance

1234

/frameworks/native/services/surfaceflinger/
DLayer.cpp235 if (!s.active.crop.isEmpty()) { in computeBufferCrop()
240 int winWidth = s.active.w; in computeBufferCrop()
241 int winHeight = s.active.h; in computeBufferCrop()
245 winWidth = s.active.h; in computeBufferCrop()
246 winHeight = s.active.w; in computeBufferCrop()
248 Rect winCrop = s.active.crop.transform(invTransform, in computeBufferCrop()
249 s.active.w, s.active.h); in computeBufferCrop()
443 temp.active.w, temp.active.h, in doTransaction()
444 temp.active.crop.left, in doTransaction()
445 temp.active.crop.top, in doTransaction()
[all …]
DLayerBase.cpp87 mCurrentState.active.w = w; in initStates()
88 mCurrentState.active.h = h; in initStates()
89 mCurrentState.active.crop.makeInvalid(); in initStates()
95 mCurrentState.requested = mCurrentState.active; in initStates()
209 editTemp.active = temp.requested; in doTransaction()
212 if (front.active != temp.active) { in doTransaction()
240 const Rect& crop(s.active.crop); in validateVisibility()
242 Rect win(s.active.w, s.active.h); in validateVisibility()
405 Rect crop(s.active.w, s.active.h); in drawWithOpenGL()
406 if (!s.active.crop.isEmpty()) { in drawWithOpenGL()
[all …]
/frameworks/base/core/java/android/os/
DRemoteCallbackList.java237 Object[] active = mActiveBroadcast; in beginBroadcast() local
238 if (active == null || active.length < N) { in beginBroadcast()
239 mActiveBroadcast = active = new Object[N]; in beginBroadcast()
243 active[i++] = cb; in beginBroadcast()
297 Object[] active = mActiveBroadcast; in finishBroadcast() local
298 if (active != null) { in finishBroadcast()
301 active[i] = null; in finishBroadcast()
/frameworks/base/opengl/java/android/opengl/
DManagedEGLContext.java98 ArrayList<ManagedEGLContext> active; in doTerminate() local
127 active = new ArrayList<ManagedEGLContext>(sActive); in doTerminate()
131 for (int i = 0; i < active.size(); i++) { in doTerminate()
132 active.get(i).execTerminate(); in doTerminate()
/frameworks/native/opengl/libagl/
Dtexture.cpp107 c->rasterizer.procs.activeTexture(c, c->textures.active); in ogles_validate_texture()
172 c->rasterizer.procs.activeTexture(c, c->textures.active); in ogles_unlock_textures()
311 const int active = c->textures.active; in getAndBindActiveTextureObject() local
312 const GLuint name = c->textures.tmu[active].name; in getAndBindActiveTextureObject()
315 texture_unit_t& u(c->textures.tmu[active]); in getAndBindActiveTextureObject()
338 invalidate_texture(c, active); in getAndBindActiveTextureObject()
367 const int active = c->textures.active; in createTextureSurface() local
368 const GLuint name = c->textures.tmu[active].name; in createTextureSurface()
384 const int active = c->textures.active; in createTextureSurface() local
385 EGLTextureObject* tex = c->textures.tmu[active].texture; in createTextureSurface()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
Dtns_func.h36 Word16 active);
43 Word16 active);
/frameworks/base/core/java/android/net/http/
DConnectionThread.java135 String active = mWaiting ? "w" : "a"; in toString() local
136 return "cid " + mId + " " + active + " " + con; in toString()
/frameworks/base/docs/html/about/dashboards/
Dindex.jd9 <p>This page provides data about the relative number of active devices
67 active Android devices running different versions of the Android platform. It also provides a
71 <p>Notice that the platform versions are stacked on top of each other with the oldest active
72 version at the top. This format indicates the total percent of active devices that are compatible
75 compatible with 100% of active devices (and all future versions), because all Android APIs are
113 <p>This section provides data about the relative number of active devices that have a particular
194 <p>This section provides data about the relative number of active devices that support a particular
/frameworks/base/core/java/com/android/internal/view/
DIInputMethodClient.aidl29 void setActive(boolean active); in setActive() argument
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java694 boolean active; field in StateMachine.SmHandler.StateInfo
701 return "state=" + state.getName() + ",active=" + active in toString()
939 mStateStack[mStateStackTopIndex].active = false; in invokeExitMethods()
951 mStateStack[i].active = true; in invokeEnterMethods()
1023 } while ((curStateInfo != null) && !curStateInfo.active); in setupTempStateStackWithStatesToEnter()
1102 stateInfo.active = false; in addState()
/frameworks/base/core/jni/
Dandroid_net_TrafficStats.cpp92 int active; in parseIfaceStat() local
97 if (sscanf(buffer, "%31s %d %llu %llu %llu %llu %llu %llu %llu %llu", cur_iface, &active, in parseIfaceStat()
109 if (active) { in parseIfaceStat()
/frameworks/av/media/libmedia/
DAudioRecord.cpp502 int active; in obtainBuffer() local
517 active = mActive; in obtainBuffer()
518 if (CC_UNLIKELY(!active)) { in obtainBuffer()
593 active = mActive; in obtainBuffer()
594 return active ? status_t(NO_ERROR) : status_t(STOPPED); in obtainBuffer()
DAudioTrack.cpp940 bool active; in obtainBuffer() local
961 active = mActive; in obtainBuffer()
962 if (CC_UNLIKELY(!active)) { in obtainBuffer()
1046 active = mActive; in obtainBuffer()
1047 return active ? status_t(NO_ERROR) : status_t(STOPPED); in obtainBuffer()
1200 bool active = mActive; in processAudioBuffer() local
1204 if (active && (cblk->framesAvailable() == cblk->frameCount)) { in processAudioBuffer()
/frameworks/base/docs/html/guide/topics/processes/
Dprocess-lifecycle.jd28 considers the BroadcastReceiver to be no longer active, and thus, its hosting
29 process no longer needed (unless other application components are active in
33 system knows that there is still active work being done in the process.</p>
96 <li>An <strong>empty process</strong> is one that doesn't hold any active application
107 important level found among all the components currently active in the process.
/frameworks/base/core/java/com/android/internal/net/
DNetworkStatsFactory.java87 final boolean active = reader.nextInt() != 0; in readNetworkStatsSummaryDev()
96 if (active) { in readNetworkStatsSummaryDev()
/frameworks/base/docs/html/tools/help/
Dbmgr.jd78 a single application to its "active" data set; that is, the application will abandon its current
105 <p>The data for a single application can be erased from the active data set on demand. This is
137 the entire active data set from its backend storage. This is so that when a user says
152 one is active at any given time. Transports are identified by name. You can see what
159 active transport is flagged with a <code>*</code> character. Transport names may look like
164 <p>You can change which transport is currently active from the command line as well:
/frameworks/base/telephony/java/com/android/internal/telephony/
DDataCallState.java44 public int active = 0; field in DataCallState
83 .append(" active=").append(active) in toString()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp726 ActiveBuffer active; in addActiveBuffer() local
727 active.mPortIndex = portIndex; in addActiveBuffer()
728 active.mID = id; in addActiveBuffer()
729 mActiveBuffers.push(active); in addActiveBuffer()
/frameworks/base/core/java/com/android/internal/os/
DProcessStats.java201 public boolean active; field in ProcessStats.Stats
381 if (st.active) { in collectStats()
382 st.active = false; in collectStats()
387 if (!st.active) { in collectStats()
388 st.active = true; in collectStats()
/frameworks/base/core/java/android/view/
DVolumePanel.java378 StreamControl active = mStreamControls.get(activeStreamType); in reorderSliders() local
379 if (active == null) { in reorderSliders()
383 mSliderGroup.addView(active.group); in reorderSliders()
385 active.group.setVisibility(View.VISIBLE); in reorderSliders()
386 updateSlider(active); in reorderSliders()
/frameworks/base/docs/html/training/efficient-downloads/
Defficient-network-access.jd38 <p>A fully active wireless radio consumes significant power, so it transitions between different en…
41 <ol><li><b>Full power</b>: Used when a connection is active, allowing the device to transfer data a…
43 <li><b>Standby</b>: The minimal energy state during which no network connection is active or requir…
65 …a for 1 second every 18 seconds will keep the wireless radio perpetually active, moving it back to…
98 … music, rather than maintaining a continuous stream that keeps the radio active at all times, cons…
104 <p>Using this approach, the radio will be forced to remain active for the majority of users' news-r…
139 The wireless radio needs to become active in order to transmit the termination / termination acknow…
Dconnectivity_patterns.jd42 …ry cost is relatively higher, it's also more efficient to keep the radio active for longer periods…
46 <p>You can use the connectivity manager to determine the active wireless radio, and modify your pre…
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java392 final boolean active = msg.arg1 != 0; in handleMessage()
394 mActive = active; in handleMessage()
396 if (!active) { in handleMessage()
473 public void setActive(boolean active) {
474 mH.sendMessage(mH.obtainMessage(MSG_SET_ACTIVE, active ? 1 : 0, 0));
/frameworks/base/docs/html/training/monitoring-device-state/
Dconnectivity-monitoring.jd46 to query the active network and determine if it has Internet connectivity.</p>
60 querying the type of the active network, as shown below, you can alter your refresh rate based on
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dtns.c138 Word16 active) /*!< tns active flag */ in InitTnsConfigurationLong() argument
156 tC->tnsActive = active; in InitTnsConfigurationLong()
205 Word16 active) /*!< tns active flag */ in InitTnsConfigurationShort() argument
222 tC->tnsActive = active; in InitTnsConfigurationShort()

1234