Searched refs:mode2 (Results 1 – 5 of 5) sorted by relevance
75 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePrimaryFinishesPreviousMode() local80 assertNotNull(mode2); in testStartActionModePrimaryFinishesPreviousMode()89 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModeFloatingFinishesPreviousMode() local94 assertNotNull(mode2); in testStartActionModeFloatingFinishesPreviousMode()103 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType1() local108 assertNotNull(mode2); in testStartActionModePreservesPreviousModeOfDifferentType1()117 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType2() local122 assertNotNull(mode2); in testStartActionModePreservesPreviousModeOfDifferentType2()
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()
68 ActionMode mode2 = mWindowDecorActionBar.startActionMode(new MockActionModeCallback()); in testStartActionModeFinishesPreviousMode() local71 assertNotNull(mode2); in testStartActionModeFinishesPreviousMode()
111 final int mode2 = (_op2 == null) ? defaultModeOp2 : _op2.getMode(); in assertSameModes() local112 assertEquals(mode1, mode2); in assertSameModes()
2747 private boolean isLaunchModeOneOf(int mode1, int mode2) { in isLaunchModeOneOf() argument2748 return mode1 == mLaunchMode || mode2 == mLaunchMode; in isLaunchModeOneOf()