/frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
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());
|
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());
|
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());
|
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());
|
FocusableInTouchModeClickTest.java | 39 assertTrue("should start in touch mode", getActivity().getButton1().isInTouchMode());
|
/frameworks/base/core/tests/coretests/src/android/util/ |
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/ |
LLOfButtons1.java | 62 public boolean isInTouchMode() { 63 return mFirstButton.isInTouchMode();
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
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/ |
GridPaddingTest.java | 41 assertTrue("Not in touch mode", mGridView.isInTouchMode());
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
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/ |
DescendantFocusabilityTest.java | 113 assertFalse(a.beforeDescendantsChild.isInTouchMode()); 116 assertTrue(a.beforeDescendantsChild.isInTouchMode()); 130 assertFalse(a.afterDescendantsChild.isInTouchMode()); 133 assertTrue(a.afterDescendantsChild.isInTouchMode());
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
ListWithFirstScreenUnSelectableTest.java | 42 assertTrue(mListView.isInTouchMode());
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
ListWithEditTextHeaderTest.java | 45 assertFalse("out of touch-mode", mListView.isInTouchMode());
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewWithDraggableItems.java | 104 if (!v.isInTouchMode()) return false;
|
/frameworks/base/core/java/android/widget/ |
ListPopupWindow.java | 599 if (!mModal || mDropDownList.isInTouchMode()) { [all...] |
TabHost.java | 200 public void onTouchModeChanged(boolean isInTouchMode) { 201 if (!isInTouchMode) {
|
GridView.java | 210 if (adapter == null || isInTouchMode()) { [all...] |
AbsListView.java | [all...] |
AdapterView.java | 870 if (mSelectedPosition != ListView.INVALID_POSITION && isShown() && !isInTouchMode()) { [all...] |
/frameworks/base/core/java/android/view/ |
ViewTreeObserver.java | 99 * @param isInTouchMode True if the view hierarchy is now in touch mode, false otherwise. 101 public void onTouchModeChanged(boolean isInTouchMode);
|
FocusFinder.java | 69 (!userSetNextFocus.isInTouchMode() ||
|
/packages/apps/Browser/src/com/android/browser/ |
NavigationBarBase.java | 106 if (hasFocus || view.isInTouchMode() || mUrlInput.needsUpdate()) {
|
UrlInputView.java | 329 if (keyCode == KeyEvent.KEYCODE_ESCAPE && !isInTouchMode()) {
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewTreeObserverTest.java | 367 public void onTouchModeChanged(boolean isInTouchMode) {
|
ViewTest.java | [all...] |