Searched refs:direction (Results 1 - 25 of 161) sorted by relevance

1234567

/frameworks/base/media/java/android/media/
H A DIRemoteVolumeObserver.aidl25 void dispatchRemoteVolumeUpdate(int direction, int value);
H A DAudioManagerInternal.java29 public abstract void adjustSuggestedStreamVolumeForUid(int streamType, int direction, argument
32 public abstract void adjustStreamVolumeForUid(int streamType, int direction, int flags, argument
35 public abstract void setStreamVolumeForUid(int streamType, int direction, int flags, argument
H A DVolumeProvider.java128 * @param direction The direction to change the volume in.
130 public void onAdjustVolume(int direction) { argument
H A DIMediaRouterService.aidl34 void requestUpdateVolume(IMediaRouterClient client, String routeId, int direction);
/frameworks/base/graphics/java/android/graphics/
H A DEmbossMaskFilter.java23 * @param direction array of 3 scalars [x, y, z] specifying the direction of the light source
29 public EmbossMaskFilter(float[] direction, float ambient, float specular, float blurRadius) { argument
30 if (direction.length < 3) {
33 native_instance = nativeConstructor(direction, ambient, specular, blurRadius);
36 private static native long nativeConstructor(float[] direction, float ambient, float specular, float blurRadius); argument
/frameworks/base/core/java/android/view/
H A DFocusFinderHelper.java36 public boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { argument
37 return mFocusFinder.isBetterCandidate(direction, source, rect1, rect2);
40 public boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) { argument
41 return mFocusFinder.beamBeats(direction, source, rect1, rect2);
44 public boolean isCandidate(Rect srcRect, Rect destRect, int direction) { argument
45 return mFocusFinder.isCandidate(srcRect, destRect, direction);
48 public boolean beamsOverlap(int direction, Rect rect1, Rect rect2) { argument
49 return mFocusFinder.beamsOverlap(direction, rect1, rect2);
52 public static int majorAxisDistance(int direction, Rect source, Rect dest) { argument
53 return FocusFinder.majorAxisDistance(direction, sourc
56 majorAxisDistanceToFarEdge(int direction, Rect source, Rect dest) argument
[all...]
H A DSoundEffectConstants.java35 * @param direction One of {@link View#FOCUS_UP}, {@link View#FOCUS_DOWN},
41 public static int getContantForFocusDirection(int direction) { argument
42 switch (direction) {
54 throw new IllegalArgumentException("direction must be one of "
H A DFocusFinder.java26 * The algorithm used for finding the next focusable view in a given direction
61 * @param direction Direction to look.
64 public final View findNextFocus(ViewGroup root, View focused, int direction) { argument
65 return findNextFocus(root, focused, null, direction);
73 * @param direction Direction to look.
76 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) { argument
78 return findNextFocus(root, null, mFocusedRect, direction);
81 private View findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) { argument
84 next = findNextUserSpecifiedFocus(root, focused, direction);
92 root.addFocusables(focusables, direction);
102 findNextUserSpecifiedFocus(ViewGroup root, View focused, int direction) argument
113 findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction, ArrayList<View> focusables) argument
170 findNextFocusInRelativeDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
203 findNextFocusInAbsoluteDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
279 isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) argument
318 beamBeats(int direction, Rect source, Rect rect1, Rect rect2) argument
368 isCandidate(Rect srcRect, Rect destRect, int direction) argument
395 beamsOverlap(int direction, Rect rect1, Rect rect2) argument
411 isToDirectionOf(int direction, Rect src, Rect dest) argument
431 majorAxisDistance(int direction, Rect source, Rect dest) argument
435 majorAxisDistanceRaw(int direction, Rect source, Rect dest) argument
456 majorAxisDistanceToFarEdge(int direction, Rect source, Rect dest) argument
460 majorAxisDistanceToFarEdgeRaw(int direction, Rect source, Rect dest) argument
483 minorAxisDistance(int direction, Rect source, Rect dest) argument
513 findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) argument
586 isTouchCandidate(int x, int y, Rect destRect, int direction) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBrowseFrameLayout.java34 * the direction of focus search.
36 public View onFocusSearch(View focused, int direction); argument
47 public boolean onRequestFocusInDescendants(int direction, argument
100 protected boolean onRequestFocusInDescendants(int direction, argument
103 return mOnChildFocusListener.onRequestFocusInDescendants(direction,
106 return super.onRequestFocusInDescendants(direction, previouslyFocusedRect);
110 public View focusSearch(View focused, int direction) { argument
112 View view = mListener.onFocusSearch(focused, direction);
117 return super.focusSearch(focused, direction);
H A DPersistentFocusWrapper.java73 * Persist focus when focus search direction is up or down.
80 * Persist focus when focus search direction is left or right.
86 private boolean shouldPersistFocusFromDirection(int direction) { argument
87 return ((mPersistFocusVertical && (direction == FOCUS_UP || direction == FOCUS_DOWN)) ||
88 (!mPersistFocusVertical && (direction == FOCUS_LEFT || direction == FOCUS_RIGHT)));
92 public void addFocusables(ArrayList<View> views, int direction, int focusableMode) { argument
95 !shouldPersistFocusFromDirection(direction)) {
96 super.addFocusables(views, direction, focusableMod
115 requestFocus(int direction, Rect previouslyFocusedRect) argument
[all...]
H A DTitleHelper.java46 public View onFocusSearch(View focused, int direction) {
47 if (focused != mTitleView && direction == View.FOCUS_UP) {
53 if (mTitleView.hasFocus() && direction == View.FOCUS_DOWN || direction == forward) {
H A DPlaybackControlsRowView.java68 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument
70 if (focused != null && focused.requestFocus(direction, previouslyFocusedRect)) {
73 return super.onRequestFocusInDescendants(direction, previouslyFocusedRect);
H A DControlBar.java40 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { argument
42 if (getChildAt(getChildCount() / 2).requestFocus(direction, previouslyFocusedRect)) {
46 return super.requestFocus(direction, previouslyFocusedRect);
/frameworks/support/v4/ics/android/support/v4/view/
H A DViewCompatICS.java30 public static boolean canScrollHorizontally(View v, int direction) { argument
31 return v.canScrollHorizontally(direction);
34 public static boolean canScrollVertically(View v, int direction) { argument
35 return v.canScrollVertically(direction);
/frameworks/support/v4/api21/android/support/v4/media/
H A DVolumeProviderCompatApi21.java31 public void onAdjustVolume(int direction) {
32 delegate.onAdjustVolume(direction);
/frameworks/base/core/java/android/text/method/
H A DTransformationMethod.java43 boolean focused, int direction,
42 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
/frameworks/support/v4/java/android/support/v4/widget/
H A DListViewAutoScrollHelper.java53 public boolean canTargetScrollHorizontally(int direction) { argument
59 public boolean canTargetScrollVertically(int direction) { argument
70 if (direction > 0) {
78 } else if (direction < 0) {
87 // The behavior for direction 0 is undefined and we can return
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DEmbossMaskFilter_Delegate.java58 /*package*/ static long nativeConstructor(float[] direction, float ambient, argument
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DRequireScrollHelperTest.java95 public boolean pageScroll(int direction) { argument
96 if (direction == FOCUS_DOWN) {
98 } else if (direction == FOCUS_UP) {
101 return super.pageScroll(direction);
/frameworks/support/v4/java/android/support/v4/media/
H A DVolumeProviderCompat.java139 * @param direction The direction to adjust the volume in.
141 public void onAdjustVolume(int direction) { argument
176 public void onAdjustVolume(int direction) {
177 VolumeProviderCompat.this.onAdjustVolume(direction);
/frameworks/base/core/tests/coretests/src/android/view/
H A DFocusFinderTest.java380 * (majorAxisDistance was wrong for direction left)
475 private void assertBeamsOverlap(int direction, Rect rect1, Rect rect2) { argument
476 String directionStr = validateAndGetStringFor(direction);
477 String assertMsg = String.format("Expected beams to overlap in direction %s "
479 assertTrue(assertMsg, mFocusFinder.beamsOverlap(direction, rect1, rect2));
482 private void assertBeamsDontOverlap(int direction, Rect rect1, Rect rect2) { argument
483 String directionStr = validateAndGetStringFor(direction);
484 String assertMsg = String.format("Expected beams not to overlap in direction %s "
486 assertFalse(assertMsg, mFocusFinder.beamsOverlap(direction, rect1, rect2));
492 * @param direction Th
497 assertBetterCandidate(int direction, Rect srcRect, Rect expectedBetter, Rect expectedWorse) argument
522 assertIsNotCandidate(int direction, Rect src, Rect dest) argument
532 assertBeamBeats(int direction, Rect srcRect, Rect rect1, Rect rect2) argument
543 assertDirectionIsCandidate(int direction, Rect src, Rect dest) argument
553 validateAndGetStringFor(int direction) argument
[all...]
/frameworks/av/include/radio/
H A DIRadio.h44 virtual status_t step(radio_direction_t direction, bool skipSubChannel) = 0;
46 virtual status_t scan(radio_direction_t direction, bool skipSubChannel) = 0;
H A DRadio.h57 status_t step(radio_direction_t direction, bool skipSubChannel);
59 status_t scan(radio_direction_t direction, bool skipSubChannel);
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothA2dp.aidl36 oneway void adjustAvrcpAbsoluteVolume(int direction);
/frameworks/base/core/java/android/hardware/radio/
H A DRadioTuner.java39 /** Scanning direction UP for {@link #step(int, boolean)}, {@link #scan(int, boolean)} */
120 * @param direction {@link #DIRECTION_UP} or {@link #DIRECTION_DOWN}.
134 public abstract int step(int direction, boolean skipSubChannel); argument
141 * @param direction {@link #DIRECTION_UP} or {@link #DIRECTION_DOWN}.
155 public abstract int scan(int direction, boolean skipSubChannel); argument

Completed in 635 milliseconds

1234567