Searched defs:Direction (Results 1 - 2 of 2) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
H A DProportionalLayout.java29 * {@link #setDirection(Direction)}. The factor is specified in {@link #setRatio(float)}.
30 * <p>For {@link Direction#heightToWidth}: width := height * factor</p>
31 * <p>For {@link Direction#widthToHeight}: height := width * factor</p>
37 public enum Direction { enum in class:ProportionalLayout
43 private Direction(String xmlName) { method in class:ProportionalLayout.Direction
48 * Parses the given direction string and returns the Direction instance. This
51 public static Direction parse(String value) {
53 return Direction.widthToHeight;
55 return Direction.heightToWidth;
63 private Direction mDirectio
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DWorkspace.java201 // Direction used for moving the workspace and hotseat UI
202 public enum Direction { enum in class:Workspace
208 Direction(Property<View, Float> viewProperty) { method in class:Workspace.Direction
216 * These values correspond to {@link Direction#X} & {@link Direction#Y}
221 * The values correspond to {@link Direction#X}, {@link Direction#Y} &
1517 setWorkspaceTranslationAndAlpha(Direction.X, transX, alpha);
1518 setHotseatTranslationAndAlpha(Direction.X, transX, alpha);
1530 setWorkspaceTranslationAndAlpha(Direction
[all...]

Completed in 364 milliseconds