Home
last modified time | relevance | path

Searched refs:previouslyFocusedRect (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/widget/
DInternalSelectionView.java240 Rect previouslyFocusedRect) { in onFocusChanged() argument
241 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
254 if (previouslyFocusedRect != null) { in onFocusChanged()
255 int y = previouslyFocusedRect.top in onFocusChanged()
256 + (previouslyFocusedRect.height() / 2); in onFocusChanged()
DTextViewTest.java470 int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java488 @Nullable Rect previouslyFocusedRect) { in onFocusChanged() argument
496 int row = findClosestRow(previouslyFocusedRect); in onFocusChanged()
501 int row = findClosestRow(previouslyFocusedRect) + 1; in onFocusChanged()
506 final int col = findClosestColumn(previouslyFocusedRect); in onFocusChanged()
512 final int col = findClosestColumn(previouslyFocusedRect); in onFocusChanged()
522 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
528 private int findClosestRow(@Nullable Rect previouslyFocusedRect) { in findClosestRow() argument
529 if (previouslyFocusedRect == null) { in findClosestRow()
534 int centerY = previouslyFocusedRect.centerY(); in findClosestRow()
558 private int findClosestColumn(@Nullable Rect previouslyFocusedRect) { in findClosestColumn() argument
[all …]
DDialerFilter.java96 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
97 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
DSearchView.java488 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { in requestFocus() argument
498 return found.requestFocus(FOCUS_BACKWARD, previouslyFocusedRect); in requestFocus()
502 boolean result = mSearchSrcTextView.requestFocus(direction, previouslyFocusedRect); in requestFocus()
508 return super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
2031 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
2032 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
DHorizontalScrollView.java1664 Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument
1674 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants()
1677 previouslyFocusedRect, direction); in onRequestFocusInDescendants()
1687 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DGridView.java1959 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
1960 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
1963 if (gainFocus && previouslyFocusedRect != null) { in onFocusChanged()
1964 previouslyFocusedRect.offset(mScrollX, mScrollY); in onFocusChanged()
1980 int distance = getDistance(previouslyFocusedRect, otherRect, direction); in onFocusChanged()
DScrollView.java1766 Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument
1776 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants()
1779 previouslyFocusedRect, direction); in onRequestFocusInDescendants()
1789 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DAutoCompleteTextView.java1187 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
1188 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
DGallery.java1406 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
1407 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
DListView.java3776 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) {
3777 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
3782 if (adapter != null && gainFocus && previouslyFocusedRect != null) {
3783 previouslyFocusedRect.offset(mScrollX, mScrollY);
3808 int distance = getDistance(previouslyFocusedRect, otherRect, direction);
/frameworks/base/core/java/android/text/method/
DTransformationMethod.java46 Rect previouslyFocusedRect); in onFocusChanged() argument
DAllCapsTransformationMethod.java71 Rect previouslyFocusedRect) { in onFocusChanged() argument
DTranslationTransformationMethod.java98 Rect previouslyFocusedRect) { in onFocusChanged() argument
DReplacementTransformationMethod.java104 Rect previouslyFocusedRect) { in onFocusChanged() argument
DInsertModeTransformationMethod.java151 Rect previouslyFocusedRect) { in onFocusChanged() argument
154 previouslyFocusedRect); in onFocusChanged()
DPasswordTransformationMethod.java123 Rect previouslyFocusedRect) { in onFocusChanged() argument
/frameworks/base/core/java/com/android/internal/widget/
DNumericTextView.java70 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
71 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPinBasedInputView.java68 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument
70 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DKeyguardPasswordView.java182 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument
184 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
/frameworks/base/core/java/android/webkit/
DWebView.java2462 public boolean super_requestFocus(int direction, Rect previouslyFocusedRect) { in super_requestFocus() argument
2463 return WebView.super.requestFocus(direction, previouslyFocusedRect); in super_requestFocus()
2988 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
2989 mProvider.getViewDelegate().onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
2990 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
3018 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { in requestFocus() argument
3019 return mProvider.getViewDelegate().requestFocus(direction, previouslyFocusedRect); in requestFocus()
DWebViewProvider.java439 public void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect); in onFocusChanged() argument
457 public boolean requestFocus(int direction, Rect previouslyFocusedRect); in requestFocus() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DCropView.java241 Rect previouslyFocusedRect) { in onFocusChanged() argument
242 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
243 mExploreByTouchHelper.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileViewImpl.kt362 override fun onFocusChanged(gainFocus: Boolean, direction: Int, previouslyFocusedRect: Rect?) { in <lambda>()
363 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java1025 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
1026 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()

12