Searched refs:direction (Results 151 - 175 of 209) sorted by relevance

123456789

/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java120 boolean focused, int direction,
119 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
/frameworks/base/core/jni/
H A Dandroid_hardware_Radio.cpp695 android_hardware_Radio_step(JNIEnv *env, jobject thiz, jint direction, jboolean skipSubChannel) argument
702 status_t status = module->step((radio_direction_t)direction, (bool)skipSubChannel);
707 android_hardware_Radio_scan(JNIEnv *env, jobject thiz, jint direction, jboolean skipSubChannel) argument
714 status_t status = module->scan((radio_direction_t)direction, (bool)skipSubChannel);
/frameworks/base/media/java/android/media/session/
H A DMediaSession.java615 private void dispatchAdjustVolume(int direction) { argument
616 postToCallback(CallbackMessageHandler.MSG_ADJUST_VOLUME, direction);
1162 public void onAdjustVolume(int direction) { argument
1165 session.dispatchAdjustVolume(direction);
H A DMediaController.java311 * Adjust the volume of the output this session is playing on. The direction
320 * @param direction The direction to adjust the volume in.
323 public void adjustVolume(int direction, int flags) { argument
325 mSessionBinder.adjustVolume(direction, flags, mContext.getPackageName());
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
H A DItemTouchHelperActivity.java119 public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction) {
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
H A DItemTouchHelperActivity.java119 public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction) {
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DDetailsSupportFragment.java846 public boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) {
869 public View onFocusSearch(View focused, int direction) {
872 if (direction == View.FOCUS_UP) {
882 if (direction == View.FOCUS_DOWN) {
/frameworks/support/wear/src/android/support/wear/widget/drawer/
H A DWearableNavigationDrawerView.java216 public boolean canScrollHorizontally(int direction) { argument
/frameworks/base/core/java/com/android/internal/widget/
H A DLinearLayoutManager.java97 * It is calculated by checking {@link #getReverseLayout()} and View's layout direction.
356 * Returns if views are laid out from the opposite direction of the layout.
370 * For horizontal layouts, it depends on the layout direction.
423 * scrolling direction. Changing direction will cause the extra layout space to swap to the
452 final int direction = targetPosition < firstChildPos != mShouldReverseLayout ? -1 : 1;
454 return new PointF(direction, 0);
456 return new PointF(0, direction);
487 // resolve layout direction
521 // extra items in the opposite direction t
[all...]
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DMediaControllerCompat.java496 * Adjust the volume of the output this session is playing on. The direction
505 * @param direction The direction to adjust the volume in.
508 public void adjustVolume(int direction, int flags) { argument
509 mImpl.adjustVolume(direction, flags);
1267 void adjustVolume(int direction, int flags); argument
1520 public void adjustVolume(int direction, int flags) { argument
1522 mBinder.adjustVolume(direction, flags, null);
2008 public void adjustVolume(int direction, int flags) { argument
2009 MediaControllerCompatApi21.adjustVolume(mControllerObj, direction, flag
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java101 * It is calculated by checking {@link #getReverseLayout()} and View's layout direction.
360 * Returns if views are laid out from the opposite direction of the layout.
374 * For horizontal layouts, it depends on the layout direction.
427 * scrolling direction. Changing direction will cause the extra layout space to swap to the
456 final int direction = targetPosition < firstChildPos != mShouldReverseLayout ? -1 : 1;
458 return new PointF(direction, 0);
460 return new PointF(0, direction);
491 // resolve layout direction
525 // extra items in the opposite direction t
[all...]
H A DStaggeredGridLayoutManager.java200 * If a full span item is invalid / or created in reverse direction; it may create gaps in
266 * When a full span item is laid out in reverse direction, it sets a flag which we check when
468 * For horizontal layouts, it depends on the layout direction.
573 * Not that this value is not affected by RecyclerView's layout direction.
584 // we don't like it to wrap content in our non-scroll direction.
837 // Layout direction may change but we should select the child depending on the latest
838 // layout direction. Otherwise, we'll choose the wrong child.
883 // Item does not fit. Fix depending on layout direction.
905 // Child is not visible. Set anchor coordinate depending on in which direction
1441 private void setLayoutStateDirection(int direction) { argument
2244 onFocusSearchFailed(View focused, int direction, RecyclerView.Recycler recycler, RecyclerView.State state) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java1654 // Set the layout direction if it has not been set before (inherit is the default)
4612 int direction = 0;
4616 direction = View.FOCUS_LEFT;
4621 direction = View.FOCUS_RIGHT;
4626 direction = View.FOCUS_UP;
4631 direction = View.FOCUS_DOWN;
4636 direction = View.FOCUS_FORWARD;
4638 direction = View.FOCUS_BACKWARD;
4642 if (direction != 0) {
4645 View v = focused.focusSearch(direction);
4677 performKeyboardGroupNavigation(int direction) argument
6181 focusSearch(View focused, int direction) argument
6193 keyboardNavigationClusterSearch(View currentCluster, @FocusDirection int direction) argument
7856 focusSearch(long accessibilityNodeId, int direction, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
[all...]
H A DAccessibilityInteractionController.java427 public void focusSearchClientThread(long accessibilityNodeId, int direction, argument
437 args.argi2 = direction;
453 final int direction = args.argi2;
475 View nextView = root.focusSearch(direction);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode.cpp2050 Int direction[6]; /* 0: HORIZONTAL, 1: VERTICAL */ local
2143 /* Find the direction of the prediction and the DC prediction */
2188 direction[comp] = 1;
2195 direction[comp] = 0;
2212 if (direction[comp] == 0)
2259 if (direction[comp] == 0)
2308 if (direction[comp] == 0)
2356 if (direction[comp] == 0)
2409 if (direction[comp] == 0) /* Horizontal, left COLUMN of block A */
2483 if (direction[com
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java811 * Searches for the nearest view in the specified direction that can take
814 * @param direction The direction. Can be one of:
824 public AccessibilityNodeInfo focusSearch(int direction) { argument
826 enforceValidFocusDirection(direction);
831 mSourceNodeId, direction);
2923 private void enforceValidFocusDirection(int direction) { argument
2924 switch (direction) {
2933 throw new IllegalArgumentException("Unknown direction: " + direction);
[all...]
H A DAccessibilityInteractionClient.java465 * @param direction The direction in which to search for focusable.
469 long accessibilityNodeId, int direction) {
476 accessibilityNodeId, direction, interactionId, this,
468 focusSearch(int connectionId, int accessibilityWindowId, long accessibilityNodeId, int direction) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dcombined_decode.cpp431 video->mblock->direction = 0;
435 video->mblock->direction = 1;
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dp.java513 * @param direction One of the supported adjust values.
516 public void adjustAvrcpAbsoluteVolume(int direction) { argument
521 mService.adjustAvrcpAbsoluteVolume(direction);
H A DBluetoothHeadset.java915 public void clccResponse(int index, int direction, int status, int mode, boolean mpty, argument
919 mService.clccResponse(index, direction, status, mode, mpty, number, type);
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java1118 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1119 super.onFocusChanged(focused, direction, previouslyFocusedRect);
H A DSimpleMonthView.java476 protected void onFocusChanged(boolean gainFocus, @FocusDirection int direction, argument
483 switch(direction) {
511 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRemoteInputView.java520 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
521 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DMagnificationController.java516 * opposite direction as the offsets passed in here.
518 * @param offsetX the amount in pixels to offset the region in the X direction, in current
520 * @param offsetY the amount in pixels to offset the region in the Y direction, in current
717 final int direction = TextUtils
719 if (direction == View.LAYOUT_DIRECTION_LTR) {
/frameworks/native/libs/math/include/math/
H A Dmat4.h285 static CONSTEXPR TMat44 perspective(T fov, T aspect, T near, T far, Fov direction = Fov::VERTICAL);
473 CONSTEXPR TMat44<T> TMat44<T>::perspective(T fov, T aspect, T near, T far, TMat44::Fov direction) {
477 if (direction == TMat44::Fov::VERTICAL) {

Completed in 614 milliseconds

123456789