/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | SysUINavigationMode.java | 39 public enum Mode { enum in SysUINavigationMode 47 Mode(boolean hasGestures, int resValue) { in Mode() method in SysUINavigationMode.Mode 53 public static Mode getMode(Context context) { in getMode() 67 private Mode mMode; 85 Mode oldMode = mMode; in updateMode() 94 for(Mode m : Mode.values()) { in initializeMode() 107 public Mode addModeChangeListener(NavigationModeChangeListener listener) { in addModeChangeListener() 116 public Mode getMode() { in getMode() 135 return getMode(context) != Mode.TWO_BUTTONS; in removeShelfFromOverview() 140 return getMode(context) == Mode.TWO_BUTTONS && in hideShelfInTwoButtonLandscape() [all …]
|
D | OrientationTouchTransformer.java | 78 private SysUINavigationMode.Mode mMode; 101 OrientationTouchTransformer(Resources resources, SysUINavigationMode.Mode mode, in OrientationTouchTransformer() 108 void setNavigationMode(SysUINavigationMode.Mode newMode, DefaultDisplay.Info info) { in setNavigationMode() 158 mMode != SysUINavigationMode.Mode.TWO_BUTTONS; in enableMultipleRegions() 221 if (mMode == SysUINavigationMode.Mode.NO_BUTTON) { in createRegionForDisplay()
|
D | RecentsAnimationDeviceState.java | 24 import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON; 25 import static com.android.quickstep.SysUINavigationMode.Mode.THREE_BUTTONS; 26 import static com.android.quickstep.SysUINavigationMode.Mode.TWO_BUTTONS; 91 private SysUINavigationMode.Mode mMode = THREE_BUTTONS; 301 public void onNavigationModeChanged(SysUINavigationMode.Mode newMode) { in onNavigationModeChanged() 358 public SysUINavigationMode.Mode getNavMode() { in getNavMode()
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | MediaActivity.java | 100 private Mode mMode; 120 () -> changeMode(Mode.BROWSING); 125 enum Mode { enum in MediaActivity 197 mMiniPlaybackControls.setOnClickListener(view -> changeMode(Mode.PLAYBACK)); in onCreate() 307 changeMode(Mode.FATAL_ERROR); in handlePlaybackState() 308 } else if (mMode == Mode.FATAL_ERROR) { in handlePlaybackState() 309 changeMode(Mode.BROWSING); in handlePlaybackState() 381 changeMode(Mode.BROWSING); in onBackPressed() 423 Mode mediaSourceMode = getInnerViewModel().getSavedMode(); in onMediaSourceChanged() 433 public void changeMode(Mode mode) { in changeMode() [all …]
|
/packages/apps/Car/libs/encryption-runner/src/android/car/encryptionrunner/ |
D | Ukey2EncryptionRunner.java | 52 @IntDef({Mode.UNKNOWN, Mode.CLIENT, Mode.SERVER}) 53 private @interface Mode { annotation in Ukey2EncryptionRunner 66 @Mode 67 private int mMode = Mode.UNKNOWN; 72 mMode = Mode.CLIENT; in initHandshake() 95 mMode = Mode.SERVER; in respondToInitRequest() 258 case Mode.SERVER: in authenticateReconnection() 270 case Mode.CLIENT: in authenticateReconnection() 310 case Mode.SERVER: in initReconnectAuthentication() 315 case Mode.CLIENT: in initReconnectAuthentication()
|
D | DummyEncryptionRunner.java | 44 @IntDef({Mode.UNKNOWN, Mode.CLIENT, Mode.SERVER}) 45 private @interface Mode { annotation in DummyEncryptionRunner 55 @Mode 63 mMode = Mode.CLIENT; in initHandshake() 75 mMode = Mode.SERVER; in respondToInitRequest() 98 case Mode.SERVER: in continueHandshake() 111 case Mode.CLIENT: in continueHandshake()
|
/packages/services/Car/EncryptionRunner/src/android/car/encryptionrunner/ |
D | Ukey2EncryptionRunner.java | 52 @IntDef({Mode.UNKNOWN, Mode.CLIENT, Mode.SERVER}) 53 private @interface Mode { annotation in Ukey2EncryptionRunner 66 @Mode 67 private int mMode = Mode.UNKNOWN; 72 mMode = Mode.CLIENT; in initHandshake() 95 mMode = Mode.SERVER; in respondToInitRequest() 258 case Mode.SERVER: in authenticateReconnection() 270 case Mode.CLIENT: in authenticateReconnection() 310 case Mode.SERVER: in initReconnectAuthentication() 315 case Mode.CLIENT: in initReconnectAuthentication()
|
D | DummyEncryptionRunner.java | 44 @IntDef({Mode.UNKNOWN, Mode.CLIENT, Mode.SERVER}) 45 private @interface Mode { annotation in DummyEncryptionRunner 55 @Mode 63 mMode = Mode.CLIENT; in initHandshake() 75 mMode = Mode.SERVER; in respondToInitRequest() 98 case Mode.SERVER: in continueHandshake() 111 case Mode.CLIENT: in continueHandshake()
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | CallTypeIconsView.java | 293 incoming.setColorFilter(r.getColor(R.color.dialer_call_green), PorterDuff.Mode.MULTIPLY); in Resources() 299 outgoing.setColorFilter(r.getColor(R.color.dialer_call_green), PorterDuff.Mode.MULTIPLY); in Resources() 306 missed.setColorFilter(r.getColor(R.color.dialer_red), PorterDuff.Mode.MULTIPLY); in Resources() 312 voicemail.setColorFilter(theme.getColorIcon(), PorterDuff.Mode.MULTIPLY); in Resources() 317 blocked.setColorFilter(theme.getColorIcon(), PorterDuff.Mode.MULTIPLY); in Resources() 322 videoCall.setColorFilter(theme.getColorIcon(), PorterDuff.Mode.MULTIPLY); in Resources() 327 hdCall.setColorFilter(theme.getColorIcon(), PorterDuff.Mode.MULTIPLY); in Resources() 332 wifiCall.setColorFilter(theme.getColorIcon(), PorterDuff.Mode.MULTIPLY); in Resources() 337 assistedDialedCall.setColorFilter(theme.getColorIcon(), PorterDuff.Mode.MULTIPLY); in Resources() 342 rttCall.setColorFilter(theme.getColorIcon(), PorterDuff.Mode.MULTIPLY); in Resources()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageCrop.java | 57 private enum Mode { enum in ImageCrop 60 private Mode mState = Mode.NONE; 121 if (mState == Mode.NONE) { in onTouchEvent() 127 mState = Mode.MOVE; in onTouchEvent() 131 if (mState == Mode.MOVE) { in onTouchEvent() 136 mState = Mode.NONE; in onTouchEvent() 141 if (mState == Mode.MOVE) { in onTouchEvent() 244 mState = Mode.NONE; in forceStateConsistency()
|
D | ImageCurves.java | 194 drawHistogram(canvas, redHistogram, Color.RED, PorterDuff.Mode.SCREEN); in onDraw() 197 drawHistogram(canvas, greenHistogram, Color.GREEN, PorterDuff.Mode.SCREEN); in onDraw() 200 drawHistogram(canvas, blueHistogram, Color.BLUE, PorterDuff.Mode.SCREEN); in onDraw() 367 private void drawHistogram(Canvas canvas, int[] histogram, int color, PorterDuff.Mode mode) { in drawHistogram()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropView.java | 76 private enum Mode { enum in CropView 80 private Mode mState = Mode.NONE; 154 if (mState == Mode.NONE) { in onTouchEvent() 160 mState = Mode.MOVE; in onTouchEvent() 164 if (mState == Mode.MOVE) { in onTouchEvent() 169 mState = Mode.NONE; in onTouchEvent() 173 if (mState == Mode.MOVE) { in onTouchEvent() 190 mState = Mode.NONE; in reset()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | NavigationModeSwitchRule.java | 21 import static com.android.quickstep.NavigationModeSwitchRule.Mode.ALL; 22 import static com.android.quickstep.NavigationModeSwitchRule.Mode.THREE_BUTTON; 23 import static com.android.quickstep.NavigationModeSwitchRule.Mode.TWO_BUTTON; 24 import static com.android.quickstep.NavigationModeSwitchRule.Mode.ZERO_BUTTON; 63 public enum Mode { enum in NavigationModeSwitchRule 71 Mode mode() default ALL; in mode() 87 Mode mode = description.getAnnotation(NavigationModeSwitch.class).mode(); in apply()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | NavBarPosition.java | 18 import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON; 30 private final SysUINavigationMode.Mode mMode; 33 public NavBarPosition(SysUINavigationMode.Mode mode, DefaultDisplay.Info info) { in NavBarPosition() 38 public NavBarPosition(SysUINavigationMode.Mode mode, int displayRotation) { in NavBarPosition()
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | AppGridActivity.java | 88 private Mode mMode; 90 private enum Mode { enum in AppGridActivity 105 Mode(@StringRes int titleStringId, @AppLauncherUtils.AppTypes int appTypes, in Mode() method in AppGridActivity.Mode 217 private Mode parseMode(@Nullable Intent intent) { in parseMode() 220 return mode != null ? Mode.valueOf(mode) : Mode.ALL_APPS; in parseMode()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | ShelfScrimView.java | 51 import com.android.quickstep.SysUINavigationMode.Mode; 105 private Mode mSysUINavigationMode; 141 public void onNavigationModeChanged(Mode newMode) { in onNavigationModeChanged() 144 if (mSysUINavigationMode == Mode.NO_BUTTON) { in onNavigationModeChanged() 219 if (mSysUINavigationMode == Mode.NO_BUTTON in updateColors()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/ |
D | HistogramView.java | 81 private void drawHistogram(Canvas canvas, int[] histogram, int color, PorterDuff.Mode mode) { in drawHistogram() 140 drawHistogram(canvas, redHistogram, Color.RED, PorterDuff.Mode.SCREEN); in onDraw() 141 drawHistogram(canvas, greenHistogram, Color.GREEN, PorterDuff.Mode.SCREEN); in onDraw() 142 drawHistogram(canvas, blueHistogram, Color.BLUE, PorterDuff.Mode.SCREEN); in onDraw()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | TintDrawableWrapper.java | 34 private final PorterDuff.Mode mTintMode; 37 this(drawable, tintStateList, PorterDuff.Mode.SRC_IN); in TintDrawableWrapper() 40 PorterDuff.Mode tintMode) { in TintDrawableWrapper()
|
D | SwitchCompatUtils.java | 47 PorterDuff.Mode.MULTIPLY)); in updateSwitchCompatColor() 50 getSwitchTrackColorStateList(context, color, typedValue), PorterDuff.Mode.SRC_IN)); in updateSwitchCompatColor() 54 final ColorStateList colorStateList, final PorterDuff.Mode mode) { in getColorTintedDrawable()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryMeterView.java | 57 PorterDuff.Mode.SRC); in BatteryMeterView() 59 context.getColor(R.color.battery_icon_color_error), PorterDuff.Mode.SRC_IN); in BatteryMeterView() 62 PorterDuff.Mode.SRC); in BatteryMeterView()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | BaseQuickstepLauncher.java | 47 import com.android.quickstep.SysUINavigationMode.Mode; 96 public void onNavigationModeChanged(Mode newMode) { in onNavigationModeChanged() 243 return SysUINavigationMode.getMode(this) == Mode.NO_BUTTON in getNormalOverviewScaleAndOffset() 267 Mode mode = SysUINavigationMode.getMode(this); in shouldBackButtonBeHidden()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | LauncherActivityInterface.java | 51 import com.android.quickstep.SysUINavigationMode.Mode; 78 if (dp.isVerticalBarLayout() && SysUINavigationMode.getMode(context) != Mode.NO_BUTTON) { in getSwipeUpDestinationAndLength() 137 && SysUINavigationMode.getMode(activity) != Mode.NO_BUTTON) { in prepareRecentsUI() 324 if (getMode(context) == Mode.THREE_BUTTONS) { in getExtraSpace()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | OverviewActionsView.java | 39 import com.android.quickstep.SysUINavigationMode.Mode; 204 public void updateVerticalMargin(Mode mode) { in updateVerticalMargin() 209 } else if (mode == Mode.THREE_BUTTONS) { in updateVerticalMargin()
|
/packages/apps/Dialer/java/com/android/incallui/audioroute/ |
D | AudioRouteSelectorDialogFragment.java | 25 import android.graphics.PorterDuff.Mode; 165 item.setCompoundDrawableTintMode(Mode.SRC_ATOP); in initItem() 186 textView.setCompoundDrawableTintMode(Mode.SRC_ATOP); in createBluetoothItem()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | DragPreviewProvider.java | 205 canvas.drawColor(0xFF000000, PorterDuff.Mode.SRC_OUT); in run() 212 paint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.DST_OUT)); in run() 222 canvas.drawColor(0, PorterDuff.Mode.CLEAR); in run()
|