Home
last modified time | relevance | path

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

123

/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.java227 && mJumpPreviousButton.hasFocus()) in onBind()
229 && mRewindButton.hasFocus()) in onBind()
231 && mFastForwardButton.hasFocus()) in onBind()
233 && mJumpNextButton.hasFocus()))) { in onBind()
342 protected void onChildFocusChange(View v, boolean hasFocus) { in onChildFocusChange() argument
343 super.onChildFocusChange(v, hasFocus); in onChildFocusChange()
345 && !hasFocus) { in onChildFocusChange()
DMenuRowView.java72 public void onFocusChange(View v, boolean hasFocus) {
73 onChildFocusChange(v, hasFocus);
211 protected void onChildFocusChange(View v, boolean hasFocus) { in onChildFocusChange() argument
212 if (hasFocus) { in onChildFocusChange()
/packages/apps/Launcher3/src/com/android/launcher3/
DFocusIndicatorView.java60 public void onFocusChange(View v, boolean hasFocus) { in FocusIndicatorView()
61 if (hasFocus) { in FocusIndicatorView()
89 public void onFocusChange(View v, boolean hasFocus) { in onFocusChange() argument
94 mPendingCall = Pair.create(v, hasFocus); in onFocusChange()
105 if (hasFocus) { in onFocusChange()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DActionAdapter.java267 boolean hasFocus = (mainPosition == 0.0); in onScrolled()
268 if (hasFocus) { in onScrolled()
279 private void changeFocus(View v, boolean hasFocus, boolean shouldAnimate) { in changeFocus() argument
286 ? (hasFocus ? mSelectedTitleAlpha : mUnselectedAlpha) : mDisabledTitleAlpha; in changeFocus()
287 float descriptionAlpha = (!hasFocus || action.infoOnly()) ? mUnselectedDescriptionAlpha in changeFocus()
307 if (mOnFocusListener != null && hasFocus) { in changeFocus()
DBaseScrollAdapterFragment.java184 boolean hasFocus = (mainPosition == 0.0); in onScrolled()
185 if (hasFocus) { in onScrolled()
/packages/apps/Settings/src/com/android/settings/
DConfirmLockPassword.java82 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
83 super.onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
86 ((ConfirmLockPasswordFragment)fragment).onWindowFocusChanged(hasFocus); in onWindowFocusChanged()
299 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
300 if (!hasFocus || mBlockImm) { in onWindowFocusChanged()
DProxySelector.java266 public void onFocusChange(View v, boolean hasFocus) {
267 if (hasFocus) {
/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/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
DPicker.java266 updateColumn(column, column.hasFocus(), animList); in childFocusChanged()
283 final boolean focused = column.hasFocus(); in updateColumn()
417 mGridView.hasFocus(), false, null); in onBindViewHolder()
449 updateColumn(mGridView, mGridView.hasFocus(), null); in onChildSelected()
/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/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/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()
DMaterialSearchActionView.java104 public void focusSearchBar(boolean hasFocus) { in focusSearchBar() argument
105 if (hasFocus) { in focusSearchBar()
/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/Gallery/src/com/android/camera/
DHighlightView.java65 public boolean hasFocus() { in hasFocus() method in HighlightView
83 if (!hasFocus()) { in draw()
103 hasFocus() ? mFocusPaint : mNoFocusPaint); in draw()
DMovieView.java89 public void onWindowFocusChanged(boolean hasFocus) { in onWindowFocusChanged() argument
90 mFocused = 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/TV/src/com/android/tv/guide/
DGenreListAdapter.java106 public void onFocusChange(View view, boolean hasFocus) { in onFocusChange() argument
107 if (hasFocus) { in onFocusChange()
/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/Email/src/com/android/email/activity/setup/
DAccountServerBaseFragment.java220 public void onFocusChange(View v, boolean hasFocus) { in makeTextViewUneditable()
221 if (hasFocus) { in makeTextViewUneditable()
/packages/apps/Dialer/src/com/android/dialer/widget/
DSearchEditTextLayout.java121 public void onFocusChange(View v, boolean hasFocus) { in onFinishInflate()
122 if (hasFocus) { in onFinishInflate()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupBrowseListFragment.java287 public void onFocusChange(View view, boolean hasFocus) { in onFocusChange() argument
288 if (view == mListView && hasFocus) { in onFocusChange()

123