/external/libchrome/ui/gfx/geometry/ |
D | insets.h | 24 class GFX_EXPORT Insets { 26 constexpr Insets() : top_(0), left_(0), bottom_(0), right_(0) {} in Insets() function 27 constexpr explicit Insets(int all) in Insets() function 29 constexpr Insets(int vertical, int horizontal) in Insets() function 34 constexpr Insets(int top, int left, int bottom, int right) in Insets() function 60 bool operator==(const Insets& insets) const { 65 bool operator!=(const Insets& insets) const { 69 void operator+=(const Insets& insets) { 76 void operator-=(const Insets& insets) { 83 Insets operator-() const { [all …]
|
D | insets_unittest.cc | 13 gfx::Insets insets; in TEST() 23 TEST(InsetsTest, Insets) { in TEST() argument 24 gfx::Insets insets(1, 2, 3, 4); in TEST() 35 gfx::Insets insets; in TEST() 44 gfx::Insets insets; in TEST() 46 insets += gfx::Insets(5, 6, 7, 8); in TEST() 52 insets -= gfx::Insets(-1, 0, 1, 2); in TEST() 58 insets = gfx::Insets(10, 10, 10, 10) + gfx::Insets(5, 5, 0, -20); in TEST() 64 insets = gfx::Insets(10, 10, 10, 10) - gfx::Insets(5, 5, 0, -20); in TEST() 102 gfx::Insets insets1; in TEST() [all …]
|
D | dip_util.h | 12 class Insets; variable 18 GFX_EXPORT gfx::Insets ConvertInsetsToDIP(float scale_factor, 19 const gfx::Insets& insets_in_pixel); 29 GFX_EXPORT gfx::Insets ConvertInsetsToPixel(float scale_factor, 30 const gfx::Insets& insets_in_dip);
|
D | insets.cc | 12 std::string Insets::ToString() const { in ToString() 17 Insets Insets::Offset(const gfx::Vector2d& vector) const { in Offset() 18 return gfx::Insets(top() + vector.y(), left() + vector.x(), in Offset()
|
D | dip_util.cc | 18 Insets ConvertInsetsToDIP(float scale_factor, in ConvertInsetsToDIP() 19 const gfx::Insets& insets_in_pixel) { in ConvertInsetsToDIP() 50 Insets ConvertInsetsToPixel(float scale_factor, in ConvertInsetsToPixel() 51 const gfx::Insets& insets_in_dip) { in ConvertInsetsToPixel()
|
D | rect.cc | 111 void Rect::Inset(const Insets& insets) { in Inset() 141 Insets Rect::InsetsFrom(const Rect& inner) const { in InsetsFrom() 142 return Insets(inner.y() - y(), in InsetsFrom()
|
D | rect.h | 34 class Insets; variable 126 void Inset(const Insets& insets); 137 Insets InsetsFrom(const Rect& inner) const;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/ |
D | MoreImmutablesTest.java | 19 import java.awt.Insets; 34 Insets insets = new Insets(10, 20, 30, 40); in testInsets() 64 Insets insets = new Insets(10, 20, 30, 40); in testMatteBorder()
|
D | ImmutablesRepresenter.java | 18 import java.awt.Insets; 34 this.representers.put(Insets.class, new RepresentInsets()); in ImmutablesRepresenter() 42 Insets insets = (Insets) data; in representData()
|
/external/universal-tween-engine/java/applets/src/aurelienribon/utils/swing/ |
D | GroupBorder.java | 6 import java.awt.Insets; 46 public Insets getBorderInsets(Component c) { in getBorderInsets() 47 …return new Insets(!title.equals("") ? borderPadding + titleHeight : borderPadding, borderPadding, … in getBorderInsets()
|
/external/libchrome/ui/gfx/geometry/mojo/ |
D | geometry_struct_traits.h | 24 struct StructTraits<gfx::mojom::InsetsDataView, gfx::Insets> { 25 static int top(const gfx::Insets& p) { return p.top(); } 26 static int left(const gfx::Insets& p) { return p.left(); } 27 static int bottom(const gfx::Insets& p) { return p.bottom(); } 28 static int right(const gfx::Insets& p) { return p.right(); } 29 static bool Read(gfx::mojom::InsetsDataView data, gfx::Insets* out) {
|
D | geometry_traits_test_service.mojom | 31 EchoInsets(Insets i) => (Insets pass);
|
D | geometry_struct_traits_unittest.cc | 55 void EchoInsets(const Insets& i, EchoInsetsCallback callback) override { in EchoInsets() 154 TEST_F(GeometryStructTraitsTest, Insets) { in TEST_F() argument 159 gfx::Insets input(top, left, bottom, right); in TEST_F() 161 gfx::Insets output; in TEST_F()
|
D | geometry.typemap | 29 "gfx.mojom.Insets=gfx::Insets",
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
D | DemoUtility.java | 17 import java.awt.Insets; 55 c.insets = new Insets(2,2,2,2); in fixGrid() 80 public static void setInsets(Container cont, Component comp, Insets insets) { in setInsets()
|
/external/autotest/client/cros/multimedia/ |
D | display_info.py | 24 class Insets(object): class in DisplayInfo 60 self.overscan = self.Insets(d['overscan'])
|
/external/google-java-format/idea_plugin/src/com/google/googlejavaformat/intellij/ |
D | GoogleJavaFormatConfigurable.java | 28 import java.awt.Insets; 130 panel.setLayout(new GridLayoutManager(3, 2, new Insets(0, 0, 0, 0), -1, -1)); in $$$setupUI$$$()
|
/external/proguard/src/proguard/gui/ |
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() 107 okButtonConstraints.insets = new Insets(4, 4, 8, 4); in FilterDialog()
|
D | MemberSpecificationDialog.java | 87 constraints.insets = new Insets(1, 2, 1, 2); in MemberSpecificationDialog() 125 labelConstraints.insets = new Insets(2, 10, 2, 10); in MemberSpecificationDialog() 136 advancedButtonConstraints.insets = new Insets(4, 4, 8, 4); in MemberSpecificationDialog() 287 labelConstraints.insets = new Insets(2, 10, 2, 10); in addRadioButtonTriplet()
|
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()
|
D | OptimizationsDialog.java | 64 constraintsLast.insets = new Insets(1, 2, 1, 2); in OptimizationsDialog() 84 selectButtonConstraints.insets = new Insets(4, 4, 8, 4); in OptimizationsDialog()
|
D | ClassSpecificationDialog.java | 91 constraints.insets = new Insets(1, 2, 1, 2); in ClassSpecificationDialog() 129 labelConstraints.insets = new Insets(2, 10, 2, 10); in ClassSpecificationDialog() 140 advancedButtonConstraints.insets = new Insets(4, 4, 8, 4); in ClassSpecificationDialog() 326 labelConstraints.insets = new Insets(2, 10, 2, 10); in addRadioButtonTriplet()
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/ |
D | HolidayBorderPanel.java | 16 import java.awt.Insets; 171 public Insets getInsets() { in getInsets() 193 return new Insets(dist + adjustment, dist, dist, dist); in getInsets()
|
/external/kotlinx.coroutines/ui/kotlinx-coroutines-swing/test/examples/ |
D | SwingExampleApp.kt | 24 jTextArea.margin = Insets(5, 5, 5, 5) in createAndShowGUI()
|
/external/kotlinx.coroutines/ui/kotlinx-coroutines-javafx/test/guide/ |
D | example-ui-basic-01.kt | 38 StackPane.setMargin(fab, Insets(15.0)) in <lambda>()
|