Home
last modified time | relevance | path

Searched refs:adjustment (Results 1 – 15 of 15) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DResizingTextView.java159 public void setResizedPaddingAdjustmentTop(int adjustment) { in setResizedPaddingAdjustmentTop() argument
160 if (mResizedPaddingAdjustmentTop != adjustment) { in setResizedPaddingAdjustmentTop()
161 mResizedPaddingAdjustmentTop = adjustment; in setResizedPaddingAdjustmentTop()
178 public void setResizedPaddingAdjustmentBottom(int adjustment) { in setResizedPaddingAdjustmentBottom() argument
179 if (mResizedPaddingAdjustmentBottom != adjustment) { in setResizedPaddingAdjustmentBottom()
180 mResizedPaddingAdjustmentBottom = adjustment; in setResizedPaddingAdjustmentBottom()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DCropView.java293 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()
DWallpaperCropActivity.java695 int adjustment = roundedTrueCrop.left - local
697 roundedTrueCrop.left -= adjustment;
698 roundedTrueCrop.right -= adjustment;
706 int adjustment = roundedTrueCrop.top - local
708 roundedTrueCrop.top -= adjustment;
709 roundedTrueCrop.bottom -= adjustment;
/frameworks/base/cmds/media/src/com/android/commands/media/
DVolumeCtrl.java80 String adjustment = null; in run() local
101 adjustment = cmd.nextArgRequired(); in run()
112 if (adjustment == null) { in run()
116 switch (adjustment) { in run()
121 cmd.showError("Error: no valid volume adjustment, was " + adjustment in run()
/frameworks/base/core/java/android/gesture/
DInstance.java96 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/core/java/android/service/notification/
DNotificationAssistantService.java96 public final void adjustNotification(Adjustment adjustment) { in adjustNotification() argument
99 getNotificationInterface().applyAdjustmentFromAssistant(mWrapper, adjustment); in adjustNotification()
193 Adjustment adjustment = onNotificationEnqueued(sbn); in handleMessage() local
194 if (adjustment != null) { in handleMessage()
198 mWrapper, adjustment); in handleMessage()
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java230 public void configure(boolean enable, float adjustment, boolean dozing, in configure() argument
242 changed |= setScreenAutoBrightnessAdjustment(adjustment); in configure()
346 private boolean setScreenAutoBrightnessAdjustment(float adjustment) { in setScreenAutoBrightnessAdjustment() argument
347 if (adjustment != mScreenAutoBrightnessAdjustment) { in setScreenAutoBrightnessAdjustment()
348 mScreenAutoBrightnessAdjustment = adjustment; in setScreenAutoBrightnessAdjustment()
/frameworks/base/services/tests/notification/src/com/android/server/notification/
DNotificationAdjustmentExtractorTest.java55 Adjustment adjustment = new Adjustment("pkg", r.getKey(), signals, "", 0); in testExtractsAdjustment() local
56 r.addAdjustment(adjustment); in testExtractsAdjustment()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java549 public void addAdjustment(Adjustment adjustment) { in addAdjustment() argument
551 mAdjustments.add(adjustment); in addAdjustment()
557 for (Adjustment adjustment: mAdjustments) { in applyAdjustments()
558 Bundle signals = adjustment.getSignals(); in applyAdjustments()
561 adjustment.getSignals().getStringArrayList(Adjustment.KEY_PEOPLE); in applyAdjustments()
566 adjustment.getSignals().getParcelableArrayList( in applyAdjustments()
572 adjustment.getSignals().getString(Adjustment.KEY_GROUP_KEY); in applyAdjustments()
DNotificationManagerService.java2929 Adjustment adjustment) throws RemoteException {
2937 if (Objects.equals(adjustment.getKey(), n.getKey())
2938 && Objects.equals(adjustment.getUser(), n.getUserId())) {
2939 applyAdjustment(n, adjustment);
2951 Adjustment adjustment) throws RemoteException {
2956 NotificationRecord n = mNotificationsByKey.get(adjustment.getKey());
2957 applyAdjustment(n, adjustment);
2973 for (Adjustment adjustment : adjustments) {
2974 NotificationRecord n = mNotificationsByKey.get(adjustment.getKey());
2975 applyAdjustment(n, adjustment);
[all …]
/frameworks/base/core/java/android/animation/
DValueAnimator.java1267 long adjustment = frameTime - mLastFrameTime; in commitAnimationFrame() local
1268 if (adjustment > 0) { in commitAnimationFrame()
1269 mStartTime += adjustment; in commitAnimationFrame()
1271 Log.d(TAG, "Adjusted start time by " + adjustment + " ms: " + toString()); in commitAnimationFrame()
/frameworks/base/core/java/android/app/
DINotificationManager.aidl110 …oid applyEnqueuedAdjustmentFromAssistant(in INotificationListener token, in Adjustment adjustment); in applyEnqueuedAdjustmentFromAssistant() argument
111 void applyAdjustmentFromAssistant(in INotificationListener token, in Adjustment adjustment); in applyAdjustmentFromAssistant() argument
/frameworks/base/core/proto/android/service/
Dpower.proto371 // The screen auto-brightness adjustment setting, from -1 to 1.
372 // Use 0 if there is no adjustment.
391 // The screen brightness adjustment setting override from the settings
392 // application to temporarily adjust the auto-brightness adjustment factor
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java604 long getMemLevel(int adjustment) { in getMemLevel() argument
606 if (adjustment <= mOomAdj[i]) { in getMemLevel()
/frameworks/base/media/java/android/media/
DMediaPlayer.java5459 long adjustment = in getEstimatedTime() local
5461 if (adjustment <= 0) { in getEstimatedTime()
5464 mLastReportedTime += adjustment; in getEstimatedTime()