/packages/apps/Car/Media/src/com/android/car/media/ |
D | MediaActivity.java | 100 private Mode mMode; 118 changeMode(Mode.BROWSING); 127 changeMode(Mode.BROWSING); 150 changeMode(Mode.SEARCHING); 163 () -> changeMode(Mode.BROWSING); 168 private enum Mode { enum in MediaActivity 240 mMiniPlaybackControls.setOnClickListener(view -> changeMode(Mode.PLAYBACK)); in onCreate() 283 if (mMode != Mode.PLAYBACK) { in handlePlaybackState() 324 changeMode(Mode.FATAL_ERROR); in handlePlaybackState() 392 changeMode(Mode.BROWSING); in onMediaSourceChanged() [all …]
|
/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/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/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/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; 58 public enum Mode { enum in NavigationModeSwitchRule 66 Mode mode() default ALL; in mode() 79 Mode mode = description.getAnnotation(NavigationModeSwitch.class).mode(); in apply()
|
D | StartLauncherViaGestureTests.java | 29 import com.android.quickstep.NavigationModeSwitchRule.Mode; 66 @NavigationModeSwitch(mode = Mode.TWO_BUTTON)
|
/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/recents_ui_overrides/src/com/android/quickstep/ |
D | TouchInteractionService.java | 79 import com.android.quickstep.SysUINavigationMode.Mode; 272 private Mode mMode = Mode.THREE_BUTTONS; 359 if (mMode == Mode.NO_BUTTON) { in initTouchBounds() 396 public void onNavigationModeChanged(Mode newMode) { in onNavigationModeChanged() 410 if (mMode == Mode.NO_BUTTON) { in onNavigationModeChanged() 518 } else if (mIsUserUnlocked && mMode == Mode.NO_BUTTON in onInputEvent() 566 if (mMode == Mode.NO_BUTTON) { in newConsumer() 622 } else if (mMode == Mode.NO_BUTTON && !mOverviewComponentObserver.isHomeAndOverviewSame()) { in newBaseConsumer() 634 return mMode == Mode.NO_BUTTON && exclusionRegion != null in disableHorizontalSwipe() 652 if (mMode == Mode.NO_BUTTON && taskInfo != null) { in createDeviceLockedInputConsumer()
|
D | WindowTransformSwipeHandler.java | 97 import com.android.quickstep.SysUINavigationMode.Mode; 263 private final SysUINavigationMode.Mode mMode; 391 if (mMode == Mode.NO_BUTTON) { in initTransitionEndpoints() 620 if (mMode != Mode.NO_BUTTON || mRecentsView == null) { in maybeUpdateRecentsAttachedState() 725 if (mRecentsView != null && mMode != Mode.NO_BUTTON) { in updateFinalShift() 913 } else if (mMode == Mode.NO_BUTTON) { 929 if (mMode == Mode.NO_BUTTON && endVelocity < 0 && !mIsShelfPeeking) { 977 if (endTarget == RECENTS && mMode != Mode.NO_BUTTON) { in handleNormalGestureEnd() 1022 if (mMode == Mode.NO_BUTTON) { in handleNormalGestureEnd()
|
D | LauncherActivityControllerHelper.java | 65 import com.android.quickstep.SysUINavigationMode.Mode; 86 if (dp.isVerticalBarLayout() && SysUINavigationMode.getMode(context) != Mode.NO_BUTTON) { in getSwipeUpDestinationAndLength() 227 if (SysUINavigationMode.getMode(activity) == Mode.NO_BUTTON) { 339 && SysUINavigationMode.getMode(activity) != Mode.NO_BUTTON) {
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | ShelfScrimView.java | 45 import com.android.quickstep.SysUINavigationMode.Mode; 94 private Mode mSysUINavigationMode; 129 public void onNavigationModeChanged(Mode newMode) { in onNavigationModeChanged() 132 if (mSysUINavigationMode == Mode.NO_BUTTON) { in onNavigationModeChanged() 190 if (mSysUINavigationMode == Mode.NO_BUTTON in updateColors()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | UiFactory.java | 55 import com.android.quickstep.SysUINavigationMode.Mode; 69 launcher.getRotationHelper().setRotationHadDifferentUI(m != Mode.NO_BUTTON); in enableLiveUIChanges() 72 SysUINavigationMode.Mode m = mode.addModeChangeListener(listener); in enableLiveUIChanges() 73 launcher.getRotationHelper().setRotationHadDifferentUI(m != Mode.NO_BUTTON); in enableLiveUIChanges() 240 if (SysUINavigationMode.getMode(l) == Mode.NO_BUTTON) { in getOverviewScaleAndTranslationForNormalState()
|
/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/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/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()
|
/packages/apps/Dialer/java/com/android/incallui/callconfiguration/ |
D | call_configuration.proto | 26 optional Mode call_mode = 1; 29 enum Mode { enum
|
/packages/apps/ThemePicker/src/com/android/customization/model/grid/ |
D | GridOption.java | 19 import android.graphics.PorterDuff.Mode; 65 R.color.material_grey500, null), Mode.ADD); in bindThumbnailTile()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | DragPreviewProvider.java | 236 canvas.drawColor(0xFF000000, PorterDuff.Mode.SRC_OUT); in run() 243 paint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.DST_OUT)); in run() 253 canvas.drawColor(0, PorterDuff.Mode.CLEAR); in run()
|