Searched defs:alignment (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/awt/java/awt/font/
H A DGraphicAttribute.java67 // the alignment of this GraphicAttribute
69 * The alignment.
71 private int alignment; field in class:GraphicAttribute
74 * Instantiates a new graphic attribute with the specified alignment.
77 * the specified alignment.
81 // awt.198=Illegal alignment argument
84 this.alignment = align;
109 * Gets the alignment of this GraphicAttribute.
111 * @return the alignment of this GraphicAttribute.
114 return this.alignment;
[all...]
H A DImageGraphicAttribute.java70 * alignment and origins.
74 * @param alignment
75 * the alignment of the ImageGraphicAttribute.
81 public ImageGraphicAttribute(Image image, int alignment, float originX, float originY) { argument
82 super(alignment);
95 * alignment.
99 * @param alignment
100 * the alignment of the ImageGraphicAttribute.
102 public ImageGraphicAttribute(Image image, int alignment) { argument
103 this(image, alignment,
[all...]
H A DShapeGraphicAttribute.java98 * @param alignment
99 * the alignment of this ShapeGraphicAttribute.
103 public ShapeGraphicAttribute(Shape shape, int alignment, boolean stroke) { argument
104 super(alignment);
/frameworks/base/include/utils/
H A DTextOutput.h102 inline HexDump& setAlignment(size_t alignment);
109 inline size_t alignment() const;
173 inline HexDump& HexDump::setAlignment(size_t alignment) { argument
174 mAlignment = alignment; return *this;
184 inline size_t HexDump::alignment() const { return mAlignment; } function in class:android::HexDump
/frameworks/base/libs/utils/
H A DDebug.cpp173 size_t alignment, bool cStyle,
176 if (alignment == 0) {
177 if (bytesPerLine >= 16) alignment = 4;
178 else if (bytesPerLine >= 8) alignment = 2;
179 else alignment = 1;
238 const size_t startIndex = word+(alignment-(alignment?1:0));
245 for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) {
248 if (index == 0 && word > 0 && alignment >
171 printHexData(int32_t indent, const void *buf, size_t length, size_t bytesPerLine, int32_t singleLineBytesCutoff, size_t alignment, bool cStyle, debugPrintFunc func, void* cookie) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java159 * Tab alignment - determines which side the tab should be drawn on
178 private int alignment = ALIGN_UNKNOWN; field in class:SlidingTab.Slider
235 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT;
236 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight()
238 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getBottom()
254 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT;
255 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0;
256 int dy = horiz ? 0: (alignment
334 layout(int l, int t, int r, int b, int alignment) argument
[all...]

Completed in 77 milliseconds