/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessMappingStrategy.java | 307 public abstract boolean setAutoBrightnessAdjustment(float adjustment); in setAutoBrightnessAdjustment() argument 363 public abstract void recalculateSplines(boolean applyAdjustment, float[] adjustment); in recalculateSplines() argument 521 float adjustment = 0; in inferAutoBrightnessAdjustment() local 526 adjustment = (desiredBrightness - currentBrightness); in inferAutoBrightnessAdjustment() 529 adjustment = -1; in inferAutoBrightnessAdjustment() 532 adjustment = +1; in inferAutoBrightnessAdjustment() 537 adjustment = -MathUtils.log(gamma) / MathUtils.log(maxGamma); in inferAutoBrightnessAdjustment() 539 adjustment = MathUtils.constrain(adjustment, -1, +1); in inferAutoBrightnessAdjustment() 541 Slog.d(TAG, "inferAutoBrightnessAdjustment: " + maxGamma + "^" + -adjustment + "=" + in inferAutoBrightnessAdjustment() 542 MathUtils.pow(maxGamma, -adjustment) + " == " + gamma); in inferAutoBrightnessAdjustment() [all …]
|
D | DisplayPowerControllerInterface.java | 155 void setTemporaryAutoBrightnessAdjustment(float adjustment); in setTemporaryAutoBrightnessAdjustment() argument
|
D | AutomaticBrightnessController.java | 443 float brightness, boolean userChangedBrightness, float adjustment, in configure() argument 451 changed |= setAutoBrightnessAdjustment(adjustment); in configure() 744 private boolean setAutoBrightnessAdjustment(float adjustment) { in setAutoBrightnessAdjustment() argument 745 return mCurrentBrightnessMapper.setAutoBrightnessAdjustment(adjustment); in setAutoBrightnessAdjustment() 1243 public void recalculateSplines(boolean applyAdjustment, float[] adjustment) { 1244 mCurrentBrightnessMapper.recalculateSplines(applyAdjustment, adjustment);
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | VolumeCtrl.java | 77 String adjustment = null; in run() local 99 adjustment = cmd.getNextArgRequired(); in run() 110 if (adjustment == null) { in run() 114 switch (adjustment) { in run() 119 cmd.showError("Error: no valid volume adjustment, was " + adjustment in run()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 293 float[] adjustment = mTempAdjustment; in onTouchEvent() local 297 adjustment[0] = edges.left / scale; in onTouchEvent() 299 adjustment[0] = (edges.right - getWidth()) / scale; in onTouchEvent() 302 adjustment[1] = (float) Math.ceil(edges.top / scale); in onTouchEvent() 304 adjustment[1] = (edges.bottom - getHeight()) / scale; in onTouchEvent() 307 if (coef[dim] > 0) adjustment[dim] = (float) Math.ceil(adjustment[dim]); in onTouchEvent() 310 mInverseRotateMatrix.mapPoints(adjustment); in onTouchEvent() 311 mCenterX += adjustment[0]; in onTouchEvent() 312 mCenterY += adjustment[1]; in onTouchEvent()
|
D | WallpaperCropActivity.java | 692 int adjustment = roundedTrueCrop.left - local 694 roundedTrueCrop.left -= adjustment; 695 roundedTrueCrop.right -= adjustment; 703 int adjustment = roundedTrueCrop.top - local 705 roundedTrueCrop.top -= adjustment; 706 roundedTrueCrop.bottom -= adjustment;
|
/frameworks/base/core/java/android/gesture/ |
D | Instance.java | 96 float adjustment = -orientation; in temporalSampler() local 101 if (Math.abs(delta) < Math.abs(adjustment)) { in temporalSampler() 102 adjustment = delta; in temporalSampler() 108 GestureUtils.rotate(pts, adjustment); in temporalSampler()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationRecordExtractorDataTest.java | 92 Adjustment adjustment = new Adjustment("pkg", r.getKey(), signals, "", 0); in testHasDiffs_proposedImportanceChange() local 93 r.addAdjustment(adjustment); in testHasDiffs_proposedImportanceChange() 126 Adjustment adjustment = new Adjustment("pkg", r.getKey(), signals, "", 0); in testHasDiffs_autoBundled() local 127 r.addAdjustment(adjustment); in testHasDiffs_autoBundled() 161 Adjustment adjustment = new Adjustment("pkg", r.getKey(), signals, "", 0); in testHasDiffs_sensitiveContentChange() local 162 r.addAdjustment(adjustment); in testHasDiffs_sensitiveContentChange()
|
D | NotificationAdjustmentExtractorTest.java | 63 Adjustment adjustment = new Adjustment("pkg", r.getKey(), signals, "", 0); in testExtractsAdjustment() local 64 r.addAdjustment(adjustment); in testExtractsAdjustment()
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationAssistantService.java | 321 public final void adjustNotification(@NonNull Adjustment adjustment) { in adjustNotification() argument 324 setAdjustmentIssuer(adjustment); in adjustNotification() 325 getNotificationInterface().applyEnqueuedAdjustmentFromAssistant(mWrapper, adjustment); in adjustNotification() 342 for (Adjustment adjustment : adjustments) { in adjustNotifications() 343 setAdjustmentIssuer(adjustment); in adjustNotifications() 512 private void setAdjustmentIssuer(@Nullable Adjustment adjustment) { in setAdjustmentIssuer() argument 513 if (adjustment != null) { in setAdjustmentIssuer() 514 adjustment.setIssuer(getOpPackageName() + "/" + getClass().getName()); in setAdjustmentIssuer() 546 Adjustment adjustment = onNotificationEnqueued(sbn, channel, ranking); in handleMessage() local 547 setAdjustmentIssuer(adjustment); in handleMessage() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | PowerStatsScheduler.java | 200 long adjustment = cal.getTimeInMillis() - targetWallClockTime; in alignToWallClock() local 201 return targetMonotonicTime + adjustment; in alignToWallClock() 218 long adjustment = cal.getTimeInMillis() - targetWallClockTime; in alignToWallClock() local 219 return targetMonotonicTime + adjustment; in alignToWallClock()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | PreparationCoordinator.java | 370 NotifInflater.Params getInflaterParams(NotifUiAdjustment adjustment, String reason) { 372 /* isMinimized = */ adjustment.isMinimized(), 374 /* showSnooze = */ adjustment.isSnoozeEnabled(), 375 /* isChildInGroup = */ adjustment.isChildInGroup(), 376 /* isGroupSummary = */ adjustment.isGroupSummary(), 377 /* needsRedaction = */ adjustment.getNeedsRedaction()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/ |
D | AutomaticBrightnessStrategy2.java | 340 void putAutoBrightnessAdjustmentSetting(float adjustment) { in putAutoBrightnessAdjustmentSetting() argument 342 mAutoBrightnessAdjustment = adjustment; in putAutoBrightnessAdjustmentSetting() 344 Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ, adjustment, in putAutoBrightnessAdjustmentSetting() local
|
D | AutomaticBrightnessStrategy.java | 442 void putAutoBrightnessAdjustmentSetting(float adjustment) { in putAutoBrightnessAdjustmentSetting() argument 444 mAutoBrightnessAdjustment = adjustment; in putAutoBrightnessAdjustmentSetting() 446 Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ, adjustment, in putAutoBrightnessAdjustmentSetting() local
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | IAudioPolicyCallback.aidl | 36 void notifyVolumeAdjust(int adjustment); in notifyVolumeAdjust() argument
|
D | AudioPolicy.java | 1128 public void onVolumeAdjustment(@AudioManager.VolumeAdjustment int adjustment) {} in onVolumeAdjustment() argument 1189 public void notifyVolumeAdjust(int adjustment) { 1190 sendMsg(MSG_VOL_ADJUST, null /* ignored */, adjustment); 1192 Log.v(TAG, "notifyVolumeAdjust: " + adjustment);
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 668 float adjustment = 0.3f; in testGammaCorrectionChangeAtEdges() local 669 float gamma = (float) MathUtils.pow(MAXIMUM_GAMMA, -adjustment); in testGammaCorrectionChangeAtEdges() 670 strategy.addUserDataPoint(x0, y0 + adjustment); in testGammaCorrectionChangeAtEdges() 671 assertEquals(y0 + adjustment, strategy.getBrightness(x0), 0.0001f /* tolerance */); in testGammaCorrectionChangeAtEdges() 674 assertEquals(adjustment, strategy.getAutoBrightnessAdjustment(), 0.0001f /* tolerance */); in testGammaCorrectionChangeAtEdges() 676 adjustment = 1.0f - y4; in testGammaCorrectionChangeAtEdges() 677 gamma = (float) MathUtils.pow(MAXIMUM_GAMMA, -adjustment); in testGammaCorrectionChangeAtEdges() 682 assertEquals(adjustment, strategy.getAutoBrightnessAdjustment(), 0.0001f /* tolerance */); in testGammaCorrectionChangeAtEdges()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 683 for (Adjustment adjustment : mAdjustments) { in hasAdjustment() 684 if (adjustment.getSignals().containsKey(key)) { in hasAdjustment() 692 public void addAdjustment(Adjustment adjustment) { in addAdjustment() argument 694 mAdjustments.add(adjustment); in addAdjustment() 701 for (Adjustment adjustment: mAdjustments) { in applyAdjustments() 702 Bundle signals = adjustment.getSignals(); in applyAdjustments() 705 adjustment.getSignals().getStringArrayList(Adjustment.KEY_PEOPLE); in applyAdjustments() 712 adjustment.getSignals().getParcelableArrayList( in applyAdjustments() 720 adjustment.getSignals().getString(Adjustment.KEY_GROUP_KEY); in applyAdjustments() 730 setUserSentiment(adjustment.getSignals().getInt( in applyAdjustments() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | ValueAnimator.java | 1361 long adjustment = frameTime - mLastFrameTime; in commitAnimationFrame() local 1362 if (adjustment > 0) { in commitAnimationFrame() 1363 mStartTime += adjustment; in commitAnimationFrame() 1365 Log.d(TAG, "Adjusted start time by " + adjustment + " ms: " + toString()); in commitAnimationFrame()
|
/frameworks/layoutlib/bridge/src/android/hardware/display/ |
D | DisplayManagerGlobal.java | 179 public void setTemporaryAutoBrightnessAdjustment(float adjustment) {} in setTemporaryAutoBrightnessAdjustment() argument
|
/frameworks/base/core/java/android/hardware/display/ |
D | IDisplayManager.aidl | 175 void setTemporaryAutoBrightnessAdjustment(float adjustment); in setTemporaryAutoBrightnessAdjustment() argument
|
/frameworks/proto_logging/stats/enums/appsearch/ |
D | enums.proto | 44 // Indicates that the current query is refined (slightly adjustment, e.g. adding new
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/ |
D | AutomaticBrightnessStrategyTest.java | 464 float adjustment = 0.1f; in isAutoBrightnessValid_returnsTrueWhenBrightnessIsValid_adjustsAutoBrightness() local 475 assertEquals(adjustment, mAutomaticBrightnessStrategy.getAutoBrightnessAdjustment(), 0.0f); in isAutoBrightnessValid_returnsTrueWhenBrightnessIsValid_adjustsAutoBrightness() 476 assertEquals(adjustment, Settings.System.getFloatForUser( in isAutoBrightnessValid_returnsTrueWhenBrightnessIsValid_adjustsAutoBrightness()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | flags.aconfig | 141 description: "Batch OOM adjustment calls to LMKD"
|
/frameworks/base/core/java/android/app/ |
D | INotificationManager.aidl | 181 …oid applyEnqueuedAdjustmentFromAssistant(in INotificationListener token, in Adjustment adjustment); in applyEnqueuedAdjustmentFromAssistant() argument 182 void applyAdjustmentFromAssistant(in INotificationListener token, in Adjustment adjustment); in applyAdjustmentFromAssistant() argument
|