Searched refs:mode1 (Results 1 – 5 of 5) sorted by relevance
73 ActionMode mode1 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePrimaryFinishesPreviousMode() local78 assertTrue(mode1 instanceof MockActionMode); in testStartActionModePrimaryFinishesPreviousMode()79 assertTrue(((MockActionMode) mode1).mIsFinished); in testStartActionModePrimaryFinishesPreviousMode()87 ActionMode mode1 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModeFloatingFinishesPreviousMode() local92 assertTrue(mode1 instanceof MockActionMode); in testStartActionModeFloatingFinishesPreviousMode()93 assertTrue(((MockActionMode) mode1).mIsFinished); in testStartActionModeFloatingFinishesPreviousMode()101 ActionMode mode1 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType1() local106 assertTrue(mode1 instanceof MockActionMode); in testStartActionModePreservesPreviousModeOfDifferentType1()107 assertFalse(((MockActionMode) mode1).mIsFinished); in testStartActionModePreservesPreviousModeOfDifferentType1()115 ActionMode mode1 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType2() local[all …]
44 private void assertTEqualsImpliesSameHashCode(GnssPositionMode mode1, GnssPositionMode mode2) { in assertTEqualsImpliesSameHashCode() argument45 if (mode1.equals(mode2)) { in assertTEqualsImpliesSameHashCode()46 assertThat(mode1.hashCode()).isEqualTo(mode2.hashCode()); in assertTEqualsImpliesSameHashCode()
67 ActionMode mode1 = mWindowDecorActionBar.startActionMode(mCallback); in testStartActionModeFinishesPreviousMode() local70 assertNotNull(mode1); in testStartActionModeFinishesPreviousMode()
110 final int mode1 = (_op1 == null) ? defaultModeOp1 : _op1.getMode(); in assertSameModes() local112 assertEquals(mode1, mode2); in assertSameModes()113 if (mode1 != defaultModeOp1) { in assertSameModes()
2747 private boolean isLaunchModeOneOf(int mode1, int mode2) { in isLaunchModeOneOf() argument2748 return mode1 == mLaunchMode || mode2 == mLaunchMode; in isLaunchModeOneOf()