/frameworks/base/core/tests/coretests/src/android/util/ |
D | InternalSelectionView.java | 239 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/ |
D | SimpleMonthView.java | 477 @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 …]
|
D | DialerFilter.java | 96 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument 97 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
|
D | SearchView.java | 488 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()
|
D | HorizontalScrollView.java | 1565 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()
|
D | ScrollView.java | 1604 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()
|
D | GridView.java | 1958 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()
|
D | AutoCompleteTextView.java | 1171 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument 1172 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
|
D | Gallery.java | 1405 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument 1406 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
|
D | ListView.java | 3774 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);
|
D | TextView.java | 10790 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/ |
D | TransformationMethod.java | 46 Rect previouslyFocusedRect); in onFocusChanged() argument
|
D | AllCapsTransformationMethod.java | 71 Rect previouslyFocusedRect) { in onFocusChanged() argument
|
D | ReplacementTransformationMethod.java | 104 Rect previouslyFocusedRect) { in onFocusChanged() argument
|
D | PasswordTransformationMethod.java | 123 Rect previouslyFocusedRect) { in onFocusChanged() argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NumericTextView.java | 69 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument 70 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
|
D | ViewPager.java | 2650 Rect previouslyFocusedRect) { 2669 if (child.requestFocus(direction, previouslyFocusedRect)) {
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPinBasedInputView.java | 57 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument 59 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
|
D | KeyguardPasswordView.java | 235 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument 237 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 2423 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()
|
D | WebViewProvider.java | 407 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/ |
D | RemoteInputView.java | 559 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/ |
D | ViewGroup.java | 812 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()
|
D | View.java | 7582 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/ |
D | EditStyledText.java | 376 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument 377 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
|