Home
last modified time | relevance | path

Searched refs:hasFocus (Results 1 – 25 of 80) sorted by relevance

1234

/packages/apps/Launcher2/src/com/android/launcher2/
DFocusOnlyTabWidget.java64 if (v.hasFocus()) { in setCurrentTabToFocusedTab()
75 public void superOnFocusChange(View v, boolean hasFocus) { in superOnFocusChange() argument
76 super.onFocusChange(v, hasFocus); in superOnFocusChange()
80 public void onFocusChange(android.view.View v, boolean hasFocus) { in onFocusChange() argument
81 if (v == this && hasFocus && getTabCount() > 0) { in onFocusChange()
/packages/apps/TV/src/com/android/tv/menu/
DPlayControlsRowView.java353 && mJumpPreviousButton.hasFocus()) in onBind()
355 && mRewindButton.hasFocus()) in onBind()
357 && mFastForwardButton.hasFocus()) in onBind()
359 && mJumpNextButton.hasFocus()))) { in onBind()
457 protected void onChildFocusChange(View v, boolean hasFocus) { in onChildFocusChange() argument
458 super.onChildFocusChange(v, hasFocus); in onChildFocusChange()
460 && !hasFocus) { in onChildFocusChange()
DMenuRowView.java53 public void onFocusChange(View v, boolean hasFocus) {
54 onChildFocusChange(v, hasFocus);
192 protected void onChildFocusChange(View v, boolean hasFocus) { in onChildFocusChange() argument
193 if (hasFocus) { in onChildFocusChange()
DPlayControlsButton.java73 int newTintColor = hasFocus() ? mIconFocusedColor : mIconColor; in setImageResId()
116 public void onFocusChange(View v, boolean hasFocus) { in setFocusedIconColor()
117 if (hasFocus) { in setFocusedIconColor()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DActionAdapter.java261 boolean hasFocus = (mainPosition == 0.0); in onScrolled()
262 if (hasFocus) { in onScrolled()
273 private void changeFocus(View v, boolean hasFocus, boolean shouldAnimate) { in changeFocus() argument
280 ? (hasFocus ? mSelectedTitleAlpha : mUnselectedAlpha) : mDisabledTitleAlpha; in changeFocus()
281 float descriptionAlpha = (!hasFocus || action.infoOnly()) ? mUnselectedDescriptionAlpha in changeFocus()
301 if (mOnFocusListener != null && hasFocus) { in changeFocus()
DBaseScrollAdapterFragment.java184 boolean hasFocus = (mainPosition == 0.0); in onScrolled()
185 if (hasFocus) { in onScrolled()
/packages/apps/LegacyCamera/src/com/android/camera/
DActivityBase.java53 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
54 if (LOGV) Log.v(TAG, "onWindowFocusChanged.hasFocus=" + hasFocus in onWindowFocusChanged()
56 if (hasFocus && mOnResumePending) { in onWindowFocusChanged()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmLockPassword.java85 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
86 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
89 ((ConfirmLockPasswordFragment)fragment).onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
327 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
328 if (!hasFocus) { in onWindowFocusChanged()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListActivity.java133 public void onWindowFocusChanged(final boolean hasFocus) { in onWindowFocusChanged() argument
134 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
140 if (hasFocus && conversationListFragment != null) { in onWindowFocusChanged()
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DFocusIndicatorHelper.java157 public void onFocusChange(View v, boolean hasFocus) { in onFocusChange() argument
158 if (hasFocus) { in onFocusChange()
189 mLastFocusedView = hasFocus ? v : null; in onFocusChange()
DViewGroupFocusHelper.java75 public void onFocusChange(View v, boolean hasFocus) { in getHideIndicatorOnFocusListener()
76 if (hasFocus) { in getHideIndicatorOnFocusListener()
/packages/apps/Car/Overview/src/com/android/car/overview/
DStreamAdapter.java254 boolean hasFocus = ((MediaPlaybackExtension) cardExtension).isPlaying(); in canAddMediaCard()
257 if (hasFocus) { in canAddMediaCard()
261 return hasFocus; in canAddMediaCard()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationActivity.java154 public void onWindowFocusChanged(final boolean hasFocus) { in onWindowFocusChanged() argument
155 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
159 if (hasFocus && conversationFragment != null) { in onWindowFocusChanged()
/packages/apps/Settings/tests/app/src/com/android/settings/search/
DSearchFragmentEspressoTest.java29 import static android.support.test.espresso.matcher.ViewMatchers.hasFocus;
48 onView(allOf(hasFocus(), withId(R.id.search_view))) in test_OpenKeyboardOnSearchLaunch()
/packages/apps/Gallery/src/com/android/camera/
DMovieView.java89 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
90 mFocused = hasFocus; in onWindowFocusChanged()
DHighlightView.java65 public boolean hasFocus() { in hasFocus() method in HighlightView
83 if (!hasFocus()) { in draw()
103 hasFocus() ? mFocusPaint : mNoFocusPaint); in draw()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMailActivity.java341 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
342 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
343 mController.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DKeyboardInterpreter.java76 if (mTable.hasFocus()) { in onKeyDown()
86 if (mTable.hasFocus()) { in onKeyDown()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchActivity.java311 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
312 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
313 if (hasFocus) { in onWindowFocusChanged()
/packages/apps/TV/src/com/android/tv/guide/
DGenreListAdapter.java119 public void onFocusChange(View view, boolean hasFocus) { in onFocusChange() argument
120 if (hasFocus) { in onFocusChange()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java218 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
638 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
639 if (mStartHidingShimmyWhenWindowGainsFocus && hasFocus) { in onWindowFocusChanged()
1520 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
1521 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
1522 mCurrentStateManager.getCurrentState().onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
DSetupWizardActivity.java403 public void onWindowFocusChanged(final boolean hasFocus) { in onWindowFocusChanged() argument
404 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
405 if (hasFocus && mNeedsToAdjustStepNumberToSystemState) { in onWindowFocusChanged()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
DUserPresetsAdapter.java151 public void onFocusChange(View v, boolean hasFocus) { in onFocusChange() argument
156 if (!hasFocus) { in onFocusChange()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java276 public void onFocusChange(View v, boolean hasFocus) { in onFocusChange() argument
277 if (!hasFocus) { in onFocusChange()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountServerBaseFragment.java220 public void onFocusChange(View v, boolean hasFocus) { in makeTextViewUneditable()
221 if (hasFocus) { in makeTextViewUneditable()

1234