/external/libchrome/ui/gfx/geometry/ |
D | insets_unittest.cc | 13 gfx::Insets insets; in TEST() local 14 EXPECT_EQ(0, insets.top()); in TEST() 15 EXPECT_EQ(0, insets.left()); in TEST() 16 EXPECT_EQ(0, insets.bottom()); in TEST() 17 EXPECT_EQ(0, insets.right()); in TEST() 18 EXPECT_EQ(0, insets.width()); in TEST() 19 EXPECT_EQ(0, insets.height()); in TEST() 20 EXPECT_TRUE(insets.IsEmpty()); in TEST() 24 gfx::Insets insets(1, 2, 3, 4); in TEST() local 25 EXPECT_EQ(1, insets.top()); in TEST() [all …]
|
D | insets_f.h | 51 bool operator==(const InsetsF& insets) const { 52 return top_ == insets.top_ && left_ == insets.left_ && 53 bottom_ == insets.bottom_ && right_ == insets.right_; 56 bool operator!=(const InsetsF& insets) const { 57 return !(*this == insets); 60 void operator+=(const InsetsF& insets) { 61 top_ += insets.top_; 62 left_ += insets.left_; 63 bottom_ += insets.bottom_; 64 right_ += insets.right_; [all …]
|
D | insets.h | 60 bool operator==(const Insets& insets) const { 61 return top_ == insets.top_ && left_ == insets.left_ && 62 bottom_ == insets.bottom_ && right_ == insets.right_; 65 bool operator!=(const Insets& insets) const { 66 return !(*this == insets); 69 void operator+=(const Insets& insets) { 70 top_ += insets.top_; 71 left_ += insets.left_; 72 bottom_ += insets.bottom_; 73 right_ += insets.right_; [all …]
|
D | rect_f.cc | 45 void RectF::Inset(const InsetsF& insets) { in Inset() argument 46 Inset(insets.left(), insets.top(), insets.right(), insets.bottom()); in Inset()
|
D | rect.cc | 111 void Rect::Inset(const Insets& insets) { in Inset() argument 112 Inset(insets.left(), insets.top(), insets.right(), insets.bottom()); in Inset()
|
D | rect_f.h | 86 void Inset(const InsetsF& insets);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/ |
D | MoreImmutablesTest.java | 34 Insets insets = new Insets(10, 20, 30, 40); in testInsets() local 35 String dump = yaml.dump(insets); in testInsets() 38 assertEquals(insets, loaded); in testInsets() 64 Insets insets = new Insets(10, 20, 30, 40); in testMatteBorder() local 66 MatteBorder border = BorderFactory.createMatteBorder(insets.top, insets.left, in testMatteBorder() 67 insets.bottom, insets.right, color); in testMatteBorder() 75 assertEquals(insets, loadedBorder.getBorderInsets()); in testMatteBorder()
|
D | ImmutablesRepresenter.java | 42 Insets insets = (Insets) data; in representData() local 45 Arrays.asList(new Object[] { insets.top, insets.left, insets.bottom, in representData() 46 insets.right }), true); in representData()
|
/external/setupdesign/main/src/com/google/android/setupdesign/view/ |
D | StickyHeaderScrollView.java | 106 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets() argument 108 statusBarInset = insets.getSystemWindowInsetTop(); in onApplyWindowInsets() 109 insets = in onApplyWindowInsets() 110 insets.replaceSystemWindowInsets( in onApplyWindowInsets() 111 insets.getSystemWindowInsetLeft(), in onApplyWindowInsets() 113 insets.getSystemWindowInsetRight(), in onApplyWindowInsets() 114 insets.getSystemWindowInsetBottom()); in onApplyWindowInsets() 116 return insets; in onApplyWindowInsets()
|
D | StickyHeaderRecyclerView.java | 124 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets() argument 126 statusBarInset = insets.getSystemWindowInsetTop(); in onApplyWindowInsets() 127 insets.replaceSystemWindowInsets( in onApplyWindowInsets() 128 insets.getSystemWindowInsetLeft(), in onApplyWindowInsets() 130 insets.getSystemWindowInsetRight(), in onApplyWindowInsets() 131 insets.getSystemWindowInsetBottom()); in onApplyWindowInsets() 133 return insets; in onApplyWindowInsets()
|
D | StickyHeaderListView.java | 145 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets() argument 147 statusBarInset = insets.getSystemWindowInsetTop(); in onApplyWindowInsets() 148 insets.replaceSystemWindowInsets( in onApplyWindowInsets() 149 insets.getSystemWindowInsetLeft(), in onApplyWindowInsets() 151 insets.getSystemWindowInsetRight(), in onApplyWindowInsets() 152 insets.getSystemWindowInsetBottom()); in onApplyWindowInsets() 154 return insets; in onApplyWindowInsets()
|
/external/proguard/src/proguard/gui/ |
D | MemberSpecificationDialog.java | 87 constraints.insets = new Insets(1, 2, 1, 2); in MemberSpecificationDialog() 93 constraintsStretch.insets = constraints.insets; in MemberSpecificationDialog() 98 constraintsLast.insets = constraints.insets; in MemberSpecificationDialog() 105 constraintsLastStretch.insets = constraints.insets; in MemberSpecificationDialog() 113 panelConstraints.insets = constraints.insets; in MemberSpecificationDialog() 121 stretchPanelConstraints.insets = constraints.insets; in MemberSpecificationDialog() 125 labelConstraints.insets = new Insets(2, 10, 2, 10); in MemberSpecificationDialog() 130 lastLabelConstraints.insets = labelConstraints.insets; in MemberSpecificationDialog() 136 advancedButtonConstraints.insets = new Insets(4, 4, 8, 4); in MemberSpecificationDialog() 142 okButtonConstraints.insets = advancedButtonConstraints.insets; in MemberSpecificationDialog() [all …]
|
D | OptimizationsDialog.java | 64 constraintsLast.insets = new Insets(1, 2, 1, 2); in OptimizationsDialog() 71 constraintsLastStretch.insets = constraintsLast.insets; in OptimizationsDialog() 79 panelConstraints.insets = constraintsLast.insets; in OptimizationsDialog() 84 selectButtonConstraints.insets = new Insets(4, 4, 8, 4); in OptimizationsDialog() 90 okButtonConstraints.insets = selectButtonConstraints.insets; in OptimizationsDialog() 96 cancelButtonConstraints.insets = selectButtonConstraints.insets; in OptimizationsDialog()
|
D | ClassSpecificationDialog.java | 91 constraints.insets = new Insets(1, 2, 1, 2); in ClassSpecificationDialog() 97 constraintsStretch.insets = constraints.insets; in ClassSpecificationDialog() 102 constraintsLast.insets = constraints.insets; in ClassSpecificationDialog() 109 constraintsLastStretch.insets = constraints.insets; in ClassSpecificationDialog() 117 panelConstraints.insets = constraints.insets; in ClassSpecificationDialog() 125 stretchPanelConstraints.insets = constraints.insets; in ClassSpecificationDialog() 129 labelConstraints.insets = new Insets(2, 10, 2, 10); in ClassSpecificationDialog() 134 lastLabelConstraints.insets = labelConstraints.insets; in ClassSpecificationDialog() 140 advancedButtonConstraints.insets = new Insets(4, 4, 8, 4); in ClassSpecificationDialog() 146 okButtonConstraints.insets = advancedButtonConstraints.insets; in ClassSpecificationDialog() [all …]
|
D | FilterDialog.java | 82 textConstraints.insets = new Insets(10, 10, 10, 10); in FilterDialog() 86 labelConstraints.insets = new Insets(1, 2, 1, 2); in FilterDialog() 93 textFieldConstraints.insets = labelConstraints.insets; in FilterDialog() 101 panelConstraints.insets = labelConstraints.insets; in FilterDialog() 107 okButtonConstraints.insets = new Insets(4, 4, 8, 4); in FilterDialog() 113 cancelButtonConstraints.insets = okButtonConstraints.insets; in FilterDialog()
|
D | ProGuardGUI.java | 177 constraints.insets = new Insets(0, 4, 0, 4); in ProGuardGUI() 183 constraintsStretch.insets = constraints.insets; in ProGuardGUI() 188 constraintsLast.insets = constraints.insets; in ProGuardGUI() 195 constraintsLastStretch.insets = constraints.insets; in ProGuardGUI() 211 welcomePaneConstraints.insets = new Insets(20, 40, 20, 40); in ProGuardGUI() 218 panelConstraints.insets = constraints.insets; in ProGuardGUI() 226 stretchPanelConstraints.insets = constraints.insets; in ProGuardGUI() 233 glueConstraints.insets = constraints.insets; in ProGuardGUI() 237 bottomButtonConstraints.insets = new Insets(2, 2, 4, 6); in ProGuardGUI() 244 lastBottomButtonConstraints.insets = bottomButtonConstraints.insets; in ProGuardGUI() [all …]
|
D | ClassPathPanel.java | 343 jarNameLabelConstraints.insets = new Insets(1, 2, 1, 2); in MyListCellRenderer() 350 filterLabelConstraints.insets = jarNameLabelConstraints.insets; in MyListCellRenderer()
|
D | ListPanel.java | 56 listConstraints.insets = new Insets(0, 2, 0, 2); in ListPanel() 176 buttonConstraints.insets = new Insets(0, 2, 0, 2); in addButton()
|
/external/setupcompat/main/java/com/google/android/setupcompat/util/ |
D | SystemBarHelper.java | 272 public WindowInsets onApplyWindowInsets(View view, WindowInsets insets) { in onApplyWindowInsets() argument 278 int bottomInset = insets.getSystemWindowInsetBottom(); in onApplyWindowInsets() 280 final int bottomMargin = Math.max(insets.getSystemWindowInsetBottom() - bottomOffset, 0); in onApplyWindowInsets() 291 return insets.replaceSystemWindowInsets( in onApplyWindowInsets() 292 insets.getSystemWindowInsetLeft(), in onApplyWindowInsets() 293 insets.getSystemWindowInsetTop(), in onApplyWindowInsets() 294 insets.getSystemWindowInsetRight(), in onApplyWindowInsets()
|
/external/setupcompat/main/java/com/google/android/setupcompat/view/ |
D | StatusBarBackgroundLayout.java | 94 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets() argument 95 lastInsets = insets; in onApplyWindowInsets() 96 return super.onApplyWindowInsets(insets); in onApplyWindowInsets()
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
D | DemoUtility.java | 55 c.insets = new Insets(2,2,2,2); in fixGrid() 80 public static void setInsets(Container cont, Component comp, Insets insets) { in setInsets() argument 83 g.insets = insets; in setInsets()
|
/external/skia/samplecode/ |
D | SampleDegenerateQuads.cpp | 274 SkPoint insets[8]; in onDrawContent() local 278 make_aa_line(fCorners[i], fCorners[(i + 1) % 4], fEdgeAA[i], false, insets + i * 2); in onDrawContent() 304 coverage = get_edge_dist_coverage(fEdgeAA, fCorners, outsets, insets, in onDrawContent() 334 draw_extended_line(canvas, linePaint, insets[i * 2], insets[i * 2 + 1]); in onDrawContent()
|
/external/skqp/gm/ |
D | polygonoffset.cpp | 523 const float insets[] = { 5, 10, 15, 20, 25, 30, 35, 40 }; in drawPolygon() local 556 size_t count = fConvexOnly ? SK_ARRAY_COUNT(insets) : SK_ARRAY_COUNT(offsets); in drawPolygon() 558 SkScalar offset = fConvexOnly ? insets[i] : offsets[i]; in drawPolygon()
|
/external/skia/gm/ |
D | polygonoffset.cpp | 535 const float insets[] = { 5, 10, 15, 20, 25, 30, 35, 40 }; in drawPolygon() local 568 size_t count = fConvexOnly ? SK_ARRAY_COUNT(insets) : SK_ARRAY_COUNT(offsets); in drawPolygon() 570 SkScalar offset = fConvexOnly ? insets[i] : offsets[i]; in drawPolygon()
|
/external/libchrome/ui/gfx/geometry/mojo/ |
D | geometry.typemap | 14 "//ui/gfx/geometry/insets.h",
|