Home
last modified time | relevance | path

Searched refs:Position (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/gestural/
DFloatingRotationButtonPositionCalculatorTest.kt8 import com.android.systemui.shared.rotation.FloatingRotationButtonPositionCalculator.Position
37 val expectedPosition: Position
76 expectedPosition = Position(
87 expectedPosition = Position(
98 expectedPosition = Position(
109 expectedPosition = Position(
120 expectedPosition = Position(
131 expectedPosition = Position(
142 expectedPosition = Position(
155 expectedPosition = Position(
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DComplicationLayoutParams.java41 public @interface Position {} annotation in ComplicationLayoutParams
75 @Position
114 public ComplicationLayoutParams(int width, int height, @Position int position, in ComplicationLayoutParams()
132 public ComplicationLayoutParams(int width, int height, @Position int position, in ComplicationLayoutParams()
153 public ComplicationLayoutParams(int width, int height, @Position int position, in ComplicationLayoutParams()
174 public ComplicationLayoutParams(int width, int height, @Position int position, in ComplicationLayoutParams()
200 public ComplicationLayoutParams(int width, int height, @Position int position, in ComplicationLayoutParams()
238 private static boolean validateDirection(@Position int position, @Direction int direction) { in validateDirection()
263 public static void iteratePositions(Consumer<Integer> consumer, @Position int position) { in iteratePositions()
272 private static boolean validatePosition(@Position int position) { in validatePosition()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DPosition.java27 public class Position { class
44 public static Position fromString(String positionString) { in fromString()
49 return new Position(percentageX, percentageY); in fromString()
56 Position(float percentageX, float percentageY) { in Position() method in Position
68 public void update(@NonNull Position percentagePosition) { in update()
DMenuViewModel.java43 private final MutableLiveData<Position> mPercentagePositionData = new MutableLiveData<>();
71 void updateMenuSavingPosition(Position percentagePosition) { in updateMenuSavingPosition()
98 LiveData<Position> getPercentagePositionData() { in getPercentagePositionData()
DMenuInfoRepository.java86 private Position mPercentagePosition;
180 void loadMenuPosition(OnInfoReady<Position> callback) { in loadMenuPosition()
206 void updateMenuSavingPosition(Position percentagePosition) { in updateMenuSavingPosition()
229 private Position getStartPosition() { in getStartPosition()
238 ? new Position(defaultPositionXPercent, DEFAULT_MENU_POSITION_Y_PERCENT) in getStartPosition()
239 : Position.fromString(absolutePositionString); in getStartPosition()
DMenuViewAppearance.java48 private final Position mPercentagePosition = new Position(/* percentageX= */
134 void setPercentagePosition(Position percentagePosition) { in setPercentagePosition()
DMenuView.java64 private final Observer<Position> mPercentagePositionObserver = this::onPercentagePosition;
200 private void onPercentagePosition(Position percentagePosition) { in onPercentagePosition()
307 void persistPositionAndUpdateEdge(Position percentagePosition) { in persistPositionAndUpdateEdge()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DPositionTest.java41 final Position position = Position.fromString(correctStringFormat); in fromString_correctFormat_expectedValues()
52 Position.fromString(incorrectStringFormat); in fromString_incorrectFormat_throwsException()
60 final Position position = new Position(expectedX, expectedY); in constructor()
DMenuEduTooltipViewTest.java64 new Position(/* percentageX= */ 0.0f, /* percentageY= */ 0.0f)); in show_menuOnLeft_onRightOfAnchor()
77 new Position(/* percentageX= */ 0.4f, /* percentageY= */ 0.0f)); in show_menuCloseToLeftOfCenter_onLeftOfAnchor()
90 new Position(/* percentageX= */ 1.0f, /* percentageY= */ 0.0f)); in show_menuOnRight_onLeftOfAnchor()
DMenuViewTest.java130 mMenuView.persistPositionAndUpdateEdge(new Position(percentageX, percentageY)); in onAnimationend_updatePositionForSharedPreference()
133 final Position position = Position.fromString(positionString); in onAnimationend_updatePositionForSharedPreference()
/frameworks/base/core/java/android/view/
DRoundedCorner.java70 public @interface Position {} annotation in RoundedCorner
72 private final @Position int mPosition;
82 public RoundedCorner(@Position int position) { in RoundedCorner()
101 public RoundedCorner(@Position int position, int radius, int centerX, in RoundedCorner()
127 public @Position int getPosition() { in getPosition()
163 private String getPositionString(@Position int position) { in getPositionString()
DRoundedCorners.java36 import android.view.RoundedCorner.Position;
408 private RoundedCorner insetRoundedCorner(@Position int position, int radius, int centerX, in insetRoundedCorner()
446 public RoundedCorner getRoundedCorner(@Position int position) { in getRoundedCorner()
457 public void setRoundedCorner(@Position int position, @Nullable RoundedCorner roundedCorner) { in setRoundedCorner()
518 private static RoundedCorner createRoundedCorner(@Position int position, in createRoundedCorner()
/frameworks/base/tools/aapt2/text/
DUtf8Iterator_test.cpp72 EXPECT_THAT(iter.Position(), Eq(0u)); in TEST()
77 EXPECT_THAT(iter.Position(), Eq(1u)); in TEST()
82 EXPECT_THAT(iter.Position(), Eq(2u)); in TEST()
87 EXPECT_THAT(iter.Position(), Eq(6u)); in TEST()
91 EXPECT_THAT(iter.Position(), Eq(expected.size())); in TEST()
DUtf8Iterator.h34 size_t Position() const;
DUtf8Iterator.cpp46 size_t Utf8Iterator::Position() const { in Position() function in aapt::text::Utf8Iterator
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardBottomAreaInteractor.kt20 import com.android.systemui.common.shared.model.Position
40 private val _clockPosition = MutableStateFlow(Position(0, 0))
43 val clockPosition: Flow<Position> = _clockPosition.asStateFlow()
46 _clockPosition.value = Position(x, y) in setClockPosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthPanelController.java45 public @interface Position {} annotation in AuthPanelController
53 @Position private int mPosition = POSITION_BOTTOM;
77 private int getLeftBound(@Position int position) { in getLeftBound()
95 private int getRightBound(@Position int position, int left) { in getRightBound()
116 private int getTopBound(@Position int position) { in getTopBound()
134 public void setPosition(@Position int position) { in setPosition()
138 public @Position int getPosition() { in getPosition()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/rotation/
DRotationTransition.kt21 import android.tools.Position in <lambda>()
103 Position.TOP -> in <lambda>()
107 Position.BOTTOM -> in <lambda>()
111 Position.LEFT -> in <lambda>()
115 Position.RIGHT -> in <lambda>()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
DFloatingRotationButtonPositionCalculator.kt21 ): Position { in calculatePosition()
44 return Position( in calculatePosition()
51 data class Position( dataClass
DFloatingRotationButton.java41 import com.android.systemui.shared.rotation.FloatingRotationButtonPositionCalculator.Position;
83 private Position mPosition;
229 final Position newPosition = mPositionCalculator in onTaskbarStateChanged()
286 private void updateTranslation(Position position, boolean animate) { in updateTranslation()
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/
DCommonAssertions.kt22 import android.tools.Position in <lambda>()
193 Position.TOP -> in assertNavBarPosition()
198 Position.BOTTOM -> in assertNavBarPosition()
203 Position.LEFT -> in assertNavBarPosition()
208 Position.RIGHT -> in assertNavBarPosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/shared/model/
DPosition.kt20 data class Position( dataClass
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerRoundedCorner.java111 @RoundedCorner.Position
118 InvertedRoundedCornerDrawInfo(@RoundedCorner.Position int cornerPosition) { in InvertedRoundedCornerDrawInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
DDreamOverlayAnimationsController.kt35 import com.android.systemui.complication.ComplicationLayoutParams.Position in <lambda>()
290 @Position positions: Int = POSITION_TOP or POSITION_BOTTOM, in <lambda>()
317 @Position positions: Int = POSITION_TOP or POSITION_BOTTOM, in <lambda>()
/frameworks/base/core/res/geoid_map_assets/
DREADME.md5 Mean Sea Level." To appear in 2023 IEEE/ION Position, Location and Navigation Symposium (PLANS).

12