Searched defs:isHorizontal (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/android/view/
H A DGravity.java397 public static boolean isHorizontal(int gravity) { method in class:Gravity
/frameworks/native/services/surfaceflinger/
H A DLayerStats.cpp129 const char* LayerStats::destinationLocation(int32_t location, int32_t range, bool isHorizontal) { argument
133 if (isHorizontal) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonRipple.java146 private boolean isHorizontal() { method in class:KeyButtonRipple
312 if (isHorizontal()) {
320 return isHorizontal() ? mLeftProp : mTopProp;
328 if (isHorizontal()) {
336 return isHorizontal() ? mRightProp : mBottomProp;
340 return isHorizontal() ? getBounds().width() : getBounds().height();
344 int size = isHorizontal() ? getBounds().width() : getBounds().height();
368 if (isHorizontal()) {
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java504 if (isHorizontal()) {
544 mThreshold = isHorizontal() ? THRESHOLD : 1.0f - THRESHOLD;
549 mThreshold = isHorizontal() ? 1.0f - THRESHOLD : THRESHOLD;
596 float position = isHorizontal() ? x : y;
597 float target = mThreshold * (isHorizontal() ? getWidth() : getHeight());
599 if (isHorizontal()) {
650 if (isHorizontal()) {
717 return isHorizontal() && y > - TRACKING_MARGIN && y < TRACKING_MARGIN + view.getHeight()
718 || !isHorizontal() && x > -TRACKING_MARGIN && x < TRACKING_MARGIN + view.getWidth();
721 private boolean isHorizontal() { method in class:SlidingTab
[all...]
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DGridWidgetTest.java4755 private void setUpActivityForScrollingTest(final boolean isRTL, boolean isHorizontal, argument
4759 if (isHorizontal) {
4769 mOrientation = isHorizontal ? BaseGridView.HORIZONTAL : BaseGridView.VERTICAL;
4772 final int offset = (isSiblingViewVisible ? 2 : 1) * (isHorizontal
4774 final int childSize = (isHorizontal ? mGridView.getWidth() : mGridView.getHeight())
4775 - offset - (isHorizontal ? 2 * mGridView.getHorizontalSpacing() :
4797 private void testScrollingAction(boolean isRTL, boolean isHorizontal) throws Throwable { argument
4811 if (isHorizontal) {
4845 if (isHorizontal) {
4885 boolean isHorizontal
[all...]

Completed in 301 milliseconds