/frameworks/base/core/java/android/view/ |
H A D | SoundEffectConstants.java | 35 * @param direction One of {@link View#FOCUS_UP}, {@link View#FOCUS_DOWN}, 40 * @throws {@link IllegalArgumentException} when the passed direction is not one of the 43 public static int getContantForFocusDirection(int direction) { argument 44 switch (direction) { 56 throw new IllegalArgumentException("direction must be one of "
|
H A D | FocusFinderHelper.java | 36 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...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | EmbossMaskFilter.java | 25 * @param direction array of 3 scalars [x, y, z] specifying the direction of the light source 32 public EmbossMaskFilter(float[] direction, float ambient, float specular, float blurRadius) { argument 33 if (direction.length < 3) { 36 native_instance = nativeConstructor(direction, ambient, specular, blurRadius); 39 private static native long nativeConstructor(float[] direction, float ambient, float specular, float blurRadius); argument
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | EmbossMaskFilter_Delegate.java | 58 /*package*/ static long nativeConstructor(float[] direction, float ambient, argument
|
/frameworks/support/compat/src/main/java/androidx/core/widget/ |
H A D | ListViewCompat.java | 58 * Check if the items in the list can be scrolled in a certain direction. 60 * @param direction Negative to check scrolling up, positive to check 62 * @return true if the list can be scrolled in the specified direction, 66 public static boolean canScrollList(@NonNull ListView listView, int direction) { argument 69 return listView.canScrollList(direction); 78 if (direction > 0) {
|
H A D | ListViewAutoScrollHelper.java | 44 public boolean canTargetScrollHorizontally(int direction) { argument 50 public boolean canTargetScrollVertically(int direction) { argument 61 if (direction > 0) { 69 } else if (direction < 0) { 78 // The behavior for direction 0 is undefined and we can return
|
/frameworks/av/media/libaaudio/tests/ |
H A D | test_n_streams.cpp | 31 aaudio_result_t testMaxStreams(aaudio_direction_t direction) { argument 42 AAudioStreamBuilder_setDirection(aaudioBuilder, direction);
|
H A D | test_session_id.cpp | 73 aaudio_direction_t direction) { 90 AAudioStreamBuilder_setDirection(aaudioBuilder, direction); 107 if (direction == AAUDIO_DIRECTION_INPUT) { 120 // Reverse direction for second stream. 121 aaudio_direction_t otherDirection = (direction == AAUDIO_DIRECTION_OUTPUT) 72 checkSessionIdAllocate(aaudio_performance_mode_t perfMode, aaudio_direction_t direction) argument
|
H A D | test_open_params.cpp | 42 static void testOpenOptions(aaudio_direction_t direction, argument 61 direction, channelCount, sampleRate, format); 67 AAudioStreamBuilder_setDirection(aaudioBuilder, direction); 91 direction, actualChannelCount, actualSampleRate, actualDataFormat); 103 EXPECT_EQ(direction, actualDirection); 130 aaudio_direction_t direction = directions[dirIndex]; local 132 testOpenOptions(direction, channelCount, 136 testOpenOptions(direction, AAUDIO_UNSPECIFIED, rates[i], AAUDIO_FORMAT_UNSPECIFIED); 139 testOpenOptions(direction, AAUDIO_UNSPECIFIED, AAUDIO_UNSPECIFIED, formats[i]);
|
/frameworks/base/core/java/android/text/method/ |
H A D | TransformationMethod.java | 43 boolean focused, int direction, 42 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
|
H A D | AllCapsTransformationMethod.java | 68 public void onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, argument
|
H A D | MovementMethod.java | 47 public void onTakeFocus(TextView widget, Spannable text, int direction); argument
|
/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/ |
H A D | EmojiTransformationMethod.java | 70 final boolean focused, final int direction, final Rect previouslyFocusedRect) { 72 mTransformationMethod.onFocusChanged(view, sourceText, focused, direction, 69 onFocusChanged(final View view, final CharSequence sourceText, final boolean focused, final int direction, final Rect previouslyFocusedRect) argument
|
/frameworks/support/leanback/src/main/java/androidx/leanback/app/ |
H A D | GuidedStepRootLayout.java | 49 public View focusSearch(View focused, int direction) { argument 50 View newFocus = super.focusSearch(focused, direction); 51 if (direction == FOCUS_LEFT || direction == FOCUS_RIGHT) { 56 ? direction == FOCUS_LEFT : direction == FOCUS_RIGHT) {
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | GuidedActionItemContainer.java | 41 public View focusSearch(View focused, int direction) { argument 43 return super.focusSearch(focused, direction); 45 View view = super.focusSearch(focused, direction);
|
H A D | PlaybackControlsRowView.java | 64 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument 66 if (focused != null && focused.requestFocus(direction, previouslyFocusedRect)) { 69 return super.onRequestFocusInDescendants(direction, previouslyFocusedRect);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/text/ |
H A D | AllCapsTransformationMethod.java | 48 int direction, Rect previouslyFocusedRect) { 47 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
|
/frameworks/base/media/java/android/media/ |
H A D | VolumeProvider2.java | 144 * @param direction The direction to change the volume in. 146 public void onAdjustVolume(int direction) { } argument
|
H A D | VolumeProvider.java | 141 * @param direction The direction to change the volume in. 143 public void onAdjustVolume(int direction) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/focus/ |
H A D | NavigateTaskViewEvent.java | 30 public Direction direction; field in class:NavigateTaskViewEvent 31 public NavigateTaskViewEvent(Direction direction) { argument 32 this.direction = direction;
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | IconLoader.java | 34 IconLoader(String iconName, Density density, int platformVersion, LayoutDirection direction) { argument 38 mDirection = direction; 99 * direction into consideration.
|
/frameworks/av/media/libaaudio/src/core/ |
H A D | AudioStreamBuilder.cpp | 62 static aaudio_result_t builder_createStream(aaudio_direction_t direction, argument 69 switch (direction) { 90 ALOGE("%s() bad direction = %d", __func__, direction);
|
/frameworks/base/core/java/android/widget/ |
H A D | AccessibilityIterators.java | 106 protected int getLineEdgeIndex(int lineNumber, int direction) { argument 108 if (direction * paragraphDirection < 0) {
|
H A D | ZoomButton.java | 116 public boolean dispatchUnhandledMove(View focused, int direction) { argument 118 return super.dispatchUnhandledMove(focused, direction);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | VerticalFocusSearchTest.java | 51 View findNextFocus(ViewGroup root, View focused, int direction); argument 57 public View findNextFocus(ViewGroup root, View focused, int direction) { argument 59 .findNextFocus(root, focused, direction);
|