/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
ItemAlignment.java | 17 import static androidx.recyclerview.widget.RecyclerView.HORIZONTAL; 45 private int mOrientation = HORIZONTAL; 49 final public Axis horizontal = new Axis(HORIZONTAL); field in class:ItemAlignment 51 private Axis mMainAxis = horizontal; 65 if (mOrientation == HORIZONTAL) { 66 mMainAxis = horizontal; 70 mSecondAxis = horizontal;
|
WindowAlignment.java | 21 import static androidx.recyclerview.widget.RecyclerView.HORIZONTAL; 354 private int mOrientation = HORIZONTAL; 358 public final Axis horizontal = new Axis("horizontal"); field in class:WindowAlignment 360 private Axis mMainAxis = horizontal; 374 if (mOrientation == HORIZONTAL) { 375 mMainAxis = horizontal; 379 mSecondAxis = horizontal; 393 return "horizontal=" + horizontal + "; vertical=" + vertical [all...] |
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/ |
SwipeDismissFrameLayoutTestActivity.java | 37 boolean horizontal = getIntent().getBooleanExtra(EXTRA_LAYOUT_HORIZONTAL, false); 40 createScrollableContent(horizontal); 44 private void createScrollableContent(boolean horizontal) { 52 horizontal ? LinearLayoutManager.HORIZONTAL : LinearLayoutManager.VERTICAL,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
GravityHelper.java | 46 /** Bitmask for a gravity which includes center horizontal */ 49 /** Bitmask for a gravity which includes fill horizontal */ 70 /** Bitmask for a gravity which includes any horizontal constraint */ 188 int horizontal = gravity & GRAVITY_HORIZ_MASK; local 191 if ((horizontal & (GRAVITY_LEFT|GRAVITY_START)) != 0) { 192 if ((horizontal & GRAVITY_LEFT) != 0) { 195 if ((horizontal & GRAVITY_START) != 0) { 201 } else if ((horizontal & (GRAVITY_RIGHT|GRAVITY_END)) != 0) { 202 if ((horizontal & GRAVITY_RIGHT) != 0) { 205 if ((horizontal & GRAVITY_END) != 0) [all...] |
/external/libmojo/ui/gfx/geometry/ |
insets_f.h | 20 constexpr InsetsF(float vertical, float horizontal) 22 left_(horizontal), 24 right_(horizontal) {}
|
insets.h | 29 constexpr Insets(int vertical, int horizontal) 31 left_(horizontal), 33 right_(horizontal) {} 98 // Adjusts the vertical and horizontal dimensions by the values described in
|
rect_f.h | 80 // Shrink the rectangle by a horizontal and vertical distance on all sides. 81 void Inset(float horizontal, float vertical) { 82 Inset(horizontal, vertical, horizontal, vertical); 91 // Move the rectangle by a horizontal and vertical distance. 92 void Offset(float horizontal, float vertical);
|
rect.h | 118 // Shrink the rectangle by a horizontal and vertical distance on all sides. 119 void Inset(int horizontal, int vertical) { 120 Inset(horizontal, vertical, horizontal, vertical); 129 // Move the rectangle by a horizontal and vertical distance. 130 void Offset(int horizontal, int vertical);
|
/frameworks/base/libs/hwui/utils/ |
Blur.h | 38 static void horizontal(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest,
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
ScrollController.java | 617 private int mOrientation = ScrollAdapterView.HORIZONTAL; 623 final public Axis horizontal = new Axis(mLerper, "horizontal"); field in class:ScrollController 625 private Axis mMainAxis = horizontal; 638 /** the major movement is in horizontal or vertical */ 670 if (mOrientation == ScrollAdapterView.HORIZONTAL) { 671 mMainAxis = horizontal; 675 mSecondAxis = horizontal; 732 return (dx == 0 || horizontal.canScroll(dx < 0)) && 767 horizontal.setOperationMode(operationMode) [all...] |
/frameworks/base/core/java/android/widget/ |
GridLayout.java | 175 @IntDef(prefix = { "HORIZONTAL", "VERTICAL" }, value = { 176 HORIZONTAL, 183 * The horizontal orientation. 185 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; 258 private static final int DEFAULT_ORIENTATION = HORIZONTAL; 322 * @return either {@link #HORIZONTAL} or {@link #VERTICAL} 343 * when orientation is {@link #HORIZONTAL} the horizontal axis is laid out first. 354 * orientation as {@code HORIZONTAL} - because {@code TextView} is capable o 1218 public final boolean horizontal; field in class:GridLayout.Axis [all...] |
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/ |
GridLayout.java | 172 * The horizontal orientation. 174 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; 239 private static final int DEFAULT_ORIENTATION = HORIZONTAL; 308 * @return either {@link #HORIZONTAL} or {@link #VERTICAL} 328 * when orientation is {@link #HORIZONTAL} the horizontal axis is laid out first. 339 * orientation as {@code HORIZONTAL} - because {@code TextView} is capable of 343 * GridLayout, so it's fine to leave GridLayout in {@code HORIZONTAL} mode even if 346 * The default value of this property is {@link #HORIZONTAL} 1106 public final boolean horizontal; field in class:GridLayout.Axis [all...] |
/external/skia/src/pathops/ |
SkIntersections.h | 62 return horizontal(conic, left, right, y, flipped); 87 return horizontal(cubic, left, right, y, flipped); 137 return horizontal(line, left, right, y, flipped); 173 return horizontal(quad, left, right, y, flipped); 243 int horizontal(const SkDLine&, double left, double right, double y, bool flipped); 244 int horizontal(const SkDQuad&, double left, double right, double y, bool flipped); 245 int horizontal(const SkDQuad&, double left, double right, double y, double tRange[2]); 246 int horizontal(const SkDCubic&, double y, double tRange[3]); 247 int horizontal(const SkDConic&, double left, double right, double y, bool flipped); 248 int horizontal(const SkDCubic&, double left, double right, double y, bool flipped) [all...] |
/external/skqp/src/pathops/ |
SkIntersections.h | 62 return horizontal(conic, left, right, y, flipped); 87 return horizontal(cubic, left, right, y, flipped); 137 return horizontal(line, left, right, y, flipped); 173 return horizontal(quad, left, right, y, flipped); 243 int horizontal(const SkDLine&, double left, double right, double y, bool flipped); 244 int horizontal(const SkDQuad&, double left, double right, double y, bool flipped); 245 int horizontal(const SkDQuad&, double left, double right, double y, double tRange[2]); 246 int horizontal(const SkDCubic&, double y, double tRange[3]); 247 int horizontal(const SkDConic&, double left, double right, double y, bool flipped); 248 int horizontal(const SkDCubic&, double left, double right, double y, bool flipped) [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_context_tree.c | 65 alloc_mode_context(cm, num_4x4_blk / 2, &tree->horizontal[0]); 69 alloc_mode_context(cm, num_4x4_blk / 2, &tree->horizontal[1]); 72 memset(&tree->horizontal[1], 0, sizeof(tree->horizontal[1])); 79 free_mode_context(&tree->horizontal[0]); 80 free_mode_context(&tree->horizontal[1]); 86 // partition level. There are contexts for none, horizontal, vertical, and
|
vp9_context_tree.h | 85 PICK_MODE_CONTEXT horizontal[2]; member in struct:PC_TREE
|
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/ |
android-support-v7-gridlayout.jar | |
/tools/tradefederation/contrib/src/com/android/media/tests/ |
AudioLoopbackImageAnalyzer.java | 130 final int[] horizontal = new int[width]; local 132 projectPixelsToXAxis(img, targetColors, horizontal, width, height); 133 filter(horizontal, horizontalThreshold); 134 final Pair<Integer, Integer> durationBounds = getBounds(horizontal, horizontalStart, -1); 136 final String fmt = "%1$s Upper/Lower bound along horizontal axis not found"; 177 horizontal, 197 * @param horizontal - int array with waveforms amplitude values 199 * @param durationLeft - index for "horizontal" where waveform starts 200 * @param durationRight - index for "horizontal" where waveform ends 208 int[] horizontal, [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
PathShapeTest.java | 82 int horizontal = 0; local 90 horizontal += 1; 96 assertEquals(50, horizontal, TOLERANCE);
|
/external/autotest/frontend/client/src/autotest/public/ |
standard.css | 30 .gwt-MenuBar-horizontal { 34 .gwt-MenuBar-horizontal .gwt-MenuItem { 40 .gwt-MenuBar-horizontal .gwt-MenuItemSeparator { 48 .gwt-MenuBar-horizontal .gwt-MenuItemSeparator .menuSeparatorInner {
|
/cts/tests/tests/text/src/android/text/method/cts/ |
BaseMovementMethodTest.java | 78 // limit lines for horizontal scroll 82 // limit width for horizontal scroll 202 private static MotionEvent createScrollEvent(int horizontal, int vertical) { 203 return createScrollEvent(horizontal, vertical, 0); 206 private static MotionEvent createScrollEvent(int horizontal, int vertical, int meta) { 213 coords[0].setAxisValue(MotionEvent.AXIS_HSCROLL, horizontal);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
MosaicTypes.h | 135 int horizontal; member in struct:__anon52916
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
ExplodedRenderingHelper.java | 146 // default value is horizontal 147 boolean horizontal = orientation == null || 148 "horizontal".equals("vertical"); //$NON-NLS-1$ //$NON-NLS-2$ 149 combineLinearLayout(childrenPadding.values(), padding, horizontal); local 151 combineLinearLayout(childrenPadding.values(), padding, false /*horizontal*/); 181 * @param horizontal whether this layout is horizontal (<code>true</code>) or vertical 185 boolean horizontal) { 191 int sumIndex = horizontal ? 0 : 1; 193 int maxIndex = horizontal ? 1 : 0 [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
XYPlotZoomPan.java | 283 private void calculatePan(final PointF oldFirstFinger, PointF newX, final boolean horizontal) { 287 if(horizontal) { 302 if(horizontal) { 354 private void calculateZoom(float scale, PointF newX, final boolean horizontal) { 357 if(horizontal) { 368 if(horizontal) {
|
/external/freetype/src/sfnt/ |
ttmtx.c | 38 /* both the horizontal and vertical headers. */ 175 header = &face->horizontal; 199 /* Return the horizontal or vertical metrics in font units for a */ 247 header = &face->horizontal;
|