Searched defs:direction (Results 26 - 50 of 82) sorted by relevance

1234

/frameworks/base/core/java/android/view/animation/
H A DGridLayoutAnimationController.java34 * In addition, the animation direction can be controlled. The default direction
74 * Bitmask used to retrieve the horizontal component of the direction.
79 * Bitmask used to retrieve the vertical component of the direction.
216 * Returns the direction of the animation. {@link #DIRECTION_HORIZONTAL_MASK}
218 * horizontal and vertical components of the direction.
220 * @return the direction of the animation
235 * Sets the direction of the animation. The direction is expressed as an
239 * @param direction th
249 setDirection(int direction) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DDialerFilter.java93 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
94 super.onFocusChanged(focused, direction, previouslyFocusedRect);
H A DAutoCompleteTextView.java1003 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1004 super.onFocusChanged(focused, direction, previouslyFocusedRect);
H A DGallery.java1364 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { argument
1365 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
1373 mSelectedChild.requestFocus(direction);
1498 // Flip sign to convert finger direction to list items direction
H A DGridView.java1666 * @param direction either {@link View#FOCUS_UP} or {@link View#FOCUS_DOWN}
1669 boolean pageScroll(int direction) { argument
1672 if (direction == FOCUS_UP) {
1674 } else if (direction == FOCUS_DOWN) {
1691 * @param direction either {@link View#FOCUS_UP} or {@link View#FOCUS_DOWN}.
1695 boolean fullScroll(int direction) { argument
1697 if (direction == FOCUS_UP) {
1702 } else if (direction == FOCUS_DOWN) {
1719 * @param direction either {@link View#FOCUS_LEFT}, {@link View#FOCUS_RIGHT},
1724 boolean arrowScroll(int direction) { argument
1789 sequenceScroll(int direction) argument
1844 onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) argument
1889 isCandidateSelection(int childIndex, int direction) argument
[all...]
H A DHorizontalScrollView.java943 * @param direction the scroll direction: {@link android.view.View#FOCUS_LEFT}
948 public boolean pageScroll(int direction) { argument
949 boolean right = direction == View.FOCUS_RIGHT;
969 return scrollAndFocus(direction, mTempRect.left, mTempRect.right);
979 * @param direction the scroll direction: {@link android.view.View#FOCUS_LEFT}
984 public boolean fullScroll(int direction) { argument
985 boolean right = direction == View.FOCUS_RIGHT;
1000 return scrollAndFocus(direction, mTempRec
1015 scrollAndFocus(int direction, int left, int right) argument
1047 arrowScroll(int direction) argument
1406 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]
H A DScrollView.java928 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP}
933 public boolean pageScroll(int direction) { argument
934 boolean down = direction == View.FOCUS_DOWN;
954 return scrollAndFocus(direction, mTempRect.top, mTempRect.bottom);
964 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP}
969 public boolean fullScroll(int direction) { argument
970 boolean down = direction == View.FOCUS_DOWN;
985 return scrollAndFocus(direction, mTempRec
1000 scrollAndFocus(int direction, int top, int bottom) argument
1032 arrowScroll(int direction) argument
1400 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DInternalSelectionView.java241 protected void onFocusChanged(boolean focused, int direction, argument
243 super.onFocusChanged(focused, direction, previouslyFocusedRect);
246 switch (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/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardAbsKeyInputView.java136 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument
138 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect);
H A DKeyguardAccountView.java128 protected boolean onRequestFocusInDescendants(int direction, argument
131 return mLogin.requestFocus(direction, previouslyFocusedRect);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DAccountUnlockScreen.java129 protected boolean onRequestFocusInDescendants(int direction, argument
132 return mLogin.requestFocus(direction, previouslyFocusedRect);
H A DPasswordUnlockScreen.java255 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument
257 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect);
/frameworks/base/services/java/com/android/server/input/
H A DPersistentDataStore.java128 public boolean switchKeyboardLayout(String inputDeviceDescriptor, int direction) { argument
130 if (state != null && state.switchKeyboardLayout(direction)) {
338 public boolean switchKeyboardLayout(int direction) { argument
345 if (direction > 0) {
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java115 public boolean canScrollHorizontally(View v, int direction); argument
116 public boolean canScrollVertically(View v, int direction); argument
140 public boolean canScrollHorizontally(View v, int direction) { argument
143 public boolean canScrollVertically(View v, int direction) { argument
236 public boolean canScrollHorizontally(View v, int direction) { argument
237 return ViewCompatICS.canScrollHorizontally(v, direction);
240 public boolean canScrollVertically(View v, int direction) { argument
241 return ViewCompatICS.canScrollVertically(v, direction);
340 * Check if this view can be scrolled horizontally in a certain direction.
343 * @param direction Negativ
346 canScrollHorizontally(View v, int direction) argument
357 canScrollVertically(View v, int direction) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DVideoEditorHelper.java250 int behavior, int direction) {
253 beforeMediaItem, durationMs, behavior, direction);
248 createTSliding(String transitionId, MediaItem afterMediaItem, MediaItem beforeMediaItem, long durationMs, int behavior, int direction) argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHeadset.java843 public void clccResponse(int index, int direction, int status, int mode, boolean mpty, argument
847 mService.clccResponse(index, direction, status, mode, mpty, number, type);
/frameworks/base/core/java/android/view/
H A DAccessibilityInteractionController.java418 public void focusSearchClientThread(long accessibilityNodeId, int direction, int interactionId, argument
427 args.argi2 = direction;
450 final int direction = args.argi2;
471 View nextView = root.focusSearch(direction);
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityInteractionClient.java375 * @param direction The direction in which to search for focusable.
379 long accessibilityNodeId, int direction) {
385 accessibilityNodeId, direction, interactionId, this,
378 focusSearch(int connectionId, int accessibilityWindowId, long accessibilityNodeId, int direction) argument
/frameworks/base/core/java/android/webkit/
H A DAccessibilityInjectorFallback.java114 // keep track of last direction
169 int direction = binding.getFirstArgument(i);
170 // on second null selection string in same direction - WebView handles the event
171 if (direction == mLastDirection && mIsLastSelectionStringNull) {
175 mLastDirection = direction;
177 mLastDownEventHandled = traverseCurrentAxis(direction, sendEvent,
181 direction = binding.getFirstArgument(i);
182 // on second null selection string in same direction => WebView handle the event
183 if (direction == mLastDirection && mIsLastSelectionStringNull) {
187 mLastDirection = direction;
267 traverseCurrentAxis(int direction, boolean sendEvent, String contentDescription) argument
347 traverseGivenAxis(int direction, int axis, boolean sendEvent, String contentDescription) argument
[all...]
/frameworks/base/tools/aidl/
H A Daidl_language.h36 buffer_type direction; member in struct:arg_type
136 int convert_direction(const char* direction);
H A Daidl.cpp71 convert_direction(const char* direction) argument
73 if (direction == NULL) {
76 if (0 == strcmp(direction, "in")) {
79 if (0 == strcmp(direction, "out")) {
479 && convert_direction(arg->direction.data) != IN_PARAMETER) {
487 if (arg->direction.data == NULL
497 if (convert_direction(arg->direction.data) != IN_PARAMETER
503 arg->direction.data, arg->type.type.data,
511 m->type.array_token.lineno, index, arg->direction.data,
520 m->type.array_token.lineno, index, arg->direction
[all...]
/frameworks/av/libvideoeditor/vss/inc/
H A DM4VSS3GPP_Extended_API.h194 M4xVSS_SlideTransition_Direction direction; /* direction of the slide */ member in struct:__anon243
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java514 private static Direction getDirection(int direction) { argument
516 if (direction == d.nativeInt) {
739 * @param dir The direction to wind the rectangle's contour
745 Direction direction = getDirection(dir);
747 switch (direction) {
768 * @param dx The amount in the X direction to offset the entire path
769 * @param dy The amount in the Y direction to offset the entire path
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java1135 private void switchToHeaderInner(String fragmentName, Bundle args, int direction) { argument
1170 int direction = mHeaders.indexOf(header) - mHeaders.indexOf(mCurHeader);
1171 switchToHeaderInner(header.fragment, header.fragmentArguments, direction);

Completed in 307 milliseconds

1234