Home
last modified time | relevance | path

Searched refs:focused (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
DPicker.java280 final boolean focused = column.hasFocus(); in updateColumn()
295 setOrAnimateAlpha(item, (selected == column.getChildAdapterPosition(item)), focused, in updateColumn()
307 private void setOrAnimateAlpha(View view, boolean selected, boolean focused, boolean animate, in setOrAnimateAlpha() argument
311 if ((focused && !mKeyDown) || mClicked) { in setOrAnimateAlpha()
320 if (focused && !mClicked && !mKeyDown) { in setOrAnimateAlpha()
484 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
485 super.requestChildFocus(child, focused); in requestChildFocus()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java602 public void setFastScrollFocused(final boolean focused, boolean animated) { in setFastScrollFocused() argument
607 if (mFastScrollFocused != focused) { in setFastScrollFocused()
608 mFastScrollFocused = focused; in setFastScrollFocused()
616 focused ? 1f : 0f); in setFastScrollFocused()
617 if (focused) { in setFastScrollFocused()
622 mFastScrollFocusAnimator.setDuration(focused ? in setFastScrollFocused()
626 mFastScrollFocusFraction = focused ? 1f : 0f; in setFastScrollFocused()
DPagedView.java1221 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
1234 return super.dispatchUnhandledMove(focused, direction); in dispatchUnhandledMove()
1262 public void focusableViewAvailable(View focused) { in focusableViewAvailable() argument
1264 View v = focused; in focusableViewAvailable()
1267 super.focusableViewAvailable(focused); in focusableViewAvailable()
1956 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
1957 super.requestChildFocus(child, focused); in requestChildFocus()
DShortcutAndWidgetContainer.java207 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
208 super.requestChildFocus(child, focused); in requestChildFocus()
DDragController.java492 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
493 return mMoveTarget != null && mMoveTarget.dispatchUnhandledMove(focused, direction); in dispatchUnhandledMove()
DDragLayer.java447 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
448 return mDragController.dispatchUnhandledMove(focused, direction); in dispatchUnhandledMove()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSearchActivityView.java519 public void onFocusChange(View v, boolean focused) { in onFocusChange() argument
520 if (DBG) Log.d(TAG, "Suggestions focus change, now: " + focused); in onFocusChange()
521 if (focused) { in onFocusChange()
529 public void onFocusChange(View v, boolean focused) { in onFocusChange() argument
530 if (DBG) Log.d(TAG, "Query focus change, now: " + focused); in onFocusChange()
531 if (focused) { in onFocusChange()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java900 public void requestChildFocus(View child, View focused) {
902 super.requestChildFocus(child, focused);
1665 private boolean requestNextFocus(int direction, View focused, View newFocus) {
1666 focused.getFocusedRect(mTempRect);
1667 offsetDescendantRectToMyCoords(focused, mTempRect);
1676 View focused = findFocus();
1677 if (currentTop == currentExpandable && focused != null && !forceFindNextExpandable) {
1679 View v = focused.focusSearch(direction);
1680 if (v != null && v != focused && isDescendant(currentTop, v)) {
1681 requestNextFocus(direction, focused, v);
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java886 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
899 return super.dispatchUnhandledMove(focused, direction); in dispatchUnhandledMove()
927 public void focusableViewAvailable(View focused) { in focusableViewAvailable() argument
929 View v = focused; in focusableViewAvailable()
932 super.focusableViewAvailable(focused); in focusableViewAvailable()
1440 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
1441 super.requestChildFocus(child, focused); in requestChildFocus()
DPagedViewCellLayoutChildren.java68 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
69 super.requestChildFocus(child, focused); in requestChildFocus()
DShortcutAndWidgetContainer.java166 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
167 super.requestChildFocus(child, focused); in requestChildFocus()
DCling.java147 public View focusSearch(View focused, int direction) { in focusSearch() argument
148 return FocusFinder.getInstance().findNextFocus(this, focused, direction); in focusSearch()
DDragController.java470 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
471 return mMoveTarget != null && mMoveTarget.dispatchUnhandledMove(focused, direction); in dispatchUnhandledMove()
DDragLayer.java359 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
360 return mDragController.dispatchUnhandledMove(focused, direction); in dispatchUnhandledMove()
/packages/apps/Browser/src/com/android/browser/
DUrlInputView.java108 protected void onFocusChanged(boolean focused, int direction, Rect prevRect) { in onFocusChanged() argument
109 super.onFocusChanged(focused, direction, prevRect); in onFocusChanged()
111 if (focused) { in onFocusChanged()
DTitleBar.java395 public View focusSearch(View focused, int dir) { in focusSearch() argument
401 return super.focusSearch(focused, dir); in focusSearch()
/packages/apps/LegacyCamera/src/com/android/camera/
DFocusManager.java204 public void onAutoFocus(boolean focused) { in onAutoFocus() argument
209 if (focused) { in onAutoFocus()
220 if (focused) { in onAutoFocus()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusOverlayManager.java250 public void onAutoFocus(boolean focused, boolean shutterButtonPressed) { in onAutoFocus() argument
255 if (focused) { in onAutoFocus()
266 if (focused) { in onAutoFocus()
/packages/apps/Camera/src/com/android/camera/
DFocusOverlayManager.java256 public void onAutoFocus(boolean focused, boolean shutterButtonPressed) { in onAutoFocus() argument
261 if (focused) { in onAutoFocus()
272 if (focused) { in onAutoFocus()
/packages/apps/Camera2/src/com/android/camera/
DFocusOverlayManager.java272 public void onAutoFocus(boolean focused, boolean shutterButtonPressed) { in onAutoFocus() argument
277 if (focused) { in onAutoFocus()
287 if (focused) { in onAutoFocus()
DPhotoModule.java1034 public void onAutoFocus(boolean focused, CameraProxy camera) { in onAutoFocus() argument
1035 SessionStatsCollector.instance().autofocusResult(focused); in onAutoFocus()
1041 Log.v(TAG, "mAutoFocusTime = " + mAutoFocusTime + "ms focused = "+focused); in onAutoFocus()
1043 mFocusManager.onAutoFocus(focused, false); in onAutoFocus()
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDigitsEditText.java45 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
46 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/
DFragmentTestCase.java107 protected void setFocus(final View view, final boolean focused) { in setFocus() argument
111 if (focused) { in setFocus()
/packages/apps/Browser/src/com/android/browser/view/
DScrollerView.java1651 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
1653 scrollToChild(focused); in requestChildFocus()
1656 mChildToScrollTo = focused; in requestChildFocus()
1658 super.requestChildFocus(child, focused); in requestChildFocus()
/packages/apps/InCallUI/src/com/android/incallui/
DCallButtonFragment.java321 int[] focused = {android.R.attr.state_focused}; in addFocused() local
323 drawable.addState(focused, focusedDrawable); in addFocused()

12