/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | BaseGridView.java | 544 * applied in primary scroll direction. The scrollExtra will be kept until 553 * applied in primary scroll direction. The scrollExtra will be kept until 683 public boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument 684 return mLayoutManager.gridOnRequestFocusInDescendants(this, direction, 709 public View focusSearch(int direction) { argument 715 return focusSearch(view, direction); 719 return super.focusSearch(direction); 723 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { argument 724 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); 725 mLayoutManager.onFocusChanged(gainFocus, direction, previouslyFocusedRec [all...] |
H A D | GridLayoutManager.java | 261 // Number of pending movements on primary direction, negative if PREV_ITEM. 348 int direction = (mReverseFlowPrimary ? mPendingMoves > 0 : mPendingMoves < 0) ? 351 return new PointF(direction, 0); 353 return new PointF(0, direction); 372 // maximum pending movement in one direction. 374 // minimal milliseconds to scroll window size in major direction, we put a cap to prevent the 389 * quantity that changes direction in RTL cases, or a quantity that 463 * Extra pixels applied on primary direction. 494 * The fixed size of each grid item in the secondary direction. This corresponds to 496 * in the primary direction 2718 onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) argument 2743 onInterceptFocusSearch(View focused, int direction) argument 2832 onAddFocusables(RecyclerView recyclerView, ArrayList<View> views, int direction, int focusableMode) argument 2984 gridOnRequestFocusInDescendants(RecyclerView recyclerView, int direction, Rect previouslyFocusedRect) argument 2998 gridOnRequestFocusInDescendantsAligned(RecyclerView recyclerView, int direction, Rect previouslyFocusedRect) argument 3011 gridOnRequestFocusInDescendantsUnaligned(RecyclerView recyclerView, int direction, Rect previouslyFocusedRect) argument 3047 getMovement(int direction) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | HorizontalScrollView.java | 985 * @param direction the scroll direction: {@link android.view.View#FOCUS_LEFT} 990 public boolean pageScroll(int direction) { argument 991 boolean right = direction == View.FOCUS_RIGHT; 1011 return scrollAndFocus(direction, mTempRect.left, mTempRect.right); 1021 * @param direction the scroll direction: {@link android.view.View#FOCUS_LEFT} 1026 public boolean fullScroll(int direction) { argument 1027 boolean right = direction == View.FOCUS_RIGHT; 1042 return scrollAndFocus(direction, mTempRec 1057 scrollAndFocus(int direction, int left, int right) argument 1089 arrowScroll(int direction) argument 1451 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument [all...] |
H A D | ScrollView.java | 998 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP} 1003 public boolean pageScroll(int direction) { argument 1004 boolean down = direction == View.FOCUS_DOWN; 1024 return scrollAndFocus(direction, mTempRect.top, mTempRect.bottom); 1034 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP} 1039 public boolean fullScroll(int direction) { argument 1040 boolean down = direction == View.FOCUS_DOWN; 1055 return scrollAndFocus(direction, mTempRec 1070 scrollAndFocus(int direction, int top, int bottom) argument 1102 arrowScroll(int direction) argument 1476 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument [all...] |
H A D | ListView.java | 2180 * are no selectable positions in the specified direction from the starting 2181 * position, searches in the opposite direction from the starting position 2196 // First check after the starting position in the specified direction. 2414 * @param direction either {@link View#FOCUS_UP} or {@link View#FOCUS_DOWN} 2417 boolean pageScroll(int direction) { argument 2421 if (direction == FOCUS_UP) { 2424 } else if (direction == FOCUS_DOWN) { 2463 * @param direction either {@link View#FOCUS_UP} or {@link View#FOCUS_DOWN} 2466 boolean fullScroll(int direction) { argument 2468 if (direction 2507 handleHorizontalFocusWithinListItem(int direction) argument 2557 arrowScroll(int direction) argument 2580 nextSelectedPositionForDirection( View selectedView, int selectedPos, int direction) argument 2618 arrowScrollImpl(int direction) argument 2711 handleNewSelectionChange(View selectedView, int direction, int newSelectedPosition, boolean newFocusAssigned) argument 2837 amountToScroll(int direction, int nextSelectedPosition) argument 2951 lookForSelectablePositionOnScreen(int direction) argument 3004 arrowScrollFocused(final int direction) argument 3106 amountToScrollToNewFocus(int direction, View newFocus, int positionOfNewFocus) argument 3669 onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) argument [all...] |
H A D | AccessibilityIterators.java | 106 protected int getLineEdgeIndex(int lineNumber, int direction) { argument 108 if (direction * paragraphDirection < 0) {
|
H A D | GridView.java | 1763 * @param direction either {@link View#FOCUS_UP} or {@link View#FOCUS_DOWN} 1766 boolean pageScroll(int direction) { argument 1769 if (direction == FOCUS_UP) { 1771 } else if (direction == FOCUS_DOWN) { 1788 * @param direction either {@link View#FOCUS_UP} or {@link View#FOCUS_DOWN}. 1792 boolean fullScroll(int direction) { argument 1794 if (direction == FOCUS_UP) { 1799 } else if (direction == FOCUS_DOWN) { 1816 * @param direction either {@link View#FOCUS_LEFT}, {@link View#FOCUS_RIGHT}, 1821 boolean arrowScroll(int direction) { argument 1885 sequenceScroll(int direction) argument 1940 onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) argument 1985 isCandidateSelection(int childIndex, int direction) argument [all...] |
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | NestedScrollView.java | 1102 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP} 1107 public boolean pageScroll(int direction) { argument 1108 boolean down = direction == View.FOCUS_DOWN; 1128 return scrollAndFocus(direction, mTempRect.top, mTempRect.bottom); 1138 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP} 1143 public boolean fullScroll(int direction) { argument 1144 boolean down = direction == View.FOCUS_DOWN; 1159 return scrollAndFocus(direction, mTempRec 1174 scrollAndFocus(int direction, int top, int bottom) argument 1206 arrowScroll(int direction) argument 1577 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument [all...] |
H A D | ExploreByTouchHelper.java | 81 * public boolean onFocusChanged(boolean gainFocus, int direction, 83 * super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); 84 * mHelper.onFocusChanged(gainFocus, direction, previouslyFocusedRect); 228 final int direction = keyToDirection(keyCode); 231 if (moveFocus(direction, null)) { 267 * public boolean onFocusChanged(boolean gainFocus, int direction, 269 * super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); 270 * mHelper.onFocusChanged(gainFocus, direction, previouslyFocusedRect); 274 public final void onFocusChanged(boolean gainFocus, int direction, argument 281 moveFocus(direction, previouslyFocusedRec 372 moveFocus(@ocusDirection int direction, @Nullable Rect previouslyFocusedRect) argument 449 guessPreviouslyFocusedRect(@onNull View host, @FocusRealDirection int direction, @NonNull Rect outBounds) argument [all...] |
/frameworks/av/radio/ |
H A D | Radio.cpp | 180 status_t Radio::scan(radio_direction_t direction, bool skipSubchannel) argument 186 return mIRadio->scan(direction, skipSubchannel); 189 status_t Radio::step(radio_direction_t direction, bool skipSubchannel) argument 195 return mIRadio->step(direction, skipSubchannel);
|
/frameworks/base/core/java/android/text/method/ |
H A D | AllCapsTransformationMethod.java | 63 public void onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, argument
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | RecyclerViewActivity.java | 199 public View onFocusSearchFailed(View focused, int direction, argument 212 if (direction == View.FOCUS_UP || direction == View.FOCUS_BACKWARD) { 227 if (direction == View.FOCUS_DOWN || direction == View.FOCUS_FORWARD) {
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | RecyclerViewActivity.java | 199 public View onFocusSearchFailed(View focused, int direction, argument 212 if (direction == View.FOCUS_UP || direction == View.FOCUS_BACKWARD) { 227 if (direction == View.FOCUS_DOWN || direction == View.FOCUS_FORWARD) {
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | vlc_dequant.cpp | 71 int direction; local 107 doDCACPrediction(video, comp, datablock, &direction); 108 if (!ACpred_flag) direction = 0; 109 inv_zigzag = zigzag_inv + (ACpred_flag << 6) + (direction << 6); 176 if (!direction) /* check vertical */ 522 int direction; local 549 doDCACPrediction(video, comp, datablock, &direction); 550 if (!ACpred_flag) direction = 0; 552 inv_zigzag = zigzag_inv + (ACpred_flag << 6) + (direction << 6); /* 04/17/01 */ 619 if (!direction) /* chec 825 int direction; local [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionRecord.java | 235 * @param direction The direction to adjust volume in. 242 public void adjustVolume(int direction, int flags, String packageName, int uid, argument 251 postAdjustLocalVolume(stream, direction, flags, packageName, uid, useSuggested, 258 if (direction == AudioManager.ADJUST_TOGGLE_MUTE 259 || direction == AudioManager.ADJUST_MUTE 260 || direction == AudioManager.ADJUST_UNMUTE) { 264 mSessionCb.adjustVolume(direction); 267 mOptimisticVolume = volumeBefore + direction; 460 private void postAdjustLocalVolume(final int stream, final int direction, fina argument 1046 adjustVolume(int direction) argument 1154 adjustVolume(int direction, int flags, String packageName) argument [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | IAccessibilityServiceConnection.aidl | 53 boolean focusSearch(int accessibilityWindowId, long accessibilityNodeId, int direction,
|
/frameworks/base/core/java/android/hardware/radio/ |
H A D | RadioModule.java | 69 public native int step(int direction, boolean skipSubChannel); argument 71 public native int scan(int direction, boolean skipSubChannel); argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | NumericTextView.java | 67 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument 68 super.onFocusChanged(focused, direction, previouslyFocusedRect);
|
/frameworks/base/media/java/android/media/session/ |
H A D | ISessionController.aidl | 49 void adjustVolume(int direction, int flags, String packageName);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkControllerDataTest.java | 16 verifyDataIndicators(TelephonyIcons.DATA_3G[1][0 /* No direction */], 37 verifyDataIndicators(TelephonyIcons.DATA_G[1][0 /* No direction */], 46 verifyDataIndicators(TelephonyIcons.DATA_1X[1][0 /* No direction */], 55 verifyDataIndicators(TelephonyIcons.DATA_E[1][0 /* No direction */], 64 verifyDataIndicators(TelephonyIcons.DATA_LTE[1][0 /* No direction */], 73 verifyDataIndicators(TelephonyIcons.DATA_H[1][0 /* No direction */], 98 verifyDataIndicators(TelephonyIcons.DATA_4G[1][0 /* No direction */], 137 verifyDataIndicators(TelephonyIcons.DATA_4G[1][0 /* No direction */], 146 verifyDataIndicators(TelephonyIcons.DATA_LTE[1][0 /* No direction */], 152 verifyDataIndicators(TelephonyIcons.DATA_H[1][0 /* No direction */], 165 testDataActivity(int direction, boolean in, boolean out) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | IAudioService.aidl | 42 oneway void adjustSuggestedStreamVolume(int direction, int suggestedStreamType, int flags, 45 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | InternalSelectionView.java | 241 protected void onFocusChanged(boolean focused, int direction, argument 243 super.onFocusChanged(focused, direction, previouslyFocusedRect); 246 switch (direction) {
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneStateListener.java | 137 * Listen for changes to the direction of data traffic on the data 431 public void onDataActivity(int direction) { argument 588 public void onDataActivity(int direction) { argument 589 send(LISTEN_DATA_ACTIVITY, direction, 0, null);
|
/frameworks/support/core-ui/tests/java/android/support/v4/view/ |
H A D | ViewPagerActions.java | 141 * Scrolls <code>ViewPager</code> using arrowScroll method in a specified direction. 143 public static ViewAction arrowScroll(final int direction) { argument 152 return "ViewPager arrow scroll in direction: " + direction; 160 viewPager.arrowScroll(direction);
|
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
H A D | DrawerArrowDrawable.java | 68 * <p>When used in a view with a {@link ViewCompat#LAYOUT_DIRECTION_RTL RTL} layout direction, 80 * <p>When used in a view with a {@link ViewCompat#LAYOUT_DIRECTION_RTL RTL} layout direction, 121 // The arrow direction 273 * Set the arrow direction. 275 public void setDirection(@ArrowDirection int direction) { argument 276 if (direction != mDirection) { 277 mDirection = direction; 306 * Returns the arrow direction.
|