Home
last modified time | relevance | path

Searched refs:Insets (Results 1 – 25 of 30) 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.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()
Drect.h34 class Insets; variable
126 void Inset(const Insets& insets);
137 Insets InsetsFrom(const Rect& inner) const;
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()
/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/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_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_traits_test_service.mojom31 EchoInsets(Insets i) => (Insets pass);
Dgeometry.typemap29 "gfx.mojom.Insets=gfx::Insets",
Dgeometry.mojom48 struct Insets {
/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/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/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/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()
DTabbedPane.java163 component.setMargin(new Insets(0, 0, 0, 0)); in addImage()
DProGuardGUI.java177 constraints.insets = new Insets(0, 4, 0, 4); in ProGuardGUI()
211 welcomePaneConstraints.insets = new Insets(20, 40, 20, 40); in ProGuardGUI()
237 bottomButtonConstraints.insets = new Insets(2, 2, 4, 6); in ProGuardGUI()
251 lastBottomButtonConstraints.insets = new Insets(2, 2, 4, 6 + 16); in ProGuardGUI()
757 constraints.insets = new Insets(0, 4, 0, 4); in addClassSpecifications()
DClassPathPanel.java343 jarNameLabelConstraints.insets = new Insets(1, 2, 1, 2); in MyListCellRenderer()
/external/universal-tween-engine/java/applets/src/aurelienribon/tweenengine/applets/
DTimelineApplet.java462 restartBtn.setMargin(new java.awt.Insets(2, 3, 2, 3)); in initComponents()
470 pauseBtn.setMargin(new java.awt.Insets(2, 3, 2, 3)); in initComponents()
478 resumeBtn.setMargin(new java.awt.Insets(2, 3, 2, 3)); in initComponents()
486 reverseBtn.setMargin(new java.awt.Insets(2, 3, 2, 3)); in initComponents()
/external/skqp/site/user/api/
DSkRRect_Reference.md1114 Insets bounds by <a href='#SkRRect_inset_2_dx'>dx</a> and <a href='#SkRRect_inset_2_dy'>dy</a>, and…

12