HomeSort by relevance Sort by last modified time
    Searched refs:isInTouchMode (Results 1 - 25 of 70) sorted by null

1 2 3

  /frameworks/base/tools/layoutlib/bridge/src/android/view/
ViewRootImpl_Delegate.java 31 /*package*/ static boolean isInTouchMode() {
  /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());
ScrollingThroughListOfFocusablesTest.java 230 if (mListView.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 46 assertFalse("out of touch-mode", mListView.isInTouchMode());
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewWithDraggableItems.java 104 if (!v.isInTouchMode()) return false;
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
SwipeableListView.java 447 public void onTouchModeChanged(boolean isInTouchMode) {
448 super.onTouchModeChanged(isInTouchMode);
449 if (!isInTouchMode) {
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ListViewCompat.java 145 if (adapter == null || isInTouchMode()) {
  /packages/apps/Browser/src/com/android/browser/
NavigationBarBase.java 102 if (hasFocus || view.isInTouchMode() || mUrlInput.needsUpdate()) {
UrlInputView.java 296 if (keyCode == KeyEvent.KEYCODE_ESCAPE && !isInTouchMode()) {
  /packages/apps/Launcher3/src/com/android/launcher3/widget/
WidgetsContainerView.java 162 if (!v.isInTouchMode()) return false;
  /frameworks/base/core/java/android/widget/
ListPopupWindow.java 662 if (!mModal || mDropDownList.isInTouchMode()) {
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
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/
ListPopupWindow.java 658 if (!mModal || mDropDownList.isInTouchMode()) {
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewTreeObserverTest.java 410 public void onTouchModeChanged(boolean isInTouchMode) {

Completed in 646 milliseconds

1 2 3