/cts/tests/tests/graphics/src/android/graphics/cts/ |
Path_DirectionTest.java | 20 import android.graphics.Path.Direction; 26 assertEquals(Direction.CW, Direction.valueOf("CW")); 27 assertEquals(Direction.CCW, Direction.valueOf("CCW")); 28 // Every Direction element will be tested somewhere else. 33 Direction[] expected = { 34 Direction.CW, 35 Direction.CCW}; 36 Direction[] actual = Direction.values() [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
RelativeDateTimeFormatterTest.java | 17 import android.icu.text.RelativeDateTimeFormatter.Direction; 32 {0.0, Direction.NEXT, RelativeUnit.SECONDS, "in 0 seconds"}, 33 {0.5, Direction.NEXT, RelativeUnit.SECONDS, "in 0.5 seconds"}, 34 {1.0, Direction.NEXT, RelativeUnit.SECONDS, "in 1 second"}, 35 {2.0, Direction.NEXT, RelativeUnit.SECONDS, "in 2 seconds"}, 36 {0.0, Direction.NEXT, RelativeUnit.MINUTES, "in 0 minutes"}, 37 {0.5, Direction.NEXT, RelativeUnit.MINUTES, "in 0.5 minutes"}, 38 {1.0, Direction.NEXT, RelativeUnit.MINUTES, "in 1 minute"}, 39 {2.0, Direction.NEXT, RelativeUnit.MINUTES, "in 2 minutes"}, 40 {0.0, Direction.NEXT, RelativeUnit.HOURS, "in 0 hours"} [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
RelativeDateTimeFormatterTest.java | 16 import com.ibm.icu.text.RelativeDateTimeFormatter.Direction; 28 {0.0, Direction.NEXT, RelativeUnit.SECONDS, "in 0 seconds"}, 29 {0.5, Direction.NEXT, RelativeUnit.SECONDS, "in 0.5 seconds"}, 30 {1.0, Direction.NEXT, RelativeUnit.SECONDS, "in 1 second"}, 31 {2.0, Direction.NEXT, RelativeUnit.SECONDS, "in 2 seconds"}, 32 {0.0, Direction.NEXT, RelativeUnit.MINUTES, "in 0 minutes"}, 33 {0.5, Direction.NEXT, RelativeUnit.MINUTES, "in 0.5 minutes"}, 34 {1.0, Direction.NEXT, RelativeUnit.MINUTES, "in 1 minute"}, 35 {2.0, Direction.NEXT, RelativeUnit.MINUTES, "in 2 minutes"}, 36 {0.0, Direction.NEXT, RelativeUnit.HOURS, "in 0 hours"} [all...] |
/external/pdfium/core/include/fxcrt/ |
fx_bidi.h | 12 // Processes characters and group them into segments based on text direction. 15 enum Direction { NEUTRAL, LEFT, RIGHT }; 21 // Returns true if the character has a different direction than the 22 // existing direction to indicate there is a segment to process. 34 // Returns the segment direction. 35 Direction GetBidiInfo(int32_t* iStart, int32_t* iCount) const; 46 // Direction of the current segment. 47 Direction m_CurBidi; 55 // Direction of the last segment. 56 Direction m_LastBidi [all...] |
/platform_testing/libraries/base-app-helpers/src/android/platform/test/helpers/ |
AbstractRedditHelper.java | 20 import android.support.test.uiautomator.Direction; 47 * @param direction Direction in which to scroll, must be UP or DOWN 49 * @return boolean Whether the page can still scroll in the given direction 51 public abstract boolean scrollFrontPage(Direction direction, float percent); 58 * @param direction Direction in which to scroll, must be UP or DOWN 60 * @return boolean Whether the page can still scroll in the given direction 62 public abstract boolean scrollCommentPage(Direction direction, float percent) [all...] |
AbstractChromeHelper.java | 20 import android.support.test.uiautomator.Direction; 40 public abstract void flingPage(Direction dir);
|
AbstractGoogleMessengerHelper.java | 20 import android.support.test.uiautomator.Direction; 54 * @param direction Direction to scroll, must be UP or DOWN. 56 public abstract void scrollMessages(Direction direction);
|
AbstractRecentsHelper.java | 20 import android.support.test.uiautomator.Direction; 31 * Flings the recent apps in the specified direction. 32 * @param dir the direction for the apps to move 34 public abstract void flingRecents(Direction dir);
|
AbstractGmailHelper.java | 20 import android.support.test.uiautomator.Direction; 145 public abstract void scrollNavigationDrawer(Direction dir); 152 * @param direction The direction to scroll, only accepts UP and DOWN. 156 public abstract void scrollMailbox(Direction direction, float amount, boolean scrollToEnd); 163 * @param direction The direction to scroll, only accepts UP and DOWN. 167 public abstract void scrollEmail(Direction direction, float amount, boolean scrollToEnd) [all...] |
AbstractFacebookHelper.java | 20 import android.support.test.uiautomator.Direction; 33 * @param dir the direction to scroll 35 public abstract void scrollHomePage(Direction dir);
|
AbstractPhotosHelper.java | 20 import android.support.test.uiautomator.Direction; 123 * This method will scroll the picture album in the specified direction. 125 * @param direction The direction to scroll, must be LEFT or RIGHT. 127 public abstract void scrollAlbum(Direction direction);
|
AbstractGoogleCameraHelper.java | 20 import android.support.test.uiautomator.Direction; 187 * 2. scroll direction is either LEFT or RIGHT 189 * @param direction scroll direction, either LEFT or RIGHT 191 public abstract void scrollAlbum(Direction direction);
|
DPadHelper.java | 21 import android.support.test.uiautomator.Direction; 43 public void pressDPad(Direction direction) { 44 pressDPad(direction, 1, DPAD_DEFAULT_WAIT_TIME_MS); 47 public void pressDPad(Direction direction, long repeat) { 48 pressDPad(direction, repeat, DPAD_DEFAULT_WAIT_TIME_MS); 52 * Presses DPad button of the same direction for the count times. 55 * @param direction the direction of the button to press [all...] |
/external/skia/src/gpu/effects/ |
Gr1DKernelEffect.h | 26 enum Direction { 32 Direction direction, 35 , fDirection(direction) 44 Direction direction() const { return fDirection; } function in class:Gr1DKernelEffect 48 str.appendf("Direction: %s, Radius: %d ", kX_Direction == fDirection ? "X" : "Y", fRadius); 55 Direction fDirection;
|
GrConvolutionEffect.h | 25 Direction dir, 35 Direction dir, 70 GrConvolutionEffect(GrTexture*, Direction, 77 GrConvolutionEffect(GrTexture*, Direction,
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
ILauncherStrategy.java | 19 import android.support.test.uiautomator.Direction; 69 * Retrieves the all apps drawer forward scroll direction as implemented by the launcher 72 public Direction getAllAppsScrollDirection(); 88 * Retrieves the all widgets drawer forward scroll direction as implemented by the launcher 91 public Direction getAllWidgetsScrollDirection(); 106 * Retrieves the home screen workspace forward scroll direction as implemented by the launcher 109 public Direction getWorkspaceScrollDirection();
|
BaseLauncher3Strategy.java | 23 import android.support.test.uiautomator.Direction; 101 allAppsContainer, Direction.reverse(getAllAppsScrollDirection())); 110 public Direction getAllAppsScrollDirection() { 111 return Direction.DOWN; 132 allWidgetsContainer, Direction.reverse(getAllWidgetsScrollDirection())); 141 public Direction getAllWidgetsScrollDirection() { 142 return Direction.DOWN; 191 public Direction getWorkspaceScrollDirection() { 192 return Direction.RIGHT;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/ |
SemiVariance.java | 37 * and the "variance direction" (upside or downside) defaults to downside. The variance direction 39 * parameters to {@link #evaluate(double[], double, Direction, boolean, int, int)}.</p> 57 * The UPSIDE Direction is used to specify that the observations above the 60 public static final Direction UPSIDE_VARIANCE = Direction.UPSIDE; 63 * The DOWNSIDE Direction is used to specify that the observations below 66 public static final Direction DOWNSIDE_VARIANCE = Direction.DOWNSIDE; 80 private Direction varianceDirection = Direction.DOWNSIDE 359 private boolean direction; field in class:SemiVariance.Direction [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/ |
ProportionalLayout.java | 29 * {@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 { 43 private Direction(String xmlName) { 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 [all...] |
/external/eigen/Eigen/src/Geometry/ |
Homogeneous.h | 32 template<typename MatrixType,int Direction> 33 struct traits<Homogeneous<MatrixType,Direction> > 44 RowsAtCompileTime = Direction==Vertical ? RowsPlusOne : MatrixType::RowsAtCompileTime, 45 ColsAtCompileTime = Direction==Horizontal ? ColsPlusOne : MatrixType::ColsAtCompileTime, 66 enum { Direction = _Direction }; 75 inline Index rows() const { return m_matrix.rows() + (int(Direction)==Vertical ? 1 : 0); } 76 inline Index cols() const { return m_matrix.cols() + (int(Direction)==Horizontal ? 1 : 0); } 80 if( (int(Direction)==Vertical && row==m_matrix.rows()) 81 || (int(Direction)==Horizontal && col==m_matrix.cols())) 90 eigen_assert(int(Direction)==Horizontal) [all...] |
/external/eigen/Eigen/src/Core/ |
VectorwiseOp.h | 23 * \tparam Direction indicates the direction of the redux (#Vertical or #Horizontal) 32 template< typename MatrixType, typename MemberOp, int Direction> 36 template<typename MatrixType, typename MemberOp, int Direction> 37 struct traits<PartialReduxExpr<MatrixType, MemberOp, Direction> > 47 RowsAtCompileTime = Direction==Vertical ? 1 : MatrixType::RowsAtCompileTime, 48 ColsAtCompileTime = Direction==Horizontal ? 1 : MatrixType::ColsAtCompileTime, 49 MaxRowsAtCompileTime = Direction==Vertical ? 1 : MatrixType::MaxRowsAtCompileTime, 50 MaxColsAtCompileTime = Direction==Horizontal ? 1 : MatrixType::MaxColsAtCompileTime, 53 TraversalSize = Direction==Vertical ? MatrixType::RowsAtCompileTime : MatrixType::ColsAtCompileTim [all...] |
/external/droiddriver/src/io/appium/droiddriver/actions/ |
UiElementActor.java | 20 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 45 * Scrolls in the given direction. 47 * @param direction specifies where the view port will move, instead of the 50 void scroll(UiElement uiElement, PhysicalDirection direction);
|
/platform_testing/libraries/reddit-app-helper/src/android/platform/test/helpers/ |
RedditHelperImpl.java | 23 import android.support.test.uiautomator.Direction; 122 public boolean scrollFrontPage(Direction direction, float percent) { 124 Assert.assertTrue("Scroll direction must be UP or DOWN", 125 Direction.UP.equals(direction) || Direction.DOWN.equals(direction)); 130 return scrollContainer.scroll(direction, percent); 133 public boolean scrollCommentPage(Direction direction, float percent) [all...] |
/external/droiddriver/src/io/appium/droiddriver/scroll/ |
Direction.java | 18 import static io.appium.droiddriver.scroll.Direction.PhysicalDirection.DOWN; 19 import static io.appium.droiddriver.scroll.Direction.PhysicalDirection.LEFT; 20 import static io.appium.droiddriver.scroll.Direction.PhysicalDirection.RIGHT; 21 import static io.appium.droiddriver.scroll.Direction.PhysicalDirection.UP; 26 public class Direction { 192 private Direction() {}
|
ScrollStepStrategy.java | 21 import io.appium.droiddriver.scroll.Direction.DirectionConverter; 22 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 29 * Tries to scroll {@code containerFinder} in {@code direction}. Returns whether scrolling is 34 * @param direction specifies where the view port will move instead of the finger 37 boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction); 51 * @param direction specifies where the view port will move instead of the finger 54 PhysicalDirection direction); 63 * @param direction specifies where the view port will move instead of the finger 66 PhysicalDirection direction); 73 * @param direction specifies where the view port will move instead of the finge [all...] |