Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java242 Rect previouslyFocusedRect) { in onFocusChanged() argument
243 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
256 if (previouslyFocusedRect != null) { in onFocusChanged()
257 int y = previouslyFocusedRect.top in onFocusChanged()
258 + (previouslyFocusedRect.height() / 2); in onFocusChanged()
/frameworks/base/core/java/android/text/method/
DTransformationMethod.java44 Rect previouslyFocusedRect); in onFocusChanged() argument
DAllCapsTransformationMethod.java51 Rect previouslyFocusedRect) { in onFocusChanged() argument
DReplacementTransformationMethod.java104 Rect previouslyFocusedRect) { in onFocusChanged() argument
DPasswordTransformationMethod.java122 Rect previouslyFocusedRect) { in onFocusChanged() argument
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardAbsKeyInputView.java140 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument
142 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DKeyguardAccountView.java128 Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument
130 return mLogin.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DSlidingChallengeLayout.java1007 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) {
1010 mChallengeView.requestFocus(direction, previouslyFocusedRect)) {
1013 return super.onRequestFocusInDescendants(direction, previouslyFocusedRect);
DPagedView.java996 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument
1005 return v.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
/frameworks/base/core/java/android/webkit/
DWebView.java1934 public boolean super_requestFocus(int direction, Rect previouslyFocusedRect) { in super_requestFocus() argument
1935 return WebView.super.requestFocus(direction, previouslyFocusedRect); in super_requestFocus()
2295 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
2296 mProvider.getViewDelegate().onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
2297 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
2324 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { in requestFocus() argument
2325 return mProvider.getViewDelegate().requestFocus(direction, previouslyFocusedRect); in requestFocus()
DWebViewProvider.java331 public void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect); in onFocusChanged() argument
349 public boolean requestFocus(int direction, Rect previouslyFocusedRect); in requestFocus() argument
/frameworks/base/core/java/android/widget/
DDialerFilter.java93 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
94 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
DSearchView.java417 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { in requestFocus() argument
424 boolean result = mQueryTextView.requestFocus(direction, previouslyFocusedRect); in requestFocus()
430 return super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
1725 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
1726 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
DHorizontalScrollView.java1416 Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument
1426 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants()
1429 previouslyFocusedRect, direction); in onRequestFocusInDescendants()
1439 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DScrollView.java1410 Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument
1420 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants()
1423 previouslyFocusedRect, direction); in onRequestFocusInDescendants()
1433 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DGridView.java1852 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
1853 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
1856 if (gainFocus && previouslyFocusedRect != null) { in onFocusChanged()
1857 previouslyFocusedRect.offset(mScrollX, mScrollY); in onFocusChanged()
1873 int distance = getDistance(previouslyFocusedRect, otherRect, direction); in onFocusChanged()
DAutoCompleteTextView.java1003 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
1004 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
DGallery.java1357 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
1358 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
DListView.java3519 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) {
3520 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
3525 if (adapter != null && gainFocus && previouslyFocusedRect != null) {
3526 previouslyFocusedRect.offset(mScrollX, mScrollY);
3551 int distance = getDistance(previouslyFocusedRect, otherRect, direction);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java448 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { in requestFocus() argument
455 boolean result = mQueryTextView.requestFocus(direction, previouslyFocusedRect); in requestFocus()
461 return super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
1665 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
1666 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
/frameworks/webview/chromium/java/com/android/webview/chromium/
DWebViewChromium.java1756 final Rect previouslyFocusedRect) {
1761 onFocusChanged(focused, direction, previouslyFocusedRect);
1766 mAwContents.onFocusChanged(focused, direction, previouslyFocusedRect);
1859 public boolean requestFocus(final int direction, final Rect previouslyFocusedRect) {
1865 return requestFocus(direction, previouslyFocusedRect);
1871 return mWebViewPrivate.super_requestFocus(direction, previouslyFocusedRect);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DActionMenuItemView.java252 int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
/frameworks/base/core/java/android/view/
DViewGroup.java599 void handleFocusGainInternal(int direction, Rect previouslyFocusedRect) { in handleFocusGainInternal() argument
604 super.handleFocusGainInternal(direction, previouslyFocusedRect); in handleFocusGainInternal()
2358 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { in requestFocus() argument
2367 return super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
2369 final boolean took = super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
2370 return took ? took : onRequestFocusInDescendants(direction, previouslyFocusedRect); in requestFocus()
2373 final boolean took = onRequestFocusInDescendants(direction, previouslyFocusedRect); in requestFocus()
2374 return took ? took : super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
2396 Rect previouslyFocusedRect) { in onRequestFocusInDescendants() argument
2414 if (child.requestFocus(direction, previouslyFocusedRect)) { in onRequestFocusInDescendants()
DView.java4599 void handleFocusGainInternal(int direction, Rect previouslyFocusedRect) { in handleFocusGainInternal() argument
4617 onFocusChanged(true, direction, previouslyFocusedRect); in handleFocusGainInternal()
4810 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
6977 public boolean requestFocus(int direction, Rect previouslyFocusedRect) {
6978 return requestFocusNoSearch(direction, previouslyFocusedRect);
6981 private boolean requestFocusNoSearch(int direction, Rect previouslyFocusedRect) {
6999 handleFocusGainInternal(direction, previouslyFocusedRect);
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java2689 Rect previouslyFocusedRect) {
2708 if (child.requestFocus(direction, previouslyFocusedRect)) {

12