Searched refs:direction (Results 51 - 75 of 209) sorted by relevance

123456789

/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothA2dp.aidl38 oneway void adjustAvrcpAbsoluteVolume(int direction);
H A DIBluetoothHeadset.aidl58 void clccResponse(int index, int direction, int status, int mode, boolean mpty,
/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/core-ui/java/android/support/v4/widget/
H A DAutoScrollHelper.java488 * @return whether the target is able to scroll in the requested direction
537 int direction, float coordinate, float srcSize, float dstSize) {
538 final float relativeEdge = mRelativeEdges[direction];
539 final float maximumEdge = mMaximumEdges[direction];
542 // The edge in this direction is not activated.
546 final float relativeVelocity = mRelativeVelocity[direction];
547 final float minimumVelocity = mMinimumVelocity[direction];
548 final float maximumVelocity = mMaximumVelocity[direction];
572 * horizontally in a certain direction.
574 * @param direction Negativ
536 computeTargetVelocity( int direction, float coordinate, float srcSize, float dstSize) argument
579 canTargetScrollHorizontally(int direction) argument
590 canTargetScrollVertically(int direction) argument
[all...]
H A DNestedScrollView.java1128 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP}
1133 public boolean pageScroll(int direction) { argument
1134 boolean down = direction == View.FOCUS_DOWN;
1154 return scrollAndFocus(direction, mTempRect.top, mTempRect.bottom);
1164 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP}
1169 public boolean fullScroll(int direction) { argument
1170 boolean down = direction == View.FOCUS_DOWN;
1185 return scrollAndFocus(direction, mTempRec
1200 scrollAndFocus(int direction, int top, int bottom) argument
1232 arrowScroll(int direction) argument
1625 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]
H A DExploreByTouchHelper.java79 * public boolean onFocusChanged(boolean gainFocus, int direction,
81 * super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
82 * mHelper.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
226 final int direction = keyToDirection(keyCode);
229 if (moveFocus(direction, null)) {
265 * public boolean onFocusChanged(boolean gainFocus, int direction,
267 * super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
268 * mHelper.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
272 public final void onFocusChanged(boolean gainFocus, int direction, argument
279 moveFocus(direction, previouslyFocusedRec
370 moveFocus(@ocusDirection int direction, @Nullable Rect previouslyFocusedRect) argument
447 guessPreviouslyFocusedRect(@onNull View host, @FocusRealDirection int direction, @NonNull Rect outBounds) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGuidedActionEditText.java105 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
106 super.onFocusChanged(focused, direction, previouslyFocusedRect);
H A DBaseGridView.java425 * Sets number of pixels to the end of low edge. Supports right to left layout direction.
438 * Returns number of pixels to the end of low edge. Supports right to left layout direction. In
690 * applied in primary scroll direction. The scrollExtra will be kept until
699 * applied in primary scroll direction. The scrollExtra will be kept until
837 public boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument
838 return mLayoutManager.gridOnRequestFocusInDescendants(this, direction,
863 public View focusSearch(int direction) { argument
869 return focusSearch(view, direction);
873 return super.focusSearch(direction);
877 protected void onFocusChanged(boolean gainFocus, int direction, Rec argument
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewAccessibilityTest.java77 public boolean canScrollHorizontally(int direction) {
78 return direction < 0 && mHorizontalScrollBefore ||
79 direction > 0 && mHorizontalScrollAfter;
83 public boolean canScrollVertically(int direction) {
84 return direction < 0 && mVerticalScrollBefore ||
85 direction > 0 && mVerticalScrollAfter;
240 public boolean canScrollHorizontally(int direction) {
246 public boolean canScrollVertically(int direction) {
/frameworks/av/services/oboeservice/
H A DAAudioServiceStreamMMAP.cpp93 aaudio_direction_t direction = request.getDirection(); local
110 if (direction == AAUDIO_DIRECTION_OUTPUT) {
114 } else if (direction == AAUDIO_DIRECTION_INPUT) {
119 ALOGE("openMmapStream - invalid direction = %d", direction);
125 MmapStreamInterface::stream_direction_t streamDirection = (direction == AAUDIO_DIRECTION_OUTPUT)
159 mSamplesPerFrame = (direction == AAUDIO_DIRECTION_OUTPUT)
/frameworks/base/core/java/android/net/
H A DIpSecManager.java144 @NonNull IIpSecService service, int direction, InetAddress remoteAddress, int spi)
151 direction, remoteAddress.getHostAddress(), spi, new Binder());
195 * @param direction {@link IpSecTransform#DIRECTION_IN} or {@link IpSecTransform#DIRECTION_OUT}
203 int direction, InetAddress remoteAddress)
208 direction,
222 * @param direction {@link IpSecTransform#DIRECTION_IN} or {@link IpSecTransform#DIRECTION_OUT}
230 int direction, InetAddress remoteAddress, int requestedSpi)
235 return new SecurityParameterIndex(mService, direction, remoteAddress, requestedSpi);
143 SecurityParameterIndex( @onNull IIpSecService service, int direction, InetAddress remoteAddress, int spi) argument
202 reserveSecurityParameterIndex( int direction, InetAddress remoteAddress) argument
229 reserveSecurityParameterIndex( int direction, InetAddress remoteAddress, int requestedSpi) argument
H A DIpSecTransform.java55 * For direction-specific attributes of an IpSecTransform, indicates that an attribute applies
61 * For direction-specific attributes of an IpSecTransform, indicates that an attribute applies
313 * Add an encryption algorithm to the transform for the given direction.
315 * <p>If encryption is set for a given direction without also providing an SPI for that
316 * direction, creation of an IpSecTransform will fail upon calling a build() method.
318 * @param direction either {@link #DIRECTION_IN or #DIRECTION_OUT}
322 @TransformDirection int direction, IpSecAlgorithm algo) {
323 mConfig.flow[direction].encryption = algo;
330 * <p>If authentication is set for a given direction without also providing an SPI for that
331 * direction, creatio
321 setEncryption( @ransformDirection int direction, IpSecAlgorithm algo) argument
336 setAuthentication( @ransformDirection int direction, IpSecAlgorithm algo) argument
359 setSpi( @ransformDirection int direction, IpSecManager.SecurityParameterIndex spi) argument
[all...]
/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/av/media/libaaudio/src/core/
H A DAudioStreamBuilder.h53 AudioStreamBuilder* setDirection(aaudio_direction_t direction) { argument
54 mDirection = direction;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DarmVCM4P2_SetPredDir_s.s31 ; * Performs detecting the prediction direction
44 ; * [out]predDir indicates the prediction direction which takes one
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DarmVCM4P2_SetPredDir_s.s31 ; * Performs detecting the prediction direction
44 ; * [out]predDir indicates the prediction direction which takes one
/frameworks/base/core/java/android/view/
H A DViewParent.java170 * Find the nearest view in the specified direction that wants to take focus
173 * @param direction One of FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, and FOCUS_RIGHT
175 public View focusSearch(View v, int direction); argument
178 * Find the nearest keyboard navigation cluster in the specified direction.
183 * @param direction Direction to look
185 * @return The nearest keyboard navigation cluster in the specified direction, or null if none
188 View keyboardNavigationClusterSearch(View currentCluster, int direction); argument
419 * Tells if this view parent can resolve the layout direction.
422 * @return True if this view parent can resolve the layout direction.
427 * Tells if this view parent layout direction i
[all...]
/frameworks/base/media/java/android/media/session/
H A DISessionCallback.aidl52 void onAdjustVolume(int direction);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIPhoneStateListener.aidl38 void onDataActivity(int direction);
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java998 * @param direction the scroll direction: {@link android.view.View#FOCUS_LEFT}
1003 public boolean pageScroll(int direction) { argument
1004 boolean right = direction == View.FOCUS_RIGHT;
1024 return scrollAndFocus(direction, mTempRect.left, mTempRect.right);
1034 * @param direction the scroll direction: {@link android.view.View#FOCUS_LEFT}
1039 public boolean fullScroll(int direction) { argument
1040 boolean right = direction == View.FOCUS_RIGHT;
1055 return scrollAndFocus(direction, mTempRec
1070 scrollAndFocus(int direction, int left, int right) argument
1102 arrowScroll(int direction) argument
1466 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]
H A DScrollView.java1013 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP}
1018 public boolean pageScroll(int direction) { argument
1019 boolean down = direction == View.FOCUS_DOWN;
1039 return scrollAndFocus(direction, mTempRect.top, mTempRect.bottom);
1049 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP}
1054 public boolean fullScroll(int direction) { argument
1055 boolean down = direction == View.FOCUS_DOWN;
1070 return scrollAndFocus(direction, mTempRec
1085 scrollAndFocus(int direction, int top, int bottom) argument
1117 arrowScroll(int direction) argument
1493 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]
/frameworks/av/include/media/
H A DMmapStreamInterface.h33 * Values for direction argument passed to openMmapStream()
51 * \param[in] direction open a playback or capture stream.
68 static status_t openMmapStream(stream_direction_t direction,
/frameworks/av/radio/
H A DRadio.cpp180 status_t Radio::scan(radio_direction_t direction, bool skipSubchannel) argument
186 return mIRadio->scan(direction, skipSubchannel);
189 status_t Radio::step(radio_direction_t direction, bool skipSubchannel) argument
195 return mIRadio->step(direction, skipSubchannel);
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DRecyclerViewActivity.java198 public View onFocusSearchFailed(View focused, int direction, argument
211 if (direction == View.FOCUS_UP || direction == View.FOCUS_BACKWARD) {
226 if (direction == View.FOCUS_DOWN || direction == View.FOCUS_FORWARD) {
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DRecyclerViewActivity.java198 public View onFocusSearchFailed(View focused, int direction, argument
211 if (direction == View.FOCUS_UP || direction == View.FOCUS_BACKWARD) {
226 if (direction == View.FOCUS_DOWN || direction == View.FOCUS_FORWARD) {

Completed in 741 milliseconds

123456789