/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | SysUINavigationMode.java | 37 public enum Mode { enum in SysUINavigationMode 45 Mode(boolean hasGestures, int resValue) { in Mode() method in SysUINavigationMode.Mode 51 public static Mode getMode(Context context) { in getMode() 65 private Mode mMode; 76 Mode oldMode = mMode; in SysUINavigationMode() 87 for(Mode m : Mode.values()) { in initializeMode() 100 public Mode addModeChangeListener(NavigationModeChangeListener listener) { in addModeChangeListener() 109 public Mode getMode() { in getMode() 127 void onNavigationModeChanged(Mode newMode); in onNavigationModeChanged()
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | MediaActivity.java | 107 private Mode mMode; 145 changeMode(Mode.BROWSING); 176 if (mMode == Mode.SEARCHING) { 179 changeMode(Mode.SEARCHING); 207 () -> changeMode(Mode.BROWSING); 212 private enum Mode { enum in MediaActivity 304 mMiniPlaybackControls.setOnClickListener(view -> changeMode(Mode.PLAYBACK)); in onCreate() 414 changeMode(Mode.FATAL_ERROR); in handlePlaybackState() 415 } else if (mMode == Mode.FATAL_ERROR) { in handlePlaybackState() 416 changeMode(Mode.BROWSING); in handlePlaybackState() [all …]
|
/packages/services/Car/EncryptionRunner/src/android/car/encryptionrunner/ |
D | DummyEncryptionRunner.java | 43 @IntDef({Mode.UNKNOWN, Mode.CLIENT, Mode.SERVER}) 44 private @interface Mode { annotation in DummyEncryptionRunner 51 @Mode 59 mMode = Mode.CLIENT; in initHandshake() 71 mMode = Mode.SERVER; in respondToInitRequest() 94 case Mode.SERVER: in continueHandshake() 103 case Mode.CLIENT: in continueHandshake()
|
/packages/apps/Car/libs/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/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/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/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; 59 public enum Mode { enum in NavigationModeSwitchRule 67 Mode mode() default ALL; in mode() 80 Mode mode = description.getAnnotation(NavigationModeSwitch.class).mode(); in apply()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | TouchInteractionService.java | 83 import com.android.quickstep.SysUINavigationMode.Mode; 299 private Mode mMode = Mode.THREE_BUTTONS; 396 if (mMode == Mode.NO_BUTTON) { in initTouchBounds() 433 public void onNavigationModeChanged(Mode newMode) { in onNavigationModeChanged() 449 if (mMode == Mode.NO_BUTTON) { in onNavigationModeChanged() 560 } else if (mIsUserUnlocked && mMode == Mode.NO_BUTTON in onInputEvent() 615 if (mMode == Mode.NO_BUTTON) { in newConsumer() 696 return mMode == Mode.NO_BUTTON && exclusionRegion != null in disableHorizontalSwipe() 706 if (mMode == Mode.NO_BUTTON && !mOverviewComponentObserver.isHomeAndOverviewSame()) { in createOtherActivityInputConsumer() 722 if (mMode == Mode.NO_BUTTON && taskInfo != null) { in createDeviceLockedInputConsumer()
|
D | WindowTransformSwipeHandler.java | 78 import com.android.quickstep.SysUINavigationMode.Mode; 458 if (mMode != Mode.NO_BUTTON || mRecentsView == null) { in maybeUpdateRecentsAttachedState() 562 if (mMode != Mode.NO_BUTTON) { in updateFinalShift() 717 } else if (mMode == Mode.NO_BUTTON) { 738 if (mMode == Mode.NO_BUTTON && isSwipeUp && !willGoToNewTaskOnSwipeUp) { 740 } else if (mMode == Mode.NO_BUTTON && isSwipeUp && !mIsShelfPeeking) { 782 if (endTarget == RECENTS && mMode != Mode.NO_BUTTON) { in handleNormalGestureEnd() 827 if (mMode == Mode.NO_BUTTON) { in handleNormalGestureEnd()
|
D | LauncherActivityControllerHelper.java | 60 import com.android.quickstep.SysUINavigationMode.Mode; 83 if (dp.isVerticalBarLayout() && SysUINavigationMode.getMode(context) != Mode.NO_BUTTON) { in getSwipeUpDestinationAndLength() 204 if (SysUINavigationMode.getMode(activity) == Mode.NO_BUTTON) { 283 && SysUINavigationMode.getMode(activity) != Mode.NO_BUTTON) {
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | AppGridActivity.java | 81 private Mode mMode; 83 private enum Mode { enum in AppGridActivity 98 Mode(@StringRes int titleStringId, @AppLauncherUtils.AppTypes int appTypes, in Mode() method in AppGridActivity.Mode 190 private Mode parseMode(@Nullable Intent intent) { in parseMode() 193 return mode != null ? Mode.valueOf(mode) : Mode.ALL_APPS; in parseMode()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | ShelfScrimView.java | 47 import com.android.quickstep.SysUINavigationMode.Mode; 101 private Mode mSysUINavigationMode; 136 public void onNavigationModeChanged(Mode newMode) { in onNavigationModeChanged() 139 if (mSysUINavigationMode == Mode.NO_BUTTON) { in onNavigationModeChanged() 203 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/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | UiFactory.java | 58 import com.android.quickstep.SysUINavigationMode.Mode; 73 launcher.getRotationHelper().setRotationHadDifferentUI(m != Mode.NO_BUTTON); in enableLiveUIChanges() 76 SysUINavigationMode.Mode m = mode.addModeChangeListener(listener); in enableLiveUIChanges() 77 launcher.getRotationHelper().setRotationHadDifferentUI(m != Mode.NO_BUTTON); in enableLiveUIChanges() 244 if (SysUINavigationMode.getMode(l) == Mode.NO_BUTTON) { in getOverviewScaleAndTranslationForNormalState()
|
/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/recents_ui_overrides/src/com/android/quickstep/util/ |
D | NavBarPosition.java | 20 import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON; 34 private final SysUINavigationMode.Mode mMode;
|
/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/Test/connectivity/sl4n/facades/bluetooth/ |
D | bt_binder_facade.cpp | 151 bluetooth::AdvertiseSettings::Mode adv_mode; in BtBinderSetAdvSettings() 154 adv_mode = bluetooth::AdvertiseSettings::Mode::MODE_LOW_POWER; in BtBinderSetAdvSettings() 157 adv_mode = bluetooth::AdvertiseSettings::Mode::MODE_BALANCED; in BtBinderSetAdvSettings() 160 adv_mode = bluetooth::AdvertiseSettings::Mode::MODE_LOW_LATENCY; in BtBinderSetAdvSettings()
|
/packages/apps/Dialer/java/com/android/incallui/callconfiguration/ |
D | call_configuration.proto | 25 optional Mode call_mode = 1; 28 enum Mode { enum
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/ |
D | RecentsUiFactory.java | 21 import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON; 48 import com.android.quickstep.SysUINavigationMode.Mode; 143 Mode mode = SysUINavigationMode.getMode(launcher); in createTouchControllers()
|