Searched refs:hasFocus (Results 1 - 25 of 56) sorted by relevance

123

/packages/apps/Launcher2/src/com/android/launcher2/
H A DFocusOnlyTabWidget.java64 if (v.hasFocus()) {
75 public void superOnFocusChange(View v, boolean hasFocus) { argument
76 super.onFocusChange(v, hasFocus);
80 public void onFocusChange(android.view.View v, boolean hasFocus) { argument
81 if (v == this && hasFocus && getTabCount() > 0) {
/packages/apps/Launcher3/src/com/android/launcher3/
H A DFocusOnlyTabWidget.java64 if (v.hasFocus()) {
75 public void superOnFocusChange(View v, boolean hasFocus) { argument
76 super.onFocusChange(v, hasFocus);
80 public void onFocusChange(android.view.View v, boolean hasFocus) { argument
81 if (v == this && hasFocus && getTabCount() > 0) {
H A DFocusIndicatorView.java66 public void onFocusChange(View v, boolean hasFocus) { argument
71 mPendingCall = Pair.create(v, hasFocus);
81 if (hasFocus) {
H A DHolographicImageView.java66 public void onFocusChange(View v, boolean hasFocus) {
H A DHolographicLinearLayout.java73 public void onFocusChange(View v, boolean hasFocus) {
/packages/apps/Gallery/src/com/android/camera/
H A DMovieView.java89 public void onWindowFocusChanged(boolean hasFocus) { argument
90 mFocused = hasFocus;
H A DHighlightView.java65 public boolean hasFocus() { method in class:HighlightView
83 if (!hasFocus()) {
103 hasFocus() ? mFocusPaint : mNoFocusPaint);
/packages/services/Telecomm/src/com/android/server/telecom/
H A DCallAudioManager.java67 if (hasFocus() && getForegroundCall() == call) {
78 if (hasFocus()) {
128 if (!hasFocus()) {
150 if (!hasFocus()) {
174 if (!hasFocus()) {
227 if (!hasFocus()) {
274 if (!hasFocus()) {
378 if (hasFocus()) {
392 Preconditions.checkState(hasFocus());
498 private boolean hasFocus() { method in class:CallAudioManager
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/
H A DActivityBase.java53 public void onWindowFocusChanged(boolean hasFocus) { argument
54 if (LOGV) Log.v(TAG, "onWindowFocusChanged.hasFocus=" + hasFocus
56 if (hasFocus && mOnResumePending) {
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DKeyboardInterpreter.java76 if (mTable.hasFocus()) {
86 if (mTable.hasFocus()) {
H A DEdgeSwipeDetector.java64 if (mTable.hasFocus()) {
H A DDragGestureDetector.java73 mDrag = mTable.hasFocus();
/packages/apps/Browser/src/com/android/browser/
H A DNavigationBarBase.java100 public void onFocusChange(View view, boolean hasFocus) { argument
102 if (hasFocus || view.isInTouchMode() || mUrlInput.needsUpdate()) {
103 setFocusState(hasFocus);
105 if (hasFocus) {
125 return mUrlInput.hasFocus();
236 if (!mUrlInput.hasFocus()) {
H A DNavigationBarPhone.java203 public void onFocusChange(View view, boolean hasFocus) { argument
205 if (hasFocus && !mUrlInput.getText().toString().equals(mUrlInput.getTag())) {
213 super.onFocusChange(view, hasFocus);
H A DXLargeUi.java249 if ((web != null) && web.hasFocus() && !mTitleBar.hasFocus()) {
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiConfigUiForSetupWizardXL.java204 public void onFocusChange(View view, boolean hasFocus) { argument
206 if (hasFocus) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DBaseScrollAdapterFragment.java178 boolean hasFocus = (mainPosition == 0.0);
179 if (hasFocus) {
H A DActionAdapter.java221 changeFocus(convertView, false /* hasFocus */, false /* shouldAnimate */);
256 changeFocus(mSelectedView, false /* hasFocus */, false /* shouldAnimate */);
267 boolean hasFocus = (mainPosition == 0.0);
268 if (hasFocus) {
270 changeFocus(view, true /* hasFocus */, true /* shouldAniamte */);
274 changeFocus(mSelectedView, false /* hasFocus */, true /* shouldAniamte */);
279 private void changeFocus(View v, boolean hasFocus, boolean shouldAnimate) { argument
286 ? (hasFocus ? mSelectedTitleAlpha : mUnselectedAlpha) : mDisabledTitleAlpha;
287 float descriptionAlpha = (!hasFocus || action.infoOnly()) ? mUnselectedDescriptionAlpha
307 if (mOnFocusListener != null && hasFocus) {
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DActivityController.java228 * @param hasFocus
230 void onWindowFocusChanged(boolean hasFocus); argument
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupBrowseListFragment.java286 public void onFocusChange(View view, boolean hasFocus) { argument
287 if (view == mListView && hasFocus) {
/packages/apps/Dialer/src/com/android/dialer/widget/
H A DSearchEditTextLayout.java106 public void onFocusChange(View v, boolean hasFocus) {
107 if (hasFocus) {
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountServerBaseFragment.java220 public void onFocusChange(View v, boolean hasFocus) {
221 if (hasFocus) {
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
H A DUserPresetsAdapter.java151 public void onFocusChange(View v, boolean hasFocus) { argument
156 if (!hasFocus) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
H A DDialogActionAdapter.java318 public void onFocusChange(View v, boolean hasFocus) { argument
319 if (hasFocus) {
321 changeFocus(v, true /* hasFocus */, true /* shouldAnimate */);
332 changeFocus(v, false /* hasFocus */, true /* shouldAnimate */);
336 private void changeFocus(View v, boolean hasFocus, boolean shouldAnimate) { argument
375 ? (hasFocus ? mSelectedTitleAlpha : mUnselectedAlpha) : mDisabledTitleAlpha;
376 float descriptionAlpha = (!hasFocus || action.infoOnly()) ? mUnselectedDescriptionAlpha
H A DSettingsLayoutAdapter.java372 public void onFocusChange(View v, boolean hasFocus) { argument
373 if (hasFocus) {
377 changeFocus(v, true /* hasFocus */, false /* shouldAnimate */);
379 changeFocus(v, true /* hasFocus */, true /* shouldAnimate */);
391 changeFocus(v, false /* hasFocus */, true /* shouldAnimate */);
395 private void changeFocus(View v, boolean hasFocus, boolean shouldAnimate) { argument
432 titleAlpha = hasFocus ? mSelectedTitleAlpha : mUnselectedAlpha;
437 if (!hasFocus || layoutRow.infoOnly()) {

Completed in 1352 milliseconds

123