Home
last modified time | relevance | path

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

123

/packages/apps/TV/src/com/android/tv/menu/
DMenuRowView.java55 public void onFocusChange(View v, boolean hasFocus) {
56 onChildFocusChange(v, hasFocus);
201 protected void onChildFocusChange(View v, boolean hasFocus) { in onChildFocusChange() argument
202 if (hasFocus) { in onChildFocusChange()
DPlayControlsRowView.java375 && mJumpPreviousButton.hasFocus()) in onBind()
377 && mRewindButton.hasFocus()) in onBind()
381 && mFastForwardButton.hasFocus()) in onBind()
385 && mJumpNextButton.hasFocus()))) { in onBind()
480 protected void onChildFocusChange(View v, boolean hasFocus) { in onChildFocusChange() argument
481 super.onChildFocusChange(v, hasFocus); in onChildFocusChange()
483 && !hasFocus) { in onChildFocusChange()
DPlayControlsButton.java71 int newTintColor = hasFocus() ? mIconFocusedColor : mIconColor; in setImageResId()
113 public void onFocusChange(View v, boolean hasFocus) { in setFocusedIconColor()
114 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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmLockPassword.java86 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
87 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
90 ((ConfirmLockPasswordFragment)fragment).onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
313 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
314 if (!hasFocus) { in onWindowFocusChanged()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmLockPassword.java86 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
87 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
90 ((ConfirmLockPasswordFragment)fragment).onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
313 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
314 if (!hasFocus) { in onWindowFocusChanged()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/voice/
DRecognizerView.java205 public void setMicFocused(boolean hasFocus) { in setMicFocused() argument
207 if (hasFocus) { in setMicFocused()
213 LeanbackUtils.sendAccessibilityEvent(mMicButton, hasFocus); in setMicFocused()
/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()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java457 public void onFocusChange(View v, boolean hasFocus) { in onFocusChange() argument
458 if (!hasFocus && !mChipViewManager.hasCheckedItems()) { in onFocusChange()
465 mListener.onSearchViewFocusChanged(hasFocus); in onFocusChange()
610 void onSearchViewFocusChanged(boolean hasFocus);
/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/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/screensavers/PhotoTable/src/com/android/dreams/phototable/
DKeyboardInterpreter.java76 if (mTable.hasFocus()) { in onKeyDown()
86 if (mTable.hasFocus()) { in onKeyDown()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/suggestions/
DSuggestionItemView.java70 public void onFocusChange(View v, boolean hasFocus) { in onFinishInflate()
71 if (hasFocus) { in onFinishInflate()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DInstrumentClusterFragment.java242 if (!hasFocus()) { in startSendTurn()
283 if (hasFocus()) { in initCluster()
294 private boolean hasFocus() { in hasFocus() method in InstrumentClusterFragment
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/ime/
DInputTestFragment.java107 mTestEditText.setOnFocusChangeListener((view, hasFocus) -> { in setListners() argument
109 if (hasFocus) { in setListners()
/packages/apps/TV/src/com/android/tv/guide/
DGenreListAdapter.java117 public void onFocusChange(View view, boolean hasFocus) { in onFocusChange() argument
118 if (hasFocus) { in onFocusChange()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAllAppsSearchBarController.java131 public void onFocusChange(View view, boolean hasFocus) { in onFocusChange() argument
132 if (!hasFocus) { in onFocusChange()
/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/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
DKeypadFragment.java146 public void onFocusChange(View v, boolean hasFocus) { in onFocusChange() argument
147 if (!hasFocus && mIsKeyDown) { in onFocusChange()
/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/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DSearchView.java106 (view, hasFocus) -> { in SearchView() argument
107 if (hasFocus) { in SearchView()

123