Home
last modified time | relevance | path

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

123456789

/frameworks/native/services/surfaceflinger/
DLayer.cpp124 mCurrentState.active.w = w; in Layer()
125 mCurrentState.active.h = h; in Layer()
126 mCurrentState.active.transform.set(0, 0); in Layer()
138 mCurrentState.requested = mCurrentState.active; in Layer()
386 Rect win(s.active.w, s.active.h); in computeBounds()
411 Rect activeCrop(s.active.w, s.active.h); in computeCrop()
416 activeCrop = s.active.transform.transform(activeCrop); in computeCrop()
425 activeCrop = s.active.transform.inverse().transform(activeCrop); in computeCrop()
433 if (!activeCrop.intersect(Rect(s.active.w, s.active.h), &activeCrop)) { in computeCrop()
461 int winWidth = s.active.w; in computeCrop()
[all …]
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
Dpixel_format_f32.rsh10 // 2. When processing each layer, we use its field (active) to mark
12 // active or not active but "close enough" to an active pixel, a matte value is
24 // active, matte, and dilated_depth are reset. However, the field actual_depth
33 // active = 1: the pixel is on the target layer;
34 // active = 0: otherwise.
35 uchar active;
42 // For active pixels, dilated_depth is the same as actual depth;
44 // closest active pixels;
Dlayered_filter_fast_f32.rs118 sharp->active = 0;
142 sharp->active = 1;
213 if (sharp->active == 0 && sharp->dilated_depth) {
237 if (sharp->active == 0 && sharp->dilated_depth) {
354 sharp->active = 0;
418 sharp->active = 0;
/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()
242 active[i] = mCallbacks.valueAt(i); in beginBroadcast()
296 Object[] active = mActiveBroadcast; in finishBroadcast() local
297 if (active != null) { in finishBroadcast()
300 active[i] = null; in finishBroadcast()
DIMaintenanceActivityListener.aidl21 void onMaintenanceActivityChanged(boolean active); in onMaintenanceActivityChanged() argument
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Ddevice_for_strategy_sonification_respectful.pfw7 # - If not in call AND a music stream is active remotely: Strategy sonification (that
9 # - if not in call and no music stream active remotely and music stream active): strategy
14 # Case of stream active handled programmatically
77 # SonificationRespectful follows media if music stream is active
104 # SonificationRespectful follows media if music stream is active
131 # SonificationRespectful follows media if music stream is active
249 # SonificationRespectful follows media if music stream is active
288 # SonificationRespectful follows media if music stream is active
327 # SonificationRespectful follows media if music stream is active
364 # SonificationRespectful follows media if music stream is active
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/text/
DOptimizingLineBreaker.java60 ArrayList<Integer> active = new ArrayList<Integer>(); in computeBreaks() local
61 active.add(0); in computeBreaks()
69 for (ListIterator<Integer> it = active.listIterator(); it.hasNext(); in computeBreaks()
100 active.clear(); in computeBreaks()
104 active.add(i); in computeBreaks()
107 if (active.isEmpty()) { in computeBreaks()
115 active.add(breakIndex); in computeBreaks()
/frameworks/base/docs/html/distribute/engage/
Dindex.jd2 …cription=Engaging and retaining active users are the keys to success. Here are some resources to h…
9 Engaging and retaining active users is the key to success. This is specially
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DPhoneSwitcherMock.java77 public void setPhoneActive(int phoneId, boolean active) { in setPhoneActive() argument
79 if (mIsActive[phoneId].getAndSet(active) != active) { in setPhoneActive()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleDrawable.java275 private void setRippleActive(boolean active) { in setRippleActive() argument
276 if (mRippleActive != active) { in setRippleActive()
277 mRippleActive = active; in setRippleActive()
278 if (active) { in setRippleActive()
286 private void setBackgroundActive(boolean active, boolean focused) { in setBackgroundActive() argument
287 if (mBackgroundActive != active) { in setBackgroundActive()
288 mBackgroundActive = active; in setBackgroundActive()
289 if (active) { in setBackgroundActive()
841 final RippleForeground active = mRipple; in drawBackgroundAndRipples() local
844 if (active == null && count <= 0 && (background == null || !background.isVisible())) { in drawBackgroundAndRipples()
[all …]
/frameworks/native/opengl/libagl/
Dtexture.cpp110 c->rasterizer.procs.activeTexture(c, c->textures.active); in ogles_validate_texture()
165 c->rasterizer.procs.activeTexture(c, c->textures.active); in ogles_unlock_textures()
304 const int active = c->textures.active; in getAndBindActiveTextureObject() local
305 const GLuint name = c->textures.tmu[active].name; in getAndBindActiveTextureObject()
308 texture_unit_t& u(c->textures.tmu[active]); in getAndBindActiveTextureObject()
331 invalidate_texture(c, active); in getAndBindActiveTextureObject()
360 const int active = c->textures.active; in createTextureSurface() local
361 const GLuint name = c->textures.tmu[active].name; in createTextureSurface()
377 const int active = c->textures.active; in createTextureSurface() local
378 EGLTextureObject* tex = c->textures.tmu[active].texture; in createTextureSurface()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java332 public volatile boolean active = false; field in PhoneSwitcher.PhoneState
338 if (state.active == false) return; in deactivate()
339 state.active = false; in deactivate()
348 if (state.active == true) return; in activate()
349 state.active = true; in activate()
367 mCommandsInterfaces[phoneId].setDataAllowed(mPhoneStates[phoneId].active, null); in onResendDataAllowed()
393 return mPhoneStates[phoneId].active; in isPhoneActive()
426 pw.println("PhoneId(" + i + ") active=" + ps.active + ", lastRequest=" + in dump()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java474 public abstract void onActiveChanged(int sessionId, boolean active); in onActiveChanged() argument
521 final boolean active = msg.arg2 != 0; in handleMessage()
522 mCallback.onActiveChanged(sessionId, active); in handleMessage()
545 public void onSessionActiveChanged(int sessionId, boolean active) { in onSessionActiveChanged() argument
546 mHandler.obtainMessage(MSG_SESSION_ACTIVE_CHANGED, sessionId, active ? 1 : 0) in onSessionActiveChanged()
1139 public boolean active; field in PackageInstaller.SessionInfo
1163 active = source.readInt() != 0; in SessionInfo()
1213 return active; in isActive()
1281 dest.writeInt(active ? 1 : 0); in writeToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationData.java423 int active; in dump() local
424 for (active = 0; active < N; active++) { in dump()
425 NotificationData.Entry e = mSortedAndFiltered.get(active); in dump()
426 dumpEntry(pw, indent, active, e); in dump()
431 pw.println("inactive notifications: " + (M - active)); in dump()
/frameworks/base/core/java/android/service/carrier/
DCarrierService.java117 public final void notifyCarrierNetworkChange(boolean active) { in notifyCarrierNetworkChange() argument
119 if (sRegistry != null) sRegistry.notifyCarrierNetworkChange(active); in notifyCarrierNetworkChange()
/frameworks/base/core/java/android/hardware/radio/
DRadioTuner.java282 public void onTrafficAnnouncement(boolean active) {} in onTrafficAnnouncement() argument
286 public void onEmergencyAnnouncement(boolean active) {} in onEmergencyAnnouncement() argument
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
Dtns_func.h36 Word16 active);
43 Word16 active);
/frameworks/base/docs/html/work/
Dcosu.jd395 // start lock task mode if it's not already active
411 private void setDefaultCosuPolicies(boolean active) {
413 setUserRestriction(UserManager.DISALLOW_SAFE_BOOT, active);
414 setUserRestriction(UserManager.DISALLOW_FACTORY_RESET, active);
415 setUserRestriction(UserManager.DISALLOW_ADD_USER, active);
416 setUserRestriction(UserManager.DISALLOW_MOUNT_PHYSICAL_MEDIA, active);
417 setUserRestriction(UserManager.DISALLOW_ADJUST_VOLUME, active);
420 mDevicePolicyManager.setKeyguardDisabled(mAdminComponentName, active);
421 mDevicePolicyManager.setStatusBarDisabled(mAdminComponentName, active);
424 enableStayOnWhilePluggedIn(active);
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcController.java102 public void onCarrierNetworkChange(boolean active) { in DcController()
103 mExecutingCarrierChange = active; in DcController()
265 if (newState.active == DATA_CONNECTION_ACTIVE_PH_LINK_INACTIVE) { in onDataStateChanged()
354 if (newState.active == DATA_CONNECTION_ACTIVE_PH_LINK_UP) { in onDataStateChanged()
357 if (newState.active == DATA_CONNECTION_ACTIVE_PH_LINK_DORMANT) { in onDataStateChanged()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DTestUtil.java92 Context context, ArrayList<String> available, ArrayList<String> active) { in sendTetherStateChanged() argument
95 intent.putExtra(ConnectivityManager.EXTRA_ACTIVE_TETHER, active); in sendTetherStateChanged()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DTestInteractionActivity.java87 VoiceInteractor.Request[] active = mInteractor.getActiveRequests(); in onCreate() local
88 for (int i=0; i<active.length; i++) { in onCreate()
89 Log.i(TAG, "Active #" + i + " / " + active[i].getName() + ": " + active[i]); in onCreate()
/frameworks/support/design/src/android/support/design/internal/
DBottomNavigationItemView.java200 private void animate(final boolean active) { in animate() argument
201 final float startingTextScale = active ? mScaleDownFactor : mScaleUpFactor; in animate()
215 .translationY(active ? mShiftAmount : 0); in animate()
/frameworks/av/soundtrigger/
DSoundTrigger.cpp116 status_t SoundTrigger::setCaptureState(bool active) in setCaptureState() argument
118 ALOGV("setCaptureState(%d)", active); in setCaptureState()
123 return service->setCaptureState(active); in setCaptureState()
/frameworks/base/telephony/java/android/telephony/
DPhoneStateListener.java530 public void onCarrierNetworkChange(boolean active) { in onCarrierNetworkChange() argument
626 public void onCarrierNetworkChange(boolean active) { in onCarrierNetworkChange() argument
627 send(LISTEN_CARRIER_NETWORK_CHANGE, 0, 0, active); in onCarrierNetworkChange()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java415 boolean active = false; field in DeviceIdleController.MotionListener
420 active = false; in onTrigger()
429 active = false; in onSensorChanged()
446 active = true; in registerLocked()
459 active = false; in unregisterLocked()
1099 boolean active = (msg.arg1 == 1); in handleMessage()
1105 .onMaintenanceActivityChanged(active); in handleMessage()
1255 public void setJobsActive(boolean active) { in setJobsActive() argument
1256 DeviceIdleController.this.setJobsActive(active); in setJobsActive()
1260 public void setAlarmsActive(boolean active) { in setAlarmsActive() argument
[all …]

123456789