Home
last modified time | relevance | path

Searched refs:Insets (Results 1 – 25 of 44) sorted by relevance

12

/external/libchrome/ui/gfx/geometry/
Dinsets.h24 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 …]
Dinsets_unittest.cc13 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 …]
Ddip_util.h12 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);
Dinsets.cc12 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()
Ddip_util.cc18 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()
Drect.cc111 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()
Drect.h34 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/
DMoreImmutablesTest.java19 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()
DImmutablesRepresenter.java18 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/
DGroupBorder.java6 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/
Dgeometry_struct_traits.h24 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) {
Dgeometry_traits_test_service.mojom31 EchoInsets(Insets i) => (Insets pass);
Dgeometry_struct_traits_unittest.cc55 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()
Dgeometry.typemap29 "gfx.mojom.Insets=gfx::Insets",
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDemoUtility.java17 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/
Ddisplay_info.py24 class Insets(object): class in DisplayInfo
60 self.overscan = self.Insets(d['overscan'])
/external/google-java-format/idea_plugin/src/com/google/googlejavaformat/intellij/
DGoogleJavaFormatConfigurable.java28 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/
DFilterDialog.java82 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()
DMemberSpecificationDialog.java87 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()
DListPanel.java56 listConstraints.insets = new Insets(0, 2, 0, 2); in ListPanel()
176 buttonConstraints.insets = new Insets(0, 2, 0, 2); in addButton()
DOptimizationsDialog.java64 constraintsLast.insets = new Insets(1, 2, 1, 2); in OptimizationsDialog()
84 selectButtonConstraints.insets = new Insets(4, 4, 8, 4); in OptimizationsDialog()
DClassSpecificationDialog.java91 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/
DHolidayBorderPanel.java16 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/
DSwingExampleApp.kt24 jTextArea.margin = Insets(5, 5, 5, 5) in createAndShowGUI()
/external/kotlinx.coroutines/ui/kotlinx-coroutines-javafx/test/guide/
Dexample-ui-basic-01.kt38 StackPane.setMargin(fab, Insets(15.0)) in <lambda>()

12