Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java239 Rect previouslyFocusedRect) { in onFocusChanged() argument
240 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
253 if (previouslyFocusedRect != null) { in onFocusChanged()
254 int y = previouslyFocusedRect.top in onFocusChanged()
255 + (previouslyFocusedRect.height() / 2); in onFocusChanged()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java477 @Nullable Rect previouslyFocusedRect) { in onFocusChanged() argument
485 int row = findClosestRow(previouslyFocusedRect); in onFocusChanged()
490 int row = findClosestRow(previouslyFocusedRect) + 1; in onFocusChanged()
495 final int col = findClosestColumn(previouslyFocusedRect); in onFocusChanged()
501 final int col = findClosestColumn(previouslyFocusedRect); in onFocusChanged()
511 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
517 private int findClosestRow(@Nullable Rect previouslyFocusedRect) { in findClosestRow() argument
518 if (previouslyFocusedRect == null) { in findClosestRow()
523 int centerY = previouslyFocusedRect.centerY(); in findClosestRow()
547 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
495 boolean result = mSearchSrcTextView.requestFocus(direction, previouslyFocusedRect); in requestFocus()
501 return super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
2023 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
2024 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
DHorizontalScrollView.java1565 Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument
1575 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants()
1578 previouslyFocusedRect, direction); in onRequestFocusInDescendants()
1588 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DScrollView.java1604 Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument
1614 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants()
1617 previouslyFocusedRect, direction); in onRequestFocusInDescendants()
1627 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DGridView.java1958 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
1959 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
1962 if (gainFocus && previouslyFocusedRect != null) { in onFocusChanged()
1963 previouslyFocusedRect.offset(mScrollX, mScrollY); in onFocusChanged()
1979 int distance = getDistance(previouslyFocusedRect, otherRect, direction); in onFocusChanged()
DAutoCompleteTextView.java1171 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
1172 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
DGallery.java1405 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
1406 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
DListView.java3774 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) {
3775 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
3780 if (adapter != null && gainFocus && previouslyFocusedRect != null) {
3781 previouslyFocusedRect.offset(mScrollX, mScrollY);
3806 int distance = getDistance(previouslyFocusedRect, otherRect, direction);
DTextView.java10790 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
10793 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
10808 mTransformation.onFocusChanged(this, mText, focused, direction, previouslyFocusedRect); in onFocusChanged()
10811 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
/frameworks/base/core/java/android/text/method/
DTransformationMethod.java46 Rect previouslyFocusedRect); in onFocusChanged() argument
DAllCapsTransformationMethod.java71 Rect previouslyFocusedRect) { in onFocusChanged() argument
DReplacementTransformationMethod.java104 Rect previouslyFocusedRect) { in onFocusChanged() argument
DPasswordTransformationMethod.java123 Rect previouslyFocusedRect) { in onFocusChanged() argument
/frameworks/base/core/java/com/android/internal/widget/
DNumericTextView.java69 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
70 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
DViewPager.java2650 Rect previouslyFocusedRect) {
2669 if (child.requestFocus(direction, previouslyFocusedRect)) {
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPinBasedInputView.java57 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument
59 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DKeyguardPasswordView.java235 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument
237 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
/frameworks/base/core/java/android/webkit/
DWebView.java2423 public boolean super_requestFocus(int direction, Rect previouslyFocusedRect) { in super_requestFocus() argument
2424 return WebView.super.requestFocus(direction, previouslyFocusedRect); in super_requestFocus()
2917 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
2918 mProvider.getViewDelegate().onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
2919 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
2947 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { in requestFocus() argument
2948 return mProvider.getViewDelegate().requestFocus(direction, previouslyFocusedRect); in requestFocus()
DWebViewProvider.java407 public void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect); in onFocusChanged() argument
425 public boolean requestFocus(int direction, Rect previouslyFocusedRect); in requestFocus() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java559 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
560 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
/frameworks/base/core/java/android/view/
DViewGroup.java812 void handleFocusGainInternal(int direction, Rect previouslyFocusedRect) { in handleFocusGainInternal() argument
818 super.handleFocusGainInternal(direction, previouslyFocusedRect); in handleFocusGainInternal()
3249 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { in requestFocus() argument
3259 result = super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
3262 final boolean took = super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
3264 previouslyFocusedRect); in requestFocus()
3268 final boolean took = onRequestFocusInDescendants(direction, previouslyFocusedRect); in requestFocus()
3269 result = took ? took : super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
3296 Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument
3314 if (child.requestFocus(direction, previouslyFocusedRect)) { in onRequestFocusInDescendants()
DView.java7582 void handleFocusGainInternal(@FocusRealDirection int direction, Rect previouslyFocusedRect) {
7601 onFocusChanged(true, direction, previouslyFocusedRect);
7905 @Nullable Rect previouslyFocusedRect) {
12939 public boolean requestFocus(int direction, Rect previouslyFocusedRect) {
12940 return requestFocusNoSearch(direction, previouslyFocusedRect);
12943 private boolean requestFocusNoSearch(int direction, Rect previouslyFocusedRect) {
12966 handleFocusGainInternal(direction, previouslyFocusedRect);
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java376 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
377 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()

12