Searched refs:active (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/base/core/java/android/os/
H A DRemoteCallbackList.java200 * be active at a time, so you must be sure to always call this from the
238 Object[] active = mActiveBroadcast;
239 if (active == null || active.length < N) {
240 mActiveBroadcast = active = new Object[N];
243 active[i] = mCallbacks.valueAt(i);
250 * Retrieve an item in the active broadcast that was previously started
297 Object[] active = mActiveBroadcast;
298 if (active != null) {
301 active[
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodClient.aidl29 void setActive(boolean active);
/frameworks/base/opengl/java/android/opengl/
H A DManagedEGLContext.java98 ArrayList<ManagedEGLContext> active;
105 // If there are no active managed contexts, we will not even
127 active = new ArrayList<ManagedEGLContext>(sActive);
131 for (int i = 0; i < active.size(); i++) {
132 active.get(i).execTerminate();
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp96 mCurrentState.active.w = w;
97 mCurrentState.active.h = h;
98 mCurrentState.active.crop.makeInvalid();
105 mCurrentState.requested = mCurrentState.active;
267 Rect win(s.active.w, s.active.h);
268 if (!s.active.crop.isEmpty()) {
269 win.intersect(s.active.crop, &win);
280 // the active.crop is the area of the window that gets cropped, but not
291 Rect activeCrop(s.active
[all...]
H A DLayer.h98 Geometry active; member in struct:android::Layer::State
/frameworks/base/core/java/android/net/
H A DINetworkManagementEventObserver.aidl90 * @param active True if the interface is actively transmitting data, false if it is idle.
92 void interfaceClassDataActivityChanged(String label, boolean active);
H A DCaptivePortalTracker.java244 if (DBG) log("Disconnected from active network " + info);
347 NetworkInfo active = mConnService.getActiveNetworkInfo();
348 if (active != null && active.getType() == info.getType()) {
474 "tell which is active. Bailing.");
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardMultiUserAvatar.java157 public void setActive(boolean active, boolean animate, final Runnable onComplete) { argument
158 if (mActive != active || mInit) {
159 mActive = active;
161 if (active) {
174 void updateVisualsForActive(boolean active, boolean animate, int duration, argument
176 final float finalAlpha = active ? mActiveAlpha : mInactiveAlpha;
177 final float initAlpha = active ? mInactiveAlpha : mActiveAlpha;
178 final float finalScale = active ? 1f : 1f / mActiveScale;
180 final int finalTextAlpha = active ? (int) (mActiveTextAlpha * 255) :
182 final int initTextAlpha = active
[all...]
H A DKeyguardSecurityViewFlipper.java139 KeyguardSecurityView active = getSecurityView();
144 ksv.showBouncer(ksv == active ? duration : 0);
151 KeyguardSecurityView active = getSecurityView();
156 ksv.hideBouncer(ksv == active ? duration : 0);
/frameworks/base/core/java/com/android/server/net/
H A DBaseNetworkObserver.java59 public void interfaceClassDataActivityChanged(String label, boolean active) { argument
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dtns_func.h36 Word16 active);
43 Word16 active);
/frameworks/base/core/java/android/net/http/
H A DConnectionThread.java135 String active = mWaiting ? "w" : "a";
136 return "cid " + mId + " " + active + " " + con;
/frameworks/native/opengl/libagl/
H A Dtexture.cpp107 c->rasterizer.procs.activeTexture(c, c->textures.active);
116 * If the active textures are EGLImage, they need to be locked before
172 c->rasterizer.procs.activeTexture(c, c->textures.active);
311 const int active = c->textures.active; local
312 const GLuint name = c->textures.tmu[active].name;
315 texture_unit_t& u(c->textures.tmu[active]);
333 // bind this texture to the current active texture unit
338 invalidate_texture(c, active);
353 // bind this texture to the current active textur
367 const int active = c->textures.active; local
384 const int active = c->textures.active; local
620 const int active = c->textures.active; local
[all...]
/frameworks/base/core/java/com/android/internal/net/
H A DNetworkStatsFactory.java90 final boolean active = reader.nextInt() != 0;
98 // fold in active numbers, but only when active
99 if (active) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataCallResponse.java43 public int active = 0; field in class:DataCallResponse
82 .append(" active=").append(active)
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java121 * <p>After starting mS5 the list of active states is mP0, mP1, mS1 and mS5.
131 * mS4.enter. The new list of active states is mP0, mP1, mS2 and mS4. So
726 boolean active; field in class:StateMachine.SmHandler.StateInfo
733 return "state=" + state.getName() + ",active=" + active + ",parent="
996 mStateStack[mStateStackTopIndex].active = false;
1008 mStateStack[i].active = true;
1061 * state that is already active i.e. StateInfo.active == true.
1070 * Search up the parent list of the destination state for an active
[all...]
/frameworks/base/core/java/android/view/
H A DVolumePanel.java128 /** Currently active stream that shows up at the top of the list of sliders */
437 StreamControl active = mStreamControls.get(activeStreamType);
438 if (active == null) {
442 mSliderGroup.addView(active.group);
444 active.group.setVisibility(View.VISIBLE);
445 updateSlider(active);
455 // Skip the phone specific ones and the active one
662 // Special case for when Bluetooth is active for music
/frameworks/base/core/java/com/android/internal/os/
H A DProcessCpuTracker.java211 public boolean active; field in class:ProcessCpuTracker.Stats
392 if (st.active) {
393 st.active = false;
398 if (!st.active) {
399 st.active = true;
H A DBatteryStatsImpl.java144 // A set of pools of currently active timers. When a timer is queried, we will divide the
145 // elapsed time by the number of active timers to arrive at that timer's share of the time.
146 // In order to do this, we must refresh each timer whenever the number of active timers
1145 // Accumulate time to all currently active timers before adding
1148 // Add this timer to the active pool
1173 // Accumulate time to all active counters, scaled by the total
1174 // active in the pool, before taking this one out of the pool.
1176 // Remove this timer from the active pool
3049 boolean active = false;
3052 active |
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java93 * one such client is ever active (working with the IME) at a time.
166 * be active at a time. The inactive clients can not interact with key
172 * the active client will be processed by the current IME. This is enforced
177 * <li> <p>Only the active client's {@link InputConnection} will accept
178 * operations. The IMF tells each client process whether it is active, and
259 * True if this input method client is active, initially false.
431 final boolean active = msg.arg1 != 0;
433 Log.i(TAG, "handleMessage: MSG_SET_ACTIVE " + active + ", was " + mActive);
436 mActive = active;
438 if (!active) {
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java173 ArrayList<String> active = intent.getStringArrayListExtra(
177 updateTetherState(available.toArray(), active.toArray(), errored.toArray());
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c138 Word16 active) /*!< tns active flag */
156 tC->tnsActive = active;
205 Word16 active) /*!< tns active flag */
222 tC->tnsActive = active;
133 InitTnsConfigurationLong(Word32 bitRate, Word32 sampleRate, Word16 channels, TNS_CONFIG *tC, PSY_CONFIGURATION_LONG *pC, Word16 active) argument
200 InitTnsConfigurationShort(Word32 bitRate, Word32 sampleRate, Word16 channels, TNS_CONFIG *tC, PSY_CONFIGURATION_SHORT *pC, Word16 active) argument
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp150 // This ensures that all active buffers are properly freed even
983 ActiveBuffer active; local
984 active.mPortIndex = portIndex;
985 active.mID = id;
986 mActiveBuffers.push(active);
1002 ALOGW("Attempt to remove an active buffer we know nothing about...");
1008 // the active buffer from the vector...
/frameworks/wilhelm/src/itf/
H A DIStreamInformation.c263 XAboolean active, /* [in] */
261 IStreamInformation_SetActiveStream( XAStreamInformationItf self, XAuint32 streamNum, XAboolean active, XAboolean commitNow) argument
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.h228 * set, which is either ACTIVE when active==true or IDLE (which is any
229 * non-ACTIVE state) when active==false.
237 status_t waitUntilStateThenRelock(bool active, nsecs_t timeout);

Completed in 798 milliseconds

12