Searched refs:direction (Results 126 - 150 of 209) sorted by relevance

123456789

/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java387 public void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect); argument
405 public boolean requestFocus(int direction, Rect previouslyFocusedRect); argument
/frameworks/base/core/java/android/widget/
H A DDialerFilter.java96 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
97 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/
H A DTaskGridLayoutAlgorithm.java236 * @param direction The direction we're navigating.
239 public int navigateFocus(int taskCount, int currentFocusedIndex, Direction direction) { argument
249 switch (direction) {
/frameworks/support/design/src/android/support/design/widget/
H A DSwipeDismissBehavior.java64 * Swipe direction that only allows swiping in the direction of start-to-end. That is
70 * Swipe direction that only allows swiping in the direction of end-to-start. That is
76 * Swipe direction which allows swiping in either direction.
124 * Sets the swipe direction for this behavior.
126 * @param direction one of the {@link #SWIPE_DIRECTION_START_TO_END},
129 public void setSwipeDirection(@SwipeDirection int direction) { argument
130 mSwipeDirection = direction;
[all...]
/frameworks/support/media-compat/api21/android/support/v4/media/session/
H A DMediaControllerCompatApi21.java123 public static void adjustVolume(Object controllerObj, int direction, int flags) { argument
124 ((MediaController) controllerObj).adjustVolume(direction, flags);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSearchOrbView.java245 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { argument
246 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
/frameworks/support/wear/src/android/support/wear/widget/
H A DSwipeDismissLayout.java287 public boolean canScrollHorizontally(int direction) { argument
289 // SCROLLING direction. We return false if the view is not visible to avoid capturing swipe
291 return direction < 0 && isSwipeable() && getVisibility() == View.VISIBLE;
298 * @param dx distance traveled in the x direction, from the initial touch down
299 * @param dy distance traveled in the y direction, from the initial touch down
420 * Tests scrollability within child views of v in the direction of dx.
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionService.java1231 int direction = 0;
1235 direction = AudioManager.ADJUST_RAISE;
1238 direction = AudioManager.ADJUST_LOWER;
1257 if (direction != 0) {
1260 direction = 0;
1262 dispatchAdjustVolumeLocked(stream, direction, flags);
1344 private void dispatchAdjustVolumeLocked(int suggestedStream, int direction, int flags) { argument
1354 Log.d(TAG, "Adjusting " + session + " by " + direction + ". flags="
1377 mAudioService.adjustSuggestedStreamVolume(direction, suggestedStream,
1385 session.adjustVolume(direction, flag
[all...]
H A DMediaRouterService.java241 public void requestUpdateVolume(IMediaRouterClient client, String routeId, int direction) { argument
252 requestUpdateVolumeLocked(client, routeId, direction);
418 String routeId, int direction) {
423 UserHandler.MSG_REQUEST_UPDATE_VOLUME, direction, 0, routeId).sendToTarget();
813 private void requestUpdateVolume(String routeId, int direction) { argument
816 mGloballySelectedRouteRecord.getProvider().adjustDisplayVolume(direction);
417 requestUpdateVolumeLocked(IMediaRouterClient client, String routeId, int direction) argument
/frameworks/base/media/java/android/media/
H A DAudioManager.java755 * Adjusts the volume of a particular stream by one step in a direction.
763 * @param direction The direction to adjust the volume. One of
770 public void adjustStreamVolume(int streamType, int direction, int flags) { argument
773 service.adjustStreamVolume(streamType, direction, flags,
793 * @param direction The direction to adjust the volume. One of
803 public void adjustVolume(int direction, int flags) { argument
805 helper.sendAdjustVolumeBy(USE_DEFAULT_STREAM_TYPE, direction, flags);
819 * @param direction Th
832 adjustSuggestedStreamVolume(int direction, int suggestedStreamType, int flags) argument
[all...]
/frameworks/base/core/java/android/app/
H A DDownloadManager.java893 * @param direction either {@link #ORDER_ASCENDING} or {@link #ORDER_DESCENDING}
897 public Query orderBy(String column, int direction) { argument
898 if (direction != ORDER_ASCENDING && direction != ORDER_DESCENDING) {
899 throw new IllegalArgumentException("Invalid direction: " + direction);
909 mOrderDirection = direction;
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DAnimatedRecyclerView.java578 public View onFocusSearchFailed(View focused, int direction, argument
591 if (direction == View.FOCUS_UP || direction == View.FOCUS_BACKWARD) {
606 if (direction == View.FOCUS_DOWN || direction == View.FOCUS_FORWARD) {
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DAnimatedRecyclerView.java578 public View onFocusSearchFailed(View focused, int direction, argument
591 if (direction == View.FOCUS_UP || direction == View.FOCUS_BACKWARD) {
606 if (direction == View.FOCUS_DOWN || direction == View.FOCUS_FORWARD) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DMobileSignalController.java540 public void onDataActivity(int direction) { argument
542 Log.d(mTag, "onDataActivity: direction=" + direction);
544 setActivity(direction);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DStaticMetadata.java1284 * Used to determine the stream direction for various helpers that look up
1295 * Get available formats for a given direction.
1297 * @param direction The stream direction, input or output.
1298 * @return The formats of the given direction, empty array if no available format is found.
1300 public int[] getAvailableFormats(StreamDirection direction) { argument
1309 switch (direction) {
1315 throw new IllegalArgumentException("direction must be output or input");
1339 * Get available sizes for given format and direction.
1342 * @param direction Th
1345 getAvailableSizesForFormatChecked(int format, StreamDirection direction) argument
1360 getAvailableSizesForFormatChecked(int format, StreamDirection direction, boolean fastSizes, boolean slowSizes) argument
[all...]
/frameworks/av/media/libaaudio/src/core/
H A DAAudioAudio.cpp161 aaudio_direction_t direction)
164 streamBuilder->setDirection(direction);
160 AAudioStreamBuilder_setDirection(AAudioStreamBuilder* builder, aaudio_direction_t direction) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/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
175 M_LDR predDir,predDironStack ;// Load Prediction direction
183 CMP predDir,#2 ;// Check if the Prediction direction is vertical
227 CMP predDir,#2 ;// Check the Prediction direction
234 BNE Horizontal ;// If the Prediction direction is horizontal branch to Horizontal
/frameworks/base/media/java/android/media/session/
H A DMediaSessionManager.java315 * most relevant audio stream or media session. The direction must be one of
321 * @param direction The direction to adjust volume in.
325 public void dispatchAdjustVolume(int suggestedStream, int direction, int flags) { argument
327 mService.dispatchAdjustVolume(suggestedStream, direction, flags);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityGestureDetector.java51 // reducing noisy minor changes in direction.
468 // direction change.
491 // the last delimiter to the previous point, but in the direction of the average
507 // Compare the initial motion direction to the most recent motion direction,
508 // and segment the line if direction has changed by about 90 degrees.
538 * Classifies a pair of line segments, by direction.
556 int direction = toDirection(dX, dY);
557 switch (direction) {
590 /** Maps a vector to a dominant direction i
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
H A DPicker.java464 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument
467 return mColumnViews.get(column).requestFocus(direction, previouslyFocusedRect);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java192 * FocusFinder#findNextFocus is broken on ICS MR1 and older for View.FOCUS_BACKWARD direction.
193 * We convert it to an absolute direction such as FOCUS_DOWN or FOCUS_LEFT.
1747 * @return Whether any scroll was consumed in either direction.
2342 * the focus direction with respect to the currently focused View, RecyclerView returns that
2345 * in the focus search direction. If LayoutManager adds a View that matches the
2349 * When the direction is {@link View#FOCUS_FORWARD} or {@link View#FOCUS_BACKWARD}, a View that
2350 * is not in the focus direction is still valid focus target which may not be the desired
2351 * behavior if the Adapter has more children in the focus direction. To handle this case,
2352 * RecyclerView converts the focus direction to an absolute direction an
2367 focusSearch(View focused, int direction) argument
2453 isPreferredNextFocus(View focused, View next, int direction) argument
2482 isPreferredNextFocusAbsolute(View focused, View next, int direction) argument
2560 addFocusables(ArrayList<View> views, int direction, int focusableMode) argument
2567 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
9170 onFocusSearchFailed(View focused, int direction, Recycler recycler, State state) argument
9191 onInterceptFocusSearch(View focused, int direction) argument
9429 onAddFocusables(RecyclerView recyclerView, ArrayList<View> views, int direction, int focusableMode) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java173 * FocusFinder#findNextFocus is broken on ICS MR1 and older for View.FOCUS_BACKWARD direction.
174 * We convert it to an absolute direction such as FOCUS_DOWN or FOCUS_LEFT.
1648 * @return Whether any scroll was consumed in either direction.
2231 * the focus direction with respect to the currently focused View, RecyclerView returns that
2234 * in the focus search direction. If LayoutManager adds a View that matches the
2238 * When the direction is {@link View#FOCUS_FORWARD} or {@link View#FOCUS_BACKWARD}, a View that
2239 * is not in the focus direction is still valid focus target which may not be the desired
2240 * behavior if the Adapter has more children in the focus direction. To handle this case,
2241 * RecyclerView converts the focus direction to an absolute direction an
2256 focusSearch(View focused, int direction) argument
2329 isPreferredNextFocus(View focused, View next, int direction) argument
2358 isPreferredNextFocusAbsolute(View focused, View next, int direction) argument
2418 addFocusables(ArrayList<View> views, int direction, int focusableMode) argument
2425 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
8892 onFocusSearchFailed(View focused, int direction, Recycler recycler, State state) argument
8913 onInterceptFocusSearch(View focused, int direction) argument
9046 onAddFocusables(RecyclerView recyclerView, ArrayList<View> views, int direction, int focusableMode) argument
[all...]
/frameworks/av/media/libaaudio/include/aaudio/
H A DAAudio.h180 * The default direction is AAUDIO_DIRECTION_OUTPUT.
276 * Request the direction for a stream.
281 * @param direction AAUDIO_DIRECTION_OUTPUT or AAUDIO_DIRECTION_INPUT
284 aaudio_direction_t direction);
768 * @return direction
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmp4dec_lib.h86 int *direction);
/frameworks/av/services/radio/
H A DRadioService.cpp810 status_t RadioService::ModuleClient::scan(radio_direction_t direction, bool skipSubChannel) argument
819 status = (status_t)mTuner->scan(direction, skipSubChannel);
826 status_t RadioService::ModuleClient::step(radio_direction_t direction, bool skipSubChannel) argument
835 status = (status_t)mTuner->step(direction, skipSubChannel);

Completed in 1788 milliseconds

123456789