/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarView.java | 1103 final int direction = isLayoutRtl ? 1 : -1; 1152 menuStart += direction * mMenuView.getMeasuredWidth(); 1158 menuStart += direction * mIndeterminateProgressView.getMeasuredWidth(); 1180 menuStart += direction * ablp.getMarginEnd();
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouter.java | 2720 public void onAdjustVolume(final int direction) { 2725 mSelectedRoute.requestUpdateVolume(direction); 2778 public void onVolumeUpdateRequest(int direction) { argument 2780 mSelectedRoute.requestUpdateVolume(direction);
|
H A D | SystemMediaRouteProvider.java | 444 public void onVolumeUpdateRequest(Object routeObj, int direction) { argument 447 record.mRoute.requestUpdateVolume(direction);
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 520 * given direction. In rare cases, the default algorithm may not match the 554 * Any time a user hits a directional key, such as a D-pad direction, the view device will 1970 * A flag to indicate that the layout direction of this view has not been defined yet. 1976 * Horizontal layout direction of this view is from Left to Right. 1982 * Horizontal layout direction of this view is from Right to Left. 1988 * Horizontal layout direction of this view is inherited from its parent. 1994 * Horizontal layout direction of this view is from deduced from the default language 2000 * Bit shift to get the horizontal layout direction. (bits after DRAG_HOVERED) 2006 * Mask for use with private flags indicating bits used for horizontal layout direction. 2012 * Indicates whether the view horizontal layout direction ha 5947 handleFocusGainInternal(@ocusRealDirection int direction, Rect previouslyFocusedRect) argument 6221 onFocusChanged(boolean gainFocus, @FocusDirection int direction, @Nullable Rect previouslyFocusedRect) argument 8728 focusSearch(@ocusRealDirection int direction) argument 8747 dispatchUnhandledMove(View focused, @FocusRealDirection int direction) argument 8759 findUserSetNextFocus(View root, @FocusDirection int direction) argument 8809 getFocusables(@ocusDirection int direction) argument 8823 addFocusables(ArrayList<View> views, @FocusDirection int direction) argument 8843 addFocusables(ArrayList<View> views, @FocusDirection int direction, @FocusableMode int focusableMode) argument 9075 requestFocus(int direction) argument 9108 requestFocus(int direction, Rect previouslyFocusedRect) argument 9112 requestFocusNoSearch(int direction, Rect previouslyFocusedRect) argument 14689 canScrollHorizontally(int direction) argument 14706 canScrollVertically(int direction) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | Camera2ReprocessCaptureTest.java | 1109 private Size getMaxSize(int format, StaticMetadata.StreamDirection direction) { argument 1110 Size[] sizes = mStaticInfo.getAvailableSizesForFormatChecked(format, direction);
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | AppBarLayout.java | 1219 final AppBarLayout layout, final int offset, final int direction) { 1229 if (direction > 0 && (flags & (LayoutParams.SCROLL_FLAG_ENTER_ALWAYS 1218 updateAppBarLayoutDrawableState(final CoordinatorLayout parent, final AppBarLayout layout, final int offset, final int direction) argument
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseStaggeredGridLayoutManagerTest.java | 633 public View onFocusSearchFailed(View focused, int direction, RecyclerView.Recycler recycler, argument 637 result = super.onFocusSearchFailed(focused, direction, recycler, state); 824 protected boolean mViewsHaveEqualSize = false; // size in the scrollable direction
|
H A D | RecyclerViewLayoutTest.java | 284 public View onFocusSearchFailed(View focused, int direction, 287 assertEquals(View.FOCUS_FORWARD, direction); 654 public View onFocusSearchFailed(View focused, int direction, 745 public View onFocusSearchFailed(View focused, int direction, 771 public View focusSearch(final ViewGroup parent, final View focused, final int direction) argument 777 result[0] = parent.focusSearch(focused, direction); 806 public View onFocusSearchFailed(View focused, int direction, RecyclerView.Recycler recycler,
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | DrawerLayout.java | 69 * to emerge from: left or right (or start/end on platform versions that support layout direction.) 932 * to the current layout direction 971 * layout direction. 1132 // Correct drawable layout direction, if needed. 1138 // Correct drawable layout direction, if needed. 1150 // Correct drawable layout direction, if needed. 1156 // Correct drawable layout direction, if needed. 1165 * Change the layout direction of the given drawable. 1166 * Return true if auto-mirror is supported and drawable's layout direction can be changed. 1825 public void addFocusables(ArrayList<View> views, int direction, in argument [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
H A D | ItemTouchHelper.java | 80 * Up direction, used for swipe & drag control. 85 * Down direction, used for swipe & drag control. 90 * Left direction, used for swipe & drag control. 95 * Right direction, used for swipe & drag control. 99 // If you change these relative direction values, update Callback#convertToAbsoluteDirection, 102 * Horizontal start direction. Resolved to LEFT or RIGHT depending on RecyclerView's layout 103 * direction. Used for swipe & drag control. 108 * Horizontal end direction. Resolved to LEFT or RIGHT depending on RecyclerView's layout 109 * direction. Used for swipe & drag control. 231 * The direction flag 1848 onSwiped(ViewHolder viewHolder, int direction) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
H A D | TileAdapter.java | 568 public void onSwiped(ViewHolder viewHolder, int direction) {
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | PhoneWindow.java | 1852 int direction = 0; 1855 direction = AudioManager.ADJUST_RAISE; 1858 direction = AudioManager.ADJUST_LOWER; 1861 direction = AudioManager.ADJUST_TOGGLE_MUTE; 1867 mMediaController.adjustVolume(direction, AudioManager.FLAG_SHOW_UI); 1870 mVolumeControlStreamType, direction,
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 514 * How many positions in either direction we will search to try to 1972 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { argument 1973 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); 4701 // Flip sign to convert finger direction to list items direction 5011 * Check if the items in the list can be scrolled in a certain direction. 5013 * @param direction Negative to check scrolling up, positive to check 5015 * @return true if the list can be scrolled in the specified direction, 5019 public boolean canScrollList(int direction) { argument 5027 if (direction > 5682 getDistance(Rect source, Rect dest, int direction) argument [all...] |
H A D | TextView.java | 404 * layout direction. 406 * @param layoutDirection the current layout direction 1943 // PasswordTransformationMethod always have LTR text direction heuristics returned by 8379 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument 8382 super.onFocusChanged(focused, direction, previouslyFocusedRect); 8386 if (mEditor != null) mEditor.onFocusChanged(focused, direction); 8398 mTransformation.onFocusChanged(this, mText, focused, direction, previouslyFocusedRect); 8401 super.onFocusChanged(focused, direction, previouslyFocusedRect); 9798 // Always need to resolve layout direction first 9844 * Prepares a drawable for display by propagating layout direction an [all...] |
H A D | Editor.java | 1137 void onFocusChanged(boolean focused, int direction) { argument 1164 mMovement.onTakeFocus(mTextView, (Spannable) mTextView.getText(), direction); 4741 // We're on a boundary or this is the first direction change -- just update 4900 // This handle passes another one as it crossed a direction boundary.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | NavBarTuner.java | 598 public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction) {
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 376 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument 377 super.onFocusChanged(focused, direction, previouslyFocusedRect);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | NotificationStackScrollLayout.java | 2105 * @param velocityY The initial velocity in the Y direction. Positive 3747 int direction = -1; 3752 direction = 1; 3760 Math.min(mOwnScrollY + direction * viewportHeight, getScrollRange()));
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | AccessibilityManagerService.java | 2745 int direction, int interactionId, 2776 connection.focusSearch(accessibilityNodeId, direction, partialInteractiveRegion, 2744 focusSearch(int accessibilityWindowId, long accessibilityNodeId, int direction, int interactionId, IAccessibilityInteractionConnectionCallback callback, long interrogatingTid) argument
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 562 public void onFocusChanged(boolean hasFocus, int direction, Rect previous) { argument 563 super.onFocusChanged(hasFocus, direction, previous); 878 * the layout direction is LTR or RTL.
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | PhoneWindowManager.java | 3256 int direction = keyCode == KeyEvent.KEYCODE_BRIGHTNESS_UP ? 1 : -1; 3273 int step = (max - min + BRIGHTNESS_STEPS - 1) / BRIGHTNESS_STEPS * direction; 6763 // The idea is that the user rotation expresses a weak preference for the direction
|