Searched defs:direction (Results 1 - 25 of 154) sorted by relevance

1234567

/frameworks/base/core/java/android/view/
H A DSoundEffectConstants.java35 * @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 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...]
/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/tools/layoutlib/bridge/src/android/graphics/
H A DEmbossMaskFilter_Delegate.java58 /*package*/ static long nativeConstructor(float[] direction, float ambient, argument
/frameworks/support/compat/java/android/support/v4/widget/
H A DListViewCompat.java57 * Check if the items in the list can be scrolled in a certain direction.
59 * @param direction Negative to check scrolling up, positive to check
61 * @return true if the list can be scrolled in the specified direction,
65 public static boolean canScrollList(@NonNull ListView listView, int direction) { argument
68 return listView.canScrollList(direction);
77 if (direction > 0) {
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dbitbuffer.h29 enum direction enum
/frameworks/av/services/oboeservice/
H A DAAudioEndpointManager.cpp39 aaudio_direction_t direction) {
44 switch (direction) {
56 endpoint, deviceId, (int)direction);
60 if (direction == AAUDIO_DIRECTION_INPUT) {
69 } else if (direction == AAUDIO_DIRECTION_OUTPUT) {
99 aaudio_direction_t direction = serviceEndpoint->getDirection(); local
102 switch (direction) {
38 openEndpoint(AAudioService &audioService, int32_t deviceId, aaudio_direction_t direction) argument
/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
H A DMovementMethod.java47 public void onTakeFocus(TextView widget, Spannable text, int direction); argument
H A DAllCapsTransformationMethod.java121 public void onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, argument
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DListViewAutoScrollHelper.java41 public boolean canTargetScrollHorizontally(int direction) { argument
47 public boolean canTargetScrollVertically(int direction) { argument
58 if (direction > 0) {
66 } else if (direction < 0) {
75 // The behavior for direction 0 is undefined and we can return
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/
H A DEmojiTransformationMethod.java64 final boolean focused, final int direction, final Rect previouslyFocusedRect) {
66 mTransformationMethod.onFocusChanged(view, sourceText, focused, direction,
63 onFocusChanged(final View view, final CharSequence sourceText, final boolean focused, final int direction, final Rect previouslyFocusedRect) argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGuidedActionItemContainer.java41 public View focusSearch(View focused, int direction) { argument
43 return super.focusSearch(focused, direction);
45 View view = super.focusSearch(focused, direction);
/frameworks/support/v7/appcompat/src/android/support/v7/text/
H A DAllCapsTransformationMethod.java47 int direction, Rect previouslyFocusedRect) {
46 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
/frameworks/av/media/libaaudio/src/core/
H A DAudioStreamBuilder.cpp49 static aaudio_result_t builder_createStream(aaudio_direction_t direction, argument
56 switch (direction) {
77 ALOGE("AudioStreamBuilder(): bad direction = %d", direction);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/focus/
H A DNavigateTaskViewEvent.java30 public Direction direction; field in class:NavigateTaskViewEvent
31 public NavigateTaskViewEvent(Direction direction) { argument
32 this.direction = direction;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DIconLoader.java34 IconLoader(String iconName, Density density, int platformVersion, LayoutDirection direction) { argument
38 mDirection = direction;
99 * direction into consideration.
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DGuidedStepRootLayout.java48 public View focusSearch(View focused, int direction) { argument
49 View newFocus = super.focusSearch(focused, direction);
50 if (direction == FOCUS_LEFT || direction == FOCUS_RIGHT) {
55 ? direction == FOCUS_LEFT : direction == FOCUS_RIGHT) {
/frameworks/av/media/libaaudio/src/binding/
H A DAAudioStreamRequest.h59 void setDirection(aaudio_direction_t direction) { argument
60 mDirection = direction;
/frameworks/av/media/libaaudio/tests/
H A Dtest_open_params.cpp57 static void testOpenOptions(aaudio_direction_t direction, argument
77 direction, channelCount, sampleRate, format);
83 AAudioStreamBuilder_setDirection(aaudioBuilder, direction);
107 direction, actualChannelCount, actualSampleRate, actualDataFormat);
119 EXPECT_EQ(direction, actualDirection);
146 aaudio_direction_t direction = directions[dirIndex]; local
148 testOpenOptions(direction, channelCount,
152 testOpenOptions(direction, AAUDIO_UNSPECIFIED, rates[i], AAUDIO_FORMAT_UNSPECIFIED);
155 testOpenOptions(direction, AAUDIO_UNSPECIFIED, AAUDIO_UNSPECIFIED, formats[i]);
/frameworks/base/core/java/android/widget/
H A DAccessibilityIterators.java106 protected int getLineEdgeIndex(int lineNumber, int direction) { argument
108 if (direction * paragraphDirection < 0) {
H A DZoomButton.java116 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 DVerticalFocusSearchTest.java49 View findNextFocus(ViewGroup root, View focused, int direction); argument
55 public View findNextFocus(ViewGroup root, View focused, int direction) { argument
57 .findNextFocus(root, focused, direction);
/frameworks/base/media/java/android/media/
H A DVolumeProvider.java141 * @param direction The direction to change the volume in.
143 public void onAdjustVolume(int direction) { argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerDataTest.java180 private void testDataActivity(int direction, boolean in, boolean out) { argument
181 updateDataActivity(direction);

Completed in 1632 milliseconds

1234567