Searched refs:direction (Results 101 - 125 of 209) sorted by relevance

123456789

/frameworks/base/media/java/android/media/
H A DMediaRouter.java483 void requestUpdateVolume(RouteInfo route, int direction) { argument
487 route.mGlobalRouteId, direction);
1868 * @param direction Delta to apply to the current volume
1870 public void requestUpdateVolume(int direction) { argument
1874 Math.max(0, Math.min(getVolume() + direction, getVolumeMax()));
1881 sStatic.requestUpdateVolume(this, direction);
2039 public void dispatchRemoteVolumeUpdate(final int direction, final int value) {
2044 if (direction != 0) {
2045 mVcb.vcb.onVolumeUpdateRequest(mVcb.route, direction);
2250 public void requestUpdateVolume(int direction) { argument
2348 onAdjustVolume(final int direction) argument
2518 requestUpdateVolume(int direction) argument
2935 onVolumeUpdateRequest(RouteInfo info, int direction) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBrowseFragment.java1012 public View onFocusSearch(View focused, int direction) {
1017 if (DEBUG) Log.v(TAG, "onFocusSearch focused " + focused + " + direction " + direction);
1020 && direction == View.FOCUS_UP) {
1024 && direction == View.FOCUS_DOWN) {
1032 if (mCanShowHeaders && direction == towardStart) {
1037 } else if (direction == towardEnd) {
1044 } else if (direction == View.FOCUS_DOWN && mShowingHeaders) {
1061 public boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) {
1069 direction, previouslyFocusedRec
[all...]
H A DBrowseSupportFragment.java1015 public View onFocusSearch(View focused, int direction) {
1020 if (DEBUG) Log.v(TAG, "onFocusSearch focused " + focused + " + direction " + direction);
1023 && direction == View.FOCUS_UP) {
1027 && direction == View.FOCUS_DOWN) {
1035 if (mCanShowHeaders && direction == towardStart) {
1040 } else if (direction == towardEnd) {
1047 } else if (direction == View.FOCUS_DOWN && mShowingHeaders) {
1064 public boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) {
1072 direction, previouslyFocusedRec
[all...]
H A DDetailsFragment.java843 public boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) {
866 public View onFocusSearch(View focused, int direction) {
869 if (direction == View.FOCUS_UP) {
879 if (direction == View.FOCUS_DOWN) {
/frameworks/av/services/radio/
H A DRadioService.h156 virtual status_t scan(radio_direction_t direction, bool skipSubChannel);
158 virtual status_t step(radio_direction_t direction, bool skipSubChannel);
/frameworks/base/core/java/android/widget/
H A DGallery.java1292 boolean moveDirection(int direction) { argument
1293 direction = isLayoutRtl() ? -direction : direction;
1294 int targetPosition = mSelectedPosition + direction;
1388 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { argument
1389 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
1397 mSelectedChild.requestFocus(direction);
1522 // Flip sign to convert finger direction to list items direction
[all...]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardPasswordView.java224 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument
226 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect);
H A DKeyguardPinBasedInputView.java61 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument
63 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect);
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DBNNMTest.java93 final float direction = rand.nextFloat();
95 if (direction < 0.5f) {
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DIMediaSession.aidl48 void adjustVolume(int direction, int flags, String packageName) = 10;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSeekBar.java117 int direction, Rect previouslyFocusedRect) {
118 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
116 onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) argument
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
H A DItemTouchHelperTest.java196 public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction) { argument
197 mSwipeRecords.add(new SwipeRecord(viewHolder, direction));
/frameworks/support/compat/java/android/support/v4/view/
H A DViewCompat.java260 * Horizontal layout direction of this view is from Left to Right.
265 * Horizontal layout direction of this view is from Right to Left.
270 * Horizontal layout direction of this view is inherited from its parent.
276 * Horizontal layout direction of this view is from deduced from the default language
377 * Scroll indicator direction for the top edge of the view.
386 * Scroll indicator direction for the bottom edge of the view.
395 * Scroll indicator direction for the left edge of the view.
404 * Scroll indicator direction for the right edge of the view.
413 * Scroll indicator direction for the starting edge of the view.
422 * Scroll indicator direction fo
979 keyboardNavigationClusterSearch(@onNull View view, View currentCluster, @FocusDirection int direction) argument
984 addKeyboardNavigationClusters(@onNull View view, @NonNull Collection<View> views, int direction) argument
1560 keyboardNavigationClusterSearch(@onNull View view, View currentCluster, @FocusDirection int direction) argument
1566 addKeyboardNavigationClusters(@onNull View view, @NonNull Collection<View> views, int direction) argument
1612 canScrollHorizontally(View view, int direction) argument
1626 canScrollVertically(View view, int direction) argument
3666 keyboardNavigationClusterSearch(@onNull View view, View currentCluster, @FocusDirection int direction) argument
3679 addKeyboardNavigationClusters(@onNull View view, @NonNull Collection<View> views, int direction) argument
[all...]
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/
H A DMediaRouterJellybean.java188 public static void requestUpdateVolume(Object routeObj, int direction) { argument
189 ((android.media.MediaRouter.RouteInfo)routeObj).requestUpdateVolume(direction);
293 public void onVolumeUpdateRequest(Object routeObj, int direction); argument
459 int direction) {
460 mCallback.onVolumeUpdateRequest(route, direction);
458 onVolumeUpdateRequest(android.media.MediaRouter.RouteInfo route, int direction) argument
/frameworks/base/core/java/android/webkit/
H A DWebView.java1656 * @param forward the direction to search
2334 public boolean super_requestFocus(int direction, Rect previouslyFocusedRect) { argument
2335 return WebView.super.requestFocus(direction, previouslyFocusedRect);
2824 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
2825 mProvider.getViewDelegate().onFocusChanged(focused, direction, previouslyFocusedRect);
2826 super.onFocusChanged(focused, direction, previouslyFocusedRect);
2853 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { argument
2854 return mProvider.getViewDelegate().requestFocus(direction, previouslyFocusedRect);
/frameworks/base/core/java/com/android/internal/widget/
H A DViewPager.java130 * The increment used to move in the "left" direction. Dependent on layout
131 * direction.
1878 // direction to be counted as a drag... abort
2378 public boolean canScrollHorizontally(int direction) { argument
2385 if (direction < 0) {
2387 } else if (direction > 0) {
2463 public boolean arrowScroll(int direction) { argument
2493 direction);
2495 if (direction == View.FOCUS_LEFT) {
2505 } else if (direction
2578 addFocusables(ArrayList<View> views, int direction, int focusableMode) argument
2641 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]
/frameworks/support/core-ui/java/android/support/v4/view/
H A DViewPager.java2090 // direction to be counted as a drag... abort
2676 * Check if this ViewPager can be scrolled horizontally in a certain direction.
2678 * @param direction Negative to check scrolling left, positive to check scrolling right.
2679 * @return Whether this ViewPager can be scrolled in the specified direction. It will always
2680 * return false if the specified direction is 0.
2683 public boolean canScrollHorizontally(int direction) { argument
2690 if (direction < 0) {
2692 } else if (direction > 0) {
2780 * @param direction The direction correspondin
2784 arrowScroll(int direction) argument
2896 addFocusables(ArrayList<View> views, int direction, int focusableMode) argument
2957 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmp4lib_int.h144 int direction; member in struct:tagMacroBlock
225 MOT *motX; /* Motion vector in X direction */
226 MOT *motY; /* Motion vector in Y direction */
/frameworks/base/core/java/android/text/method/
H A DReplacementTransformationMethod.java103 boolean focused, int direction,
102 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipAccessibilityInteractionConnection.java157 public void focusSearch(long accessibilityNodeId, int direction, Region interactiveRegion, argument
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DDataConnectionStats.java150 public void onDataActivity(int direction) {
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java559 private static Direction getDirection(int direction) { argument
561 if (direction == d.nativeInt) {
827 * @param dir The direction to wind the rectangle's contour
833 Direction direction = getDirection(dir);
835 switch (direction) {
856 * @param dx The amount in the X direction to offset the entire path
857 * @param dy The amount in the Y direction to offset the entire path
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseRecyclerViewInstrumentationTest.java153 public View focusSearch(final View focused, final int direction) throws Throwable { argument
154 return focusSearch(focused, direction, false);
157 public View focusSearch(final View focused, final int direction, boolean waitForScroll) argument
163 View view = focused.focusSearch(direction);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_PredictReconCoefIntra_s.s34 ; * to the function call, prediction direction (predDir) should be selected
53 ; * [in] predDir indicates the prediction direction which takes one
143 M_LDR predDir,predDironStack ;// Load Prediction direction
157 CMP predDir,#2 ;// Check if the Prediction direction is vertical
209 CMP predDir,#2 ;// Check the Prediction direction
215 BNE Horizontal ;// If the Prediction direction is horizontal branch to Horizontal
/frameworks/base/core/java/android/view/
H A DViewGroup.java727 void handleFocusGainInternal(int direction, Rect previouslyFocusedRect) { argument
733 super.handleFocusGainInternal(direction, previouslyFocusedRect);
945 * Find the nearest view in the specified direction that wants to take
949 * @param direction One of FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, and
953 public View focusSearch(View focused, int direction) { argument
958 return FocusFinder.getInstance().findNextFocus(this, focused, direction);
960 return mParent.focusSearch(focused, direction);
1047 public boolean dispatchUnhandledMove(View focused, int direction) { argument
1049 mFocused.dispatchUnhandledMove(focused, direction);
1189 public void addFocusables(ArrayList<View> views, int direction, in argument
1235 addKeyboardNavigationClusters(Collection<View> views, int direction) argument
3148 requestFocus(int direction, Rect previouslyFocusedRect) argument
3185 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
3228 restoreFocusInCluster(@ocusRealDirection int direction) argument
3243 restoreFocusInClusterInternal(@ocusRealDirection int direction) argument
[all...]

Completed in 906 milliseconds

123456789