Searched refs:hasWindowFocus (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/base/core/java/android/inputmethodservice/
H A DExtractButton.java47 @Override public boolean hasWindowFocus() { method in class:ExtractButton
H A DExtractEditText.java139 @Override public boolean hasWindowFocus() { method in class:ExtractEditText
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewActivity.java62 mHasWindowFocus = hasWindowFocus();
/frameworks/base/core/java/android/view/
H A DActionMode.java267 * @param hasWindowFocus True if the window containing the view that started this action mode
271 public void onWindowFocusChanged(boolean hasWindowFocus) {} argument
H A DViewRootImpl.java2162 final boolean hasWindowFocus = mAttachInfo.mHasWindowFocus && isViewVisible;
2163 final boolean regainedFocus = hasWindowFocus && mLostWindowFocus;
2166 } else if (!hasWindowFocus && mHadWindowFocus) {
2179 mHadWindowFocus = hasWindowFocus;
2181 if (hasWindowFocus && !isInLocalFocusMode()) {
2188 imm.onPreWindowFocus(mView, hasWindowFocus);
3557 boolean hasWindowFocus = msg.arg1 != 0;
3558 mAttachInfo.mHasWindowFocus = hasWindowFocus;
3560 profileRendering(hasWindowFocus);
3562 if (hasWindowFocus) {
[all...]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
H A DPopupMenuTest.java235 private static Matcher<Root> hasWindowFocus() { method in class:PopupMenuTest
245 return rootView.hasWindowFocus();
435 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
444 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
447 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
452 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
500 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
509 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
512 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DDropDownListView.java254 public boolean hasWindowFocus() { method in class:DropDownListView
255 return mHijackFocus || super.hasWindowFocus();
H A DSearchView.java1320 public void onWindowFocusChanged(boolean hasWindowFocus) { argument
1321 super.onWindowFocusChanged(hasWindowFocus);
1937 public void onWindowFocusChanged(boolean hasWindowFocus) { argument
1938 super.onWindowFocusChanged(hasWindowFocus);
1940 if (hasWindowFocus && mSearchView.hasFocus() && getVisibility() == VISIBLE) {
/frameworks/base/core/java/android/widget/
H A DDropDownListView.java326 public boolean hasWindowFocus() { method in class:DropDownListView
327 return mHijackFocus || super.hasWindowFocus();
H A DAutoCompleteTextView.java1083 if (hasFocus() && hasWindowFocus() && mPopupCanBeUpdated) {
1096 public void onWindowFocusChanged(boolean hasWindowFocus) { argument
1097 super.onWindowFocusChanged(hasWindowFocus);
1098 if (!hasWindowFocus && !mPopup.isDropDownAlwaysVisible()) {
H A DSearchView.java1360 public void onWindowFocusChanged(boolean hasWindowFocus) { argument
1361 super.onWindowFocusChanged(hasWindowFocus);
1980 public void onWindowFocusChanged(boolean hasWindowFocus) { argument
1981 super.onWindowFocusChanged(hasWindowFocus);
1983 if (hasWindowFocus && mSearchView.hasFocus() && getVisibility() == VISIBLE) {
H A DAbsListView.java2996 public void onWindowFocusChanged(boolean hasWindowFocus) { argument
2997 super.onWindowFocusChanged(hasWindowFocus);
3001 if (!hasWindowFocus) {
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java575 public void onWindowFocusChanged(boolean hasWindowFocus) { argument
577 if (!hasWindowFocus) {
581 super.onWindowFocusChanged(hasWindowFocus);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/animations/
H A DViewFocusAnimator.java143 if (mTargetView.isAttachedToWindow() && mTargetView.hasWindowFocus() &&
/frameworks/base/core/java/com/android/internal/view/
H A DFloatingActionMode.java249 public void onWindowFocusChanged(boolean hasWindowFocus) { argument
251 mFloatingToolbarVisibilityHelper.setWindowFocused(hasWindowFocus);
/frameworks/base/core/tests/coretests/src/android/text/method/
H A DForwardDeleteTest.java53 assertTrue(mTextView.hasWindowFocus());
H A DBackspaceTest.java53 assertTrue(mTextView.hasWindowFocus());
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java496 if (mServedView != null && mServedView.hasWindowFocus()) {
1377 if (false && view.hasWindowFocus()) {
1523 public void onPreWindowFocus(View rootView, boolean hasWindowFocus) { argument
1527 } if (hasWindowFocus) {
2380 sb.append(",windowFocus=" + view.hasWindowFocus());
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java353 public void onWindowFocusChanged(boolean hasWindowFocus); argument
H A DWebView.java2567 public void onWindowFocusChanged(boolean hasWindowFocus) { argument
2568 mProvider.getViewDelegate().onWindowFocusChanged(hasWindowFocus);
2569 super.onWindowFocusChanged(hasWindowFocus);
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java1402 public void onWindowFocusChanged(boolean hasWindowFocus) { argument
1403 super.onWindowFocusChanged(hasWindowFocus);
1407 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL) && !hasWindowFocus
1414 cb.onWindowFocusChanged(hasWindowFocus);
1418 mPrimaryActionMode.onWindowFocusChanged(hasWindowFocus);
1421 mFloatingActionMode.onWindowFocusChanged(hasWindowFocus);
2117 elevation = hasWindowFocus() ?
/frameworks/base/media/java/android/media/tv/
H A DTvView.java204 if (hasWindowFocus() && mSession != null) {
1079 if (hasWindowFocus() && TvView.this == sMainTvView.get()) {
H A DTvInputService.java1421 if (!mOverlayViewContainer.hasWindowFocus()) {
/frameworks/support/v4/java/android/support/v4/widget/
H A DDrawerLayout.java852 if (hasWindowFocus()) {
877 if (hasWindowFocus()) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java2907 public void onWindowFocusChanged(boolean hasWindowFocus) { argument
2908 super.onWindowFocusChanged(hasWindowFocus);
2909 if (!hasWindowFocus) {

Completed in 780 milliseconds

12