Home
last modified time | relevance | path

Searched refs:vertical (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DTypeClassifier.java55 boolean vertical = isVertical(); in calculateFalsingResult()
65 wrongDirection = !vertical || up; in calculateFalsingResult()
72 wrongDirection = vertical; in calculateFalsingResult()
75 wrongDirection = vertical; in calculateFalsingResult()
80 wrongDirection = !vertical || !up; in calculateFalsingResult()
89 wrongDirection = !vertical; in calculateFalsingResult()
92 wrongDirection = !vertical || !up; in calculateFalsingResult()
95 wrongDirection = vertical; in calculateFalsingResult()
98 wrongDirection = !vertical; in calculateFalsingResult()
102 wrongDirection = vertical; in calculateFalsingResult()
/frameworks/base/core/java/android/widget/
DScrollBarDrawable.java111 public void setParameters(int range, int offset, int extent, boolean vertical) { in setParameters() argument
112 if (mVertical != vertical) { in setParameters()
113 mVertical = vertical; in setParameters()
129 final boolean vertical = mVertical; in draw()
136 drawTrack = vertical ? mAlwaysDrawVerticalTrack : mAlwaysDrawHorizontalTrack; in draw()
146 drawTrack(canvas, r, vertical); in draw()
150 final int scrollBarLength = vertical ? r.height() : r.width(); in draw()
151 final int thickness = vertical ? r.width() : r.height(); in draw()
158 drawThumb(canvas, r, thumbOffset, thumbLength, vertical); in draw()
195 private void drawTrack(Canvas canvas, Rect bounds, boolean vertical) { in drawTrack() argument
[all …]
DSlidingDrawer.java444 final boolean vertical = mVertical; in onTouchEvent()
445 if (vertical) { in onTouchEvent()
472 if (vertical ? (mExpanded && top < mTapThreshold + mTopOffset) || in onTouchEvent()
483 animateClose(vertical ? top : left, true); in onTouchEvent()
485 animateOpen(vertical ? top : left, true); in onTouchEvent()
488 performFling(vertical ? top : left, velocity, false, true); in onTouchEvent()
492 performFling(vertical ? top : left, velocity, false, true); in onTouchEvent()
495 performFling(vertical ? top : left, velocity, false, true); in onTouchEvent()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/modifiers/
DPadding.kt71 vertical: Density.() -> Int = PaddingUnspecified, in padding()
76 top = vertical, in padding()
78 bottom = vertical, in padding()
84 properties["vertical"] = vertical in padding()
110 val vertical = top + bottom in measure() constant
112 val placeable = measurable.measure(constraints.offset(-horizontal, -vertical)) in measure()
115 val height = constraints.constrainHeight(placeable.height + vertical) in measure()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java86 public boolean vertical; field in UploadedTexture.BorderKey
93 return vertical ? x : -x; in hashCode()
100 return vertical == o.vertical in equals()
119 boolean vertical, Config config, int length) { in getBorderLine() argument
121 key.vertical = vertical; in getBorderLine()
126 bitmap = vertical in getBorderLine()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DInvalidateTreeActivity.java45 boolean vertical = remainingDepth % 2 == 0; in createQuadTree()
46 parent.setOrientation(vertical ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); in createQuadTree()
52 (vertical ? ViewGroup.LayoutParams.MATCH_PARENT : 0), in createQuadTree()
53 (vertical ? 0 : ViewGroup.LayoutParams.MATCH_PARENT), in createQuadTree()
/frameworks/base/core/java/android/window/
DSizeConfigurationBuckets.java72 SparseIntArray vertical = new SparseIntArray(); in SizeConfigurationBuckets() local
80 vertical.put(config.screenHeightDp, 0); in SizeConfigurationBuckets()
98 mVertical = vertical.copyKeys(); in SizeConfigurationBuckets()
280 @Nullable int[] vertical, in SizeConfigurationBuckets() argument
285 this.mVertical = vertical; in SizeConfigurationBuckets()
368 int[] vertical = (flg & 0x2) == 0 ? null : in.createIntArray(); in SizeConfigurationBuckets() local
373 this.mVertical = vertical; in SizeConfigurationBuckets()
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Drain_splash.agsl67 /** 2. Start of drawing a vertical line of the splash */
69 // Draw the vertical line.
76 // Mask the vertical line to reveal it vertically.
90 /** End of drawing the vertical line of the splash */
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/theme/
DSettingsDimension.kt63 val buttonPadding = PaddingValues(horizontal = itemPaddingEnd, vertical = buttonPaddingVertical)
70 PaddingValues(horizontal = dialogItemPaddingHorizontal, vertical = buttonPaddingVertical)
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipMenuView.java210 private void setButtonPadding(boolean vertical) { in setButtonPadding() argument
211 if (vertical) { in setButtonPadding()
240 final boolean vertical = targetBounds.height() > targetBounds.width(); in onPipTransitionToTargetBoundsStarted()
242 vertical != (mButtonLayoutManager.getOrientation() == LinearLayoutManager.VERTICAL); in onPipTransitionToTargetBoundsStarted()
258 mButtonLayoutManager.setOrientation(vertical in onPipTransitionToTargetBoundsStarted()
260 setButtonPadding(vertical); in onPipTransitionToTargetBoundsStarted()
279 boolean vertical = mCurrentPipBounds.height() > mCurrentPipBounds.width(); in onPipTransitionFinished()
281 vertical ? LinearLayoutManager.VERTICAL : LinearLayoutManager.HORIZONTAL); in onPipTransitionFinished()
282 setButtonPadding(vertical); in onPipTransitionFinished()
/frameworks/base/proto/src/
Dwindowmanager.proto60 // Possible values for the letterbox vertical reachability
69 // Represents the current vertical position for the letterboxed activity
73 // Represents the current vertical position for the letterboxed activity in tabletop mode
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/
DPlatformButtons.kt49 modifier = modifier.padding(vertical = verticalPadding).height(36.dp), in PlatformButton()
70 modifier = modifier.padding(vertical = verticalPadding).height(36.dp), in PlatformOutlinedButton()
122 private val ButtonPaddings = PaddingValues(horizontal = 16.dp, vertical = 8.dp)
/frameworks/base/apct-tests/perftests/core/src/android/view/
DViewShowHidePerfTest.java84 boolean vertical = remainingDepth % 2 == 0;
85 … parent.setOrientation(vertical ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL);
91 (vertical ? ViewGroup.LayoutParams.MATCH_PARENT : 0),
92 (vertical ? 0 : ViewGroup.LayoutParams.MATCH_PARENT),
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/viewholder/
DAppHeaderViewHolder.kt93 vertical = context.resources
97 vertical = context.resources
103 vertical = context.resources
403 constructor(vertical: Int = 0, horizontal: Int = 0) :
404 this(horizontal, vertical, horizontal, vertical)
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DButtonInterface.java28 void setVertical(boolean vertical); in setVertical() argument
DButtonDispatcher.java332 public void setVertical(boolean vertical) { in setVertical() argument
333 mVertical = vertical; in setVertical()
338 ((ButtonInterface) view).setVertical(vertical); in setVertical()
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java331 public AutoScrollHelper setRelativeVelocity(float horizontal, float vertical) { in setRelativeVelocity() argument
333 mRelativeVelocity[VERTICAL] = vertical / 1000f; in setRelativeVelocity()
371 public AutoScrollHelper setRelativeEdges(float horizontal, float vertical) { in setRelativeEdges() argument
373 mRelativeEdges[VERTICAL] = vertical; in setRelativeEdges()
/frameworks/base/media/java/android/media/
DTimedText.java163 public Justification(int horizontal, int vertical) { in Justification() argument
165 this.verticalJustification = vertical; in Justification()
499 int vertical = parcel.readInt(); in parseParcel() local
500 mJustification = new Justification(horizontal, vertical); in parseParcel()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/card/
DSettingsCard.kt72 vertical = SettingsDimension.itemPaddingAround, in SettingsCard()
90 .padding(vertical = 1.dp), in SettingsCardContent()
110 vertical = SettingsDimension.itemPaddingAround, in SettingsCardImpl()
/frameworks/base/libs/hwui/utils/
DBlur.h40 static void vertical(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest,
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/ui/
DText.kt48 .padding(vertical = SettingsDimension.paddingTiny) in SettingsTitle()
80 .padding(vertical = SettingsDimension.paddingTiny), in SettingsListItem()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/
DSuwScaffold.kt121 .padding(vertical = SettingsDimension.itemPaddingAround) in Header()
127 modifier = Modifier.padding(vertical = SettingsDimension.itemPaddingVertical), in Header()
DSettingsTab.kt50 .padding(horizontal = 4.dp, vertical = 6.dp) in SettingsTab()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/
DConfirmButton.kt32 modifier = Modifier.padding(vertical = 4.dp), in ConfirmButton()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/dialog/
DSettingsDialog.kt56 Column(modifier = Modifier.padding(vertical = SettingsDimension.itemPaddingAround)) { in SettingsDialogCard()

123