/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | ViewRootImpl_Delegate.java | 31 /*package*/ static boolean isInTouchMode() { method in class:ViewRootImpl_Delegate
|
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
H A D | ChangeTouchModeTest.java | 47 assertFalse("touch mode", getActivity().isInTouchMode()); 53 assertTrue("touch mode", getActivity().isInTouchMode()); 61 assertFalse("touch mode", getActivity().isInTouchMode()); 78 assertFalse(otherActivity.isInTouchMode()); 94 assertTrue(otherActivity.isInTouchMode()); 105 assertFalse("touch mode", getActivity().isInTouchMode()); 112 assertFalse(otherActivity.isInTouchMode()); 114 assertTrue(otherActivity.isInTouchMode()); 124 assertTrue("touch mode", getActivity().isInTouchMode());
|
H A D | StartInTouchWithViewInFocusTest.java | 49 assertTrue("should start in touch mode", mEditText.isInTouchMode()); 56 assertFalse("should have left touch mode", mEditText.isInTouchMode()); 63 assertFalse("should have left touch mode", mEditText.isInTouchMode());
|
H A D | TouchModeFocusChangeTest.java | 54 assertFalse("we should not be in touch mode", mActivity.isInTouchMode()); 62 assertTrue("should be in touch mode", mActivity.isInTouchMode()); 79 assertTrue("should be in touch mode", mActivity.isInTouchMode()); 84 assertFalse("should be out of touch mode", mActivity.isInTouchMode());
|
H A D | TouchModeFocusableTest.java | 52 assertFalse("should not be in touch mode to start off", mButton.isInTouchMode()); 60 assertTrue("should be in touch mode", mButton.isInTouchMode()); 71 assertTrue("clicking edit text should have entered touch mode", mButton.isInTouchMode()); 86 assertTrue("should be in touch mode", mButton.isInTouchMode());
|
H A D | FocusableInTouchModeClickTest.java | 39 assertTrue("should start in touch mode", getActivity().getButton1().isInTouchMode());
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | TouchModeFlexibleAsserts.java | 39 !viewToTouch.isInTouchMode()) { 44 + "touch mode", viewToTouch.isInTouchMode()); 51 !viewToTouch.isInTouchMode()) { 56 + "touch mode", viewToTouch.isInTouchMode()); 64 while (checkForTouchMode.isInTouchMode() && amountLeft > 0) { 73 + "pressing key event, still in touch mode", checkForTouchMode.isInTouchMode());
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
H A D | LLOfButtons1.java | 62 public boolean isInTouchMode() { method in class:LLOfButtons1 63 return mFirstButton.isInTouchMode();
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListManagedCursorTest.java | 67 assertTrue("List changed to touch mode", !mListView.isInTouchMode()); 84 assertTrue("List not in touch mode", mListView.isInTouchMode()); 103 assertTrue("List did not change to touch mode", mListView.isInTouchMode()); 126 assertTrue("List not in trackball mode", !mListView.isInTouchMode()); 141 assertTrue("List still in touch mode", !mListView.isInTouchMode()); 167 assertTrue("List not in touch mode", mListView.isInTouchMode());
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
H A D | GridPaddingTest.java | 41 assertTrue("Not in touch mode", mGridView.isInTouchMode());
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
H A D | MenuWith1ItemTest.java | 47 assertFalse(mActivity.getButton().isInTouchMode()); 79 mActivity.getButton().isInTouchMode()); 84 assertTrue("menuItem.isInTouchMode()", menuItem.isInTouchMode());
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | DescendantFocusabilityTest.java | 113 assertFalse(a.beforeDescendantsChild.isInTouchMode()); 116 assertTrue(a.beforeDescendantsChild.isInTouchMode()); 130 assertFalse(a.afterDescendantsChild.isInTouchMode()); 133 assertTrue(a.afterDescendantsChild.isInTouchMode());
|
H A D | ScrollingThroughListOfFocusablesTest.java | 230 if (mListView.isInTouchMode()) {
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListWithFirstScreenUnSelectableTest.java | 42 assertTrue(mListView.isInTouchMode());
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
H A D | ListWithEditTextHeaderTest.java | 46 assertFalse("out of touch-mode", mListView.isInTouchMode());
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ListViewCompat.java | 145 if (adapter == null || isInTouchMode()) {
|
/frameworks/base/core/java/android/widget/ |
H A D | ListPopupWindow.java | 662 if (!mModal || mDropDownList.isInTouchMode()) { 1543 * When this boolean is true, isInTouchMode() returns true, otherwise it 1544 * returns super.isInTouchMode(). 1744 public boolean isInTouchMode() { method in class:ListPopupWindow.DropDownListView 1746 return (mHijackFocus && mListSelectionHidden) || super.isInTouchMode();
|
H A D | GridView.java | 236 if (adapter == null || isInTouchMode()) { 1302 setSelectedPositionInt(mAdapter == null || isInTouchMode() ? 1307 setSelectedPositionInt(mAdapter == null || isInTouchMode() ? 1576 if (!isInTouchMode()) {
|
H A D | TabHost.java | 192 public void onTouchModeChanged(boolean isInTouchMode) { argument
|
H A D | AbsListView.java | 1960 if (gainFocus && mSelectedPosition < 0 && !isInTouchMode()) { 2663 return (isFocused() && !isInTouchMode()) || (touchModeDrawsInPressedState() && isPressed()); 2916 final int touchMode = isInTouchMode() ? TOUCH_MODE_ON : TOUCH_MODE_OFF; 3577 public void onTouchModeChanged(boolean isInTouchMode) { argument 3578 if (isInTouchMode) { 4952 final boolean inTouchMode = isInTouchMode(); 5365 if (isInTouchMode()) { 5411 if (!isInTouchMode()) { 6914 if (!isInTouchMode()) {
|
H A D | ListView.java | 2045 if (adapter == null || isInTouchMode()) { 2085 if (adapter == null || isInTouchMode()) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ResolverDrawerLayout.java | 96 public void onTouchModeChanged(boolean isInTouchMode) { 97 if (!isInTouchMode && hasFocus() && isDescendantClipped(getFocusedChild())) { 524 if (!isInTouchMode() && isDescendantClipped(focused)) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ListPopupWindow.java | 658 if (!mModal || mDropDownList.isInTouchMode()) { 1525 * When this boolean is true, isInTouchMode() returns true, otherwise it 1526 * returns super.isInTouchMode(). 1666 public boolean isInTouchMode() { method in class:ListPopupWindow.DropDownListView 1668 return (mHijackFocus && mListSelectionHidden) || super.isInTouchMode();
|
/frameworks/base/core/java/android/view/ |
H A D | ViewTreeObserver.java | 166 * @param isInTouchMode True if the view hierarchy is now in touch mode, false otherwise. 168 public void onTouchModeChanged(boolean isInTouchMode); argument
|
H A D | FocusFinder.java | 106 && (!userSetNextFocus.isInTouchMode()
|