/packages/modules/Connectivity/tests/cts/net/src/android/net/rtp/cts/ |
D | AudioGroupTest.java | 124 assertEquals(mGroup.getMode(), AudioGroup.MODE_NORMAL); in testSetMode() 127 assertEquals(mGroup.getMode(), AudioGroup.MODE_MUTED); in testSetMode() 133 assertEquals(mGroup.getMode(), AudioGroup.MODE_NORMAL); in testSetMode() 136 assertEquals(mGroup.getMode(), AudioGroup.MODE_MUTED); in testSetMode()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | SysUINavigationMode.java | 60 public static Mode getMode(Context context) { in getMode() method in SysUINavigationMode 61 return INSTANCE.get(context).getMode(); in getMode() 185 public Mode getMode() { in getMode() method in SysUINavigationMode
|
D | BaseActivityInterface.java | 24 import static com.android.quickstep.SysUINavigationMode.getMode; 353 return OverviewActionsView.getOverviewActionsBottomMarginPx(getMode(context), dp) in getOverviewActionsHeight() 354 + OverviewActionsView.getOverviewActionsTopMarginPx(getMode(context), dp) in getOverviewActionsHeight() 457 if (SysUINavigationMode.getMode(mActivity) == Mode.NO_BUTTON) { in createActivityInterface()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | SquareImageView.java | 40 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 41 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
|
/packages/apps/Car/libs/encryption-runner/src/android/car/encryptionrunner/ |
D | OobFakeEncryptionRunner.java | 33 switch (getMode()) { in continueHandshake() 54 throw new IllegalStateException("unexpected role: " + getMode()); in continueHandshake()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | OverviewActionsView.java | 149 updateVerticalMargin(SysUINavigationMode.getMode(getContext())); in onConfigurationChanged() 155 updateVerticalMargin(SysUINavigationMode.getMode(getContext())); in setInsets() 225 updateVerticalMargin(SysUINavigationMode.getMode(getContext())); in setDp()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/ |
D | PreferenceImageView.java | 47 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 57 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ControlPanelLayout.java | 50 mode = MeasureSpec.getMode(widthSpec); in onMeasure() 55 mode = MeasureSpec.getMode(heightSpec); in onMeasure()
|
D | IndicatorControlWheelContainer.java | 128 int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure() 129 int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | TextSizeHelper.kt | 47 if (MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.UNSPECIFIED) { in onMeasure() 53 if (MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.UNSPECIFIED) { in onMeasure()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | BaseQuickstepLauncher.java | 271 mActionsView.updateVerticalMargin(SysUINavigationMode.getMode(this)); in setupViews() 362 return SysUINavigationMode.getMode(this).hasGestures in getNormalOverviewScaleAndOffset() 400 Mode mode = SysUINavigationMode.getMode(this); in shouldBackButtonBeHidden() 418 if (SysUINavigationMode.getMode(this) == TWO_BUTTONS) { in onLauncherStateOrFocusChanged()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | QuickstepOnboardingPrefs.java | 54 .get(mLauncher).getMode().hasGestures; in QuickstepOnboardingPrefs() 90 if (SysUINavigationMode.getMode(launcher) == NO_BUTTON in QuickstepOnboardingPrefs()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollController.java | 736 private int getMode(int mode) { in getMode() method in ScrollController 766 final int operationMode = getMode(mFlingMode); in fling() 786 final int operationMode = getMode(mScrollMode); in startScroll() 855 final int operationMode = getMode(mDragMode); in dragBy()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AsyncImageView.java | 324 final int widthSpecMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 325 final int heightSpecMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() 360 final int specMode = MeasureSpec.getMode(measureSpec); in resolveSize()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | MockLocationAppPreferenceController.java | 144 if (packageOp.getOps().get(0).getMode() != AppOpsManager.MODE_ERRORED) { in removeAllMockLocations() 167 if (packageOp.getOps().get(0).getMode() == AppOpsManager.MODE_ALLOWED) { in getCurrentMockLocationApp()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | Enhanced4gBasePreferenceControllerTest.java | 101 doReturn(1).when(mController).getMode(); in setUp() 118 doReturn(2).when(mController).getMode(); in getAvailabilityStatus_modeMismatch_returnUnavailable()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | AdditionalSubtypeUtilsTests.java | 137 assertEquals(KEYBOARD_MODE, subtype.getMode()); in assertEnUsDvorak() 158 assertEquals(KEYBOARD_MODE, subtype.getMode()); in assertAzerty()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AddNetworkFragment.java | 83 mUIController = new WifiConfigController2(this, rootView, null, getMode()); in onCreateView() 132 public int getMode() { in getMode() method in AddNetworkFragment
|
D | ConfigureWifiEntryFragment.java | 114 mUiController = new WifiConfigController2(this, rootView, mWifiEntry, getMode()); in onCreateView() 144 public int getMode() { in getMode() method in ConfigureWifiEntryFragment
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputMethodSubtype.java | 78 public String getMode() { in getMode() method in RichInputMethodSubtype 79 return mSubtype.getMode(); in getMode()
|
D | RichInputMethodManager.java | 410 if (KEYBOARD_MODE.equals(subtype.getMode())) { in hasMultipleEnabledSubtypes() 543 mShortcutSubtype.getLocale() + ", " + mShortcutSubtype.getMode()))); in updateShortcutIme() 574 mShortcutSubtype.getLocale() + ", " + mShortcutSubtype.getMode()))); in updateShortcutIme()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | Enhanced4gBasePreferenceController.java | 198 protected int getMode() { in getMode() method in Enhanced4gBasePreferenceController 203 return m4gCurrentMode == getMode(); in isModeMatched()
|
D | Enhanced4gCallingPreferenceController.java | 31 protected int getMode() { in getMode() method in Enhanced4gCallingPreferenceController
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | QuickstepAtomicAnimationFactory.java | 94 if (SysUINavigationMode.getMode(mActivity).hasGestures in prepareForAtomicAnimation() 136 if (SysUINavigationMode.getMode(mActivity).hasGestures) { in prepareForAtomicAnimation()
|
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
D | PageIndicatorDots.java | 233 int width = MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY ? in onMeasure() 235 int height= MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.EXACTLY ? in onMeasure()
|