/cts/tests/tests/view/src/android/view/cts/ |
View_FocusHandlingTest.java | 103 assertTrue(v1.hasFocus()); 104 assertFalse(v2.hasFocus()); 105 assertFalse(v3.hasFocus()); 106 assertFalse(v4.hasFocus()); 109 assertFalse(v1.hasFocus()); 110 assertTrue(v2.hasFocus()); 111 assertFalse(v3.hasFocus()); 112 assertFalse(v4.hasFocus()); 115 assertFalse(v1.hasFocus()); 116 assertFalse(v2.hasFocus()); [all...] |
View_UsingViewsTest.java | 265 boolean focusWasOnEditText = mEditText.hasFocus(); 283 assertTrue(mEditText.hasFocus()); 284 assertFalse(mButtonOk.hasFocus()); 285 assertFalse(mButtonCancel.hasFocus()); 286 assertFalse(mSymbolTextView.hasFocus()); 287 assertFalse(mWarningTextView.hasFocus()); 289 assertTrue(editListener.hasFocus() || focusWasOnEditText); 290 assertFalse(okListener.hasFocus()); 291 assertFalse(cancelListener.hasFocus()); 292 assertFalse(symbolListener.hasFocus()); [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
ListOfButtonsTest.java | 62 assertFalse(mButtonAtTop.hasFocus()); 63 assertTrue(mListView.hasFocus()); 72 assertTrue(mButtonAtTop.hasFocus()); 73 assertFalse(mListView.hasFocus()); 80 assertTrue(mListView.hasFocus()); 85 assertTrue(childOne.hasFocus()); 94 mButtonAtTop.hasFocus()); 95 assertTrue(mListView.hasFocus()); 109 assertTrue(indexInfo, mListView.hasFocus()); 114 assertTrue(indexInfo, button.hasFocus()); [all...] |
FocusAfterRemovalTest.java | 67 assertTrue(mTopLeftButton.hasFocus()); 80 mTopRightButton.hasFocus()); 89 assertTrue(mBottomLeftButton.hasFocus()); 97 mTopRightButton.hasFocus()); 105 assertTrue(mTopRightButton.hasFocus()); 112 mTopLeftButton.hasFocus()); 121 assertTrue(mBottomRightButton.hasFocus()); 128 mTopLeftButton.hasFocus());
|
FocusChangeWithInterestingRectHintTest.java | 63 assertTrue(mLeftColumn.hasFocus()); 81 mMiddleColumn.hasFocus()); 86 mRightColumn.hasFocus()); 95 mRightColumn.hasFocus()); 99 mMiddleColumn.hasFocus());
|
GoneParentFocusedChildTest.java | 43 getActivity().getButton().hasFocus());
|
ListWithFooterViewAndNewLabelsTest.java | 59 assertTrue(mButton.hasFocus());
|
RequestFocusTest.java | 73 assertTrue("requestFocus() should work from onCreate.", mBottomRightButton.hasFocus()); 89 assertTrue("Focus should move to bottom left", mBottomLeftButton.hasFocus()); 130 assertTrue(clearingFocusButton.hasFocus()); 173 assertTrue(clearingFocusButton.hasFocus());
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FocusOnlyTabWidget.java | 64 if (v.hasFocus()) { 75 public void superOnFocusChange(View v, boolean hasFocus) { 76 super.onFocusChange(v, hasFocus); 80 public void onFocusChange(android.view.View v, boolean hasFocus) { 81 if (v == this && hasFocus && getTabCount() > 0) {
|
/external/webkit/Source/WebKit/mac/Plugins/ |
WebNetscapePluginEventHandler.h | 58 virtual void focusChanged(bool hasFocus) = 0; 59 virtual void windowFocusChanged(bool hasFocus) = 0;
|
WebNetscapePluginEventHandlerCarbon.h | 55 virtual void windowFocusChanged(bool hasFocus); 56 virtual void focusChanged(bool hasFocus);
|
WebNetscapePluginEventHandlerCocoa.h | 53 virtual void windowFocusChanged(bool hasFocus); 54 virtual void focusChanged(bool hasFocus);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
AdjacentListsWithAdjacentISVsInsideTest.java | 54 assertTrue(mLeftListView.hasFocus()); 68 assertTrue(mLeftListView.hasFocus()); 81 assertTrue(mLeftListView.hasFocus()); 86 assertTrue("mRightListView.hasFocus()", mRightListView.hasFocus());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
EditTextRule.java | 67 final boolean hasFocus = hasFocus(selectedNode); 68 final String label = hasFocus ? "Clear Focus" : "Request Focus"; 84 if (!hasFocus) { 98 private static boolean hasFocus(INode node) {
|
/frameworks/base/core/tests/coretests/src/android/view/ |
VisibilityTest.java | 68 assertTrue(mVisible.hasFocus()); 74 assertTrue(mInvisible.hasFocus()); 89 assertTrue(mGone.hasFocus()); 103 assertTrue(mGone.hasFocus()); 123 assertTrue(mGone.hasFocus()); 143 assertTrue(mInvisible.hasFocus()); 163 assertTrue(mInvisible.hasFocus());
|
/frameworks/base/core/java/android/widget/ |
ZoomControls.java | 108 public boolean hasFocus() { 109 return mZoomIn.hasFocus() || mZoomOut.hasFocus();
|
/external/webkit/Source/WebKit2/PluginProcess/mac/ |
PluginControllerProxyMac.mm | 81 void PluginControllerProxy::windowFocusChanged(bool hasFocus) 83 m_plugin->windowFocusChanged(hasFocus);
|
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
TouchModeFocusChangeTest.java | 65 assertFalse("button.hasFocus", 66 mFirstButton.hasFocus()); 69 mActivity.getLayout().hasFocus());
|
/packages/apps/Gallery/src/com/android/camera/ |
MovieView.java | 89 public void onWindowFocusChanged(boolean hasFocus) { 90 mFocused = hasFocus;
|
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
SDL_wimppoll.c | 76 int hasFocus = 0; 85 if (hasFocus) RISCOS_PollKeyboard(); 211 if (hasFocus == 0) 237 hasFocus = 0; 243 hasFocus = 1;
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
ScrollViewButtonsAndLabelsTest.java | 74 assertTrue(firstButtonOffScreen.hasFocus()); 110 assertTrue("last button should have focus", lastButton.hasFocus()); 132 assertTrue("we want to be at offScreenButton", offScreenButton.hasFocus()); 154 assertTrue("should be back at top button", topButton.hasFocus()); 172 assertTrue("we want to be at the last button", lastButton.hasFocus());
|
/frameworks/base/services/java/com/android/server/wm/ |
FakeWindowImpl.java | 44 boolean hasFocus, boolean touchFullscreen) { 71 mWindowHandle.hasFocus = hasFocus;
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
ActivityBase.java | 53 public void onWindowFocusChanged(boolean hasFocus) { 54 if (LOGV) Log.v(TAG, "onWindowFocusChanged.hasFocus=" + hasFocus 56 if (hasFocus && mOnResumePending) {
|
/frameworks/base/services/java/com/android/server/input/ |
InputWindowHandle.java | 72 public boolean hasFocus;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ZoomControlsTest.java | 111 assertFalse(zoomControls.hasFocus()); 114 assertTrue(zoomControls.hasFocus());
|