/frameworks/native/services/surfaceflinger/ |
D | LayerRejecter.cpp | 59 if (mFront.active != mFront.requested) { in reject() 64 mFront.active = mFront.requested; in reject() 72 mCurrent.active = mFront.active; in reject() 97 mName, bufWidth, bufHeight, item.mTransform, item.mScalingMode, mFront.active.w, in reject() 98 mFront.active.h, mFront.crop.left, mFront.crop.top, mFront.crop.right, in reject() 104 if (mFront.active.w != bufWidth || mFront.active.h != bufHeight) { in reject() 108 mName, bufWidth, bufHeight, mFront.active.w, mFront.active.h); in reject()
|
D | Layer.cpp | 131 mCurrentState.active.w = w; in Layer() 132 mCurrentState.active.h = h; in Layer() 133 mCurrentState.active.transform.set(0, 0); in Layer() 147 mCurrentState.requested = mCurrentState.active; in Layer() 452 Rect win(s.active.w, s.active.h); in computeScreenBounds() 495 Rect win(s.active.w, s.active.h); in computeBounds() 532 Rect activeCrop(s.active.w, s.active.h); in computeInitialCrop() 575 if (!activeCrop.intersect(Rect(s.active.w, s.active.h), &activeCrop)) { in computeCrop() 603 int winWidth = s.active.w; in computeCrop() 604 int winHeight = s.active.h; in computeCrop() [all …]
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | pixel_format_f32.rsh | 10 // 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;
|
/frameworks/base/core/java/android/os/ |
D | RemoteCallbackList.java | 246 Object[] active = mActiveBroadcast; in beginBroadcast() local 247 if (active == null || active.length < N) { in beginBroadcast() 248 mActiveBroadcast = active = new Object[N]; in beginBroadcast() 251 active[i] = mCallbacks.valueAt(i); in beginBroadcast() 306 Object[] active = mActiveBroadcast; in finishBroadcast() local 307 if (active != null) { in finishBroadcast() 310 active[i] = null; in finishBroadcast()
|
/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/ |
D | LiveData.java | 113 if (!observer.active) { in considerNotify() 361 public boolean active; field in LiveData.LifecycleBoundObserver 383 if (newActive == active) { in activeStateChanged() 386 active = newActive; in activeStateChanged() 388 LiveData.this.mActiveCount += active ? 1 : -1; in activeStateChanged() 389 if (wasInactive && active) { in activeStateChanged() 392 if (LiveData.this.mActiveCount == 0 && !active) { in activeStateChanged() 395 if (active) { in activeStateChanged()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | TunerCallbackAdapter.java | 69 public void onTrafficAnnouncement(boolean active) { in onTrafficAnnouncement() argument 70 mHandler.post(() -> mCallback.onTrafficAnnouncement(active)); in onTrafficAnnouncement() 74 public void onEmergencyAnnouncement(boolean active) { in onEmergencyAnnouncement() argument 75 mHandler.post(() -> mCallback.onEmergencyAnnouncement(active)); in onEmergencyAnnouncement()
|
D | ITunerCallback.aidl | 27 void onTrafficAnnouncement(boolean active); in onTrafficAnnouncement() argument 28 void onEmergencyAnnouncement(boolean active); in onEmergencyAnnouncement() argument
|
D | RadioTuner.java | 390 public void onTrafficAnnouncement(boolean active) {} in onTrafficAnnouncement() argument 394 public void onEmergencyAnnouncement(boolean active) {} in onEmergencyAnnouncement() argument
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/ |
D | device_for_strategy_sonification_respectful.pfw | 7 # - 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/services/core/java/com/android/server/broadcastradio/ |
D | TunerCallback.java | 94 public void onTrafficAnnouncement(boolean active) { in onTrafficAnnouncement() argument 95 dispatch(() -> mClientCallback.onTrafficAnnouncement(active)); in onTrafficAnnouncement() 99 public void onEmergencyAnnouncement(boolean active) { in onEmergencyAnnouncement() argument 100 dispatch(() -> mClientCallback.onEmergencyAnnouncement(active)); in onEmergencyAnnouncement()
|
/frameworks/layoutlib/bridge/src/android/text/ |
D | OptimizingLineBreaker.java | 60 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/services/core/jni/BroadcastRadio/ |
D | TunerCallback.cpp | 111 virtual Return<void> trafficAnnouncement(bool active); 112 virtual Return<void> emergencyAnnouncement(bool active); 242 Return<void> NativeCallback::trafficAnnouncement(bool active) { in trafficAnnouncement() argument 243 ALOGV("%s(%d)", __func__, active); in trafficAnnouncement() 245 mCallbackThread.enqueue([this, active](JNIEnv *env) { in trafficAnnouncement() 246 env->CallVoidMethod(mJCallback, gjni.TunerCallback.onTrafficAnnouncement, active); in trafficAnnouncement() 252 Return<void> NativeCallback::emergencyAnnouncement(bool active) { in emergencyAnnouncement() argument 253 ALOGV("%s(%d)", __func__, active); in emergencyAnnouncement() 255 mCallbackThread.enqueue([this, active](JNIEnv *env) { in emergencyAnnouncement() 256 env->CallVoidMethod(mJCallback, gjni.TunerCallback.onEmergencyAnnouncement, active); in emergencyAnnouncement()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | PhoneSwitcherMock.java | 77 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/ |
D | RippleDrawable.java | 275 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() 847 final RippleForeground active = mRipple; in drawBackgroundAndRipples() local 850 if (active == null && count <= 0 && (background == null || !background.isVisible())) { in drawBackgroundAndRipples() [all …]
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | FingerprintGestureController.java | 128 public void onGestureDetectionActiveChanged(boolean active) { in onGestureDetectionActiveChanged() argument 138 handler.post(() -> callback.onGestureDetectionAvailabilityChanged(active)); in onGestureDetectionActiveChanged() 140 callback.onGestureDetectionAvailabilityChanged(active); in onGestureDetectionActiveChanged()
|
/frameworks/native/opengl/libagl/ |
D | texture.cpp | 110 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/ |
D | PhoneSwitcher.java | 329 public volatile boolean active = false; field in PhoneSwitcher.PhoneState 335 if (state.active == false) return; in deactivate() 336 state.active = false; in deactivate() 348 if (state.active == true) return; in activate() 349 state.active = true; in activate() 372 mCommandsInterfaces[phoneId].setDataAllowed(mPhoneStates[phoneId].active, null); in onResendDataAllowed() 408 return mPhoneStates[phoneId].active; in isPhoneActive() 441 pw.println("PhoneId(" + i + ") active=" + ps.active + ", lastRequest=" + in dump()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataCallResponse.java | 42 public final int active; field in DataCallResponse 75 public DataCallResponse(int status, int suggestedRetryTime, int cid, int active, String type, in DataCallResponse() argument 81 this.active = active; in DataCallResponse() 101 .append(" active=").append(active) in toString()
|
D | DcController.java | 102 public void onCarrierNetworkChange(boolean active) { in DcController() 103 mExecutingCarrierChange = active; in DcController() 265 if (newState.active == DATA_CONNECTION_ACTIVE_PH_LINK_INACTIVE) { in onDataStateChanged() 355 if (newState.active == DATA_CONNECTION_ACTIVE_PH_LINK_UP) { in onDataStateChanged() 358 if (newState.active == DATA_CONNECTION_ACTIVE_PH_LINK_DORMANT) { in onDataStateChanged()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveServices.java | 801 ArrayList<ActiveForegroundApp> active = null; in updateForegroundApps() local 823 if (active == null) { in updateForegroundApps() 824 active = new ArrayList<>(); in updateForegroundApps() 828 active.add(aa); in updateForegroundApps() 850 if (active != null) { in updateForegroundApps() 851 for (int i = 0; i < active.size(); i++) { in updateForegroundApps() 852 ActiveForegroundApp aa = active.get(i); in updateForegroundApps() 871 if (active.size() == 1) { in updateForegroundApps() 873 intent.setData(Uri.fromParts("package", active.get(0).mPackageName, null)); in updateForegroundApps() 875 R.string.foreground_service_app_in_background, active.get(0).mLabel); in updateForegroundApps() [all …]
|
/frameworks/base/core/java/android/service/carrier/ |
D | CarrierService.java | 117 public final void notifyCarrierNetworkChange(boolean active) { in notifyCarrierNetworkChange() argument 119 if (sRegistry != null) sRegistry.notifyCarrierNetworkChange(active); in notifyCarrierNetworkChange()
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
D | tns_func.h | 36 Word16 active); 43 Word16 active);
|
/frameworks/base/services/core/java/com/android/server/ |
D | GraphicsStatsService.java | 152 for (ActiveBuffer active : activeCopy) { in onAlarm() 154 active.mCallback.onRotateGraphicsStatsBuffer(); in onAlarm() 157 active.mInfo.packageName, active.mPid), e); in onAlarm() 440 HistoricalBuffer(ActiveBuffer active) throws IOException { in HistoricalBuffer() argument 441 mInfo = active.mInfo; in HistoricalBuffer() 443 active.mProcessBuffer.readBytes(mData, 0, 0, ASHMEM_SIZE); in HistoricalBuffer()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationData.java | 571 int active; in dump() local 572 for (active = 0; active < N; active++) { in dump() 573 NotificationData.Entry e = mSortedAndFiltered.get(active); in dump() 574 dumpEntry(pw, indent, active, e); in dump() 579 pw.println("inactive notifications: " + (M - active)); in dump()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInstaller.java | 563 public abstract void onActiveChanged(int sessionId, boolean active); in onActiveChanged() argument 610 final boolean active = msg.arg2 != 0; in handleMessage() 611 mCallback.onActiveChanged(sessionId, active); in handleMessage() 634 public void onSessionActiveChanged(int sessionId, boolean active) { in onSessionActiveChanged() argument 635 mHandler.obtainMessage(MSG_SESSION_ACTIVE_CHANGED, sessionId, active ? 1 : 0) in onSessionActiveChanged() 1369 public boolean active; field in PackageInstaller.SessionInfo 1408 active = source.readInt() != 0; in SessionInfo() 1466 return active; in isActive() 1690 dest.writeInt(active ? 1 : 0); in writeToParcel()
|