/frameworks/base/core/java/com/android/internal/widget/ |
ImageFloatingTextView.java | 98 int[] margins = null; local 100 margins = new int[mIndentLines + 1]; 102 margins[i] = mImageEndMargin; 106 builder.setIndents(margins, null); 108 builder.setIndents(null, margins);
|
/cts/tests/tests/print/src/android/print/pdf/cts/ |
PrintedPdfDocumentTest.java | 41 private static final PrintAttributes.Margins ZERO_MARGINS = new PrintAttributes.Margins(0, 0, 0, 149 PrintAttributes.Margins margins = new PrintAttributes.Margins(50, 60, 70, 80); local 150 PrintAttributes attr = new PrintAttributes.Builder().setMinMargins(margins) 154 assertEquals(new Rect(milsToPts(margins.getLeftMils()), milsToPts(margins.getTopMils()), 155 milsToPts(attr.getMediaSize().getWidthMils()) - milsToPts(margins.getRightMils()), 157 milsToPts(margins.getBottomMils())), doc.getPageContentRect()) [all...] |
/frameworks/base/core/java/android/print/ |
PrinterCapabilitiesInfo.java | 24 import android.print.PrintAttributes.Margins; 41 * minimal margins of the printer based on its technical design, 58 private static final Margins DEFAULT_MARGINS = new Margins(0, 0, 0, 0); 60 private @NonNull Margins mMinMargins = DEFAULT_MARGINS; 143 * Gets the minimal margins. These are the minimal margins 146 * @return The minimal margins. 148 public @NonNull Margins getMinMargins() { 407 private void writeMargins(Margins margins, Parcel parcel) [all...] |
PrintAttributes.java | 87 private @Nullable Margins mMinMargins; 99 mMinMargins = (parcel.readInt() == 1) ? Margins.createFromParcel(parcel) : null; 151 * Gets the minimal margins. If the content does not fit 152 * these margins it will be clipped. 154 * <strong>These margins are physically imposed by the printer and they 161 * @return The margins or <code>null</code> if not set. 163 public @Nullable Margins getMinMargins() { 168 * Sets the minimal margins. If the content does not fit 169 * these margins it will be clipped. 171 * <strong>These margins are physically imposed by the printer and the [all...] |
/frameworks/base/core/java/android/widget/ |
FastScroller.java | 120 * Padding in pixels around the preview text. Applied as layout margins to 615 // Apply the preview image's padding as layout margins. 616 final Rect margins = mTempMargins; local 617 margins.left = mPreviewImage.getPaddingLeft(); 618 margins.top = mPreviewImage.getPaddingTop(); 619 margins.right = mPreviewImage.getPaddingRight(); 620 margins.bottom = mPreviewImage.getPaddingBottom(); 623 measureFloating(v, margins, out); 625 measureViewToSide(v, mThumbImage, margins, out); 637 * @param margins Layout margins to apply to the view [all...] |
GridLayout.java | 105 * property is set, default margins around children are automatically 107 * Each of the margins so defined may be independently overridden by an assignment 234 * to their margins, before the edges of the resulting rectangle are aligned. 444 * Returns whether or not this GridLayout will allocate default margins when no 447 * @return {@code true} if default margins should be allocated 458 * When {@code true}, GridLayout allocates default margins around children 460 * margins so defined may be independently overridden by an assignment 463 * When {@code false}, the default value of all margins is zero. 471 * @param useDefaultMargins use {@code true} to make GridLayout allocate default margins 702 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins() local 1671 int[] margins = leading ? leadingMargins : trailingMargins; local [all...] |
/frameworks/base/core/java/com/android/internal/print/ |
DumpUtils.java | 182 * Write a {@link PrintAttributes.Margins} to a proto. 187 * @param margins The margins to write 190 @NonNull PrintAttributes.Margins margins) { 192 proto.write("top_mils", MarginsProto.TOP_MILS, margins.getTopMils()); 193 proto.write("left_mils", MarginsProto.LEFT_MILS, margins.getLeftMils()); 194 proto.write("right_mils", MarginsProto.RIGHT_MILS, margins.getRightMils()); 195 proto.write("bottom_mils", MarginsProto.BOTTOM_MILS, margins.getBottomMils()); 224 PrintAttributes.Margins minMargins = attributes.getMinMargins() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelineHandler.java | 61 import com.android.ide.common.api.Margins; 135 * edges, and top and bottom edges offset by the applicable margins in each direction 141 * right edges offset by the applicable margins in each direction 320 Margins margins = node.getMargins(); local 322 if (margins.top != 0) { 324 mHorizontalEdges.add(new Segment(b.y - margins.top, b.x, b.x2(), node, id, 329 if (margins.bottom != 0) { 332 mHorizontalEdges.add(new Segment(b.y2() + margins.bottom, b.x, b.x2(), node, 340 if (margins.left != 0) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
BaseLayoutRule.java | 97 BaseLayoutRule.class.getResource("margins.png"); //$NON-NLS-1$ 123 parentNode.editXml("Change Margins", new INodeHandler() { 132 String[] margins = mRulesEngine.displayMarginInput(all, left, 134 if (margins != null) { 135 assert margins.length == 5; 137 child.setAttribute(uri, ATTR_LAYOUT_MARGIN, margins[0]); 138 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_LEFT, margins[1]); 139 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_RIGHT, margins[2]); 140 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_TOP, margins[3]); 141 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_BOTTOM, margins[4]) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
NodeProxy.java | 24 import com.android.ide.common.api.Margins; 59 private static final Margins NO_MARGINS = new Margins(0, 0, 0, 0); 97 public @NonNull Margins getMargins() { 101 Margins margins = view.getMargins(); local 102 if (margins != null) { 103 return margins;
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
PrintPreviewController.java | 25 import android.print.PrintAttributes.Margins; 133 Margins minMargins) { 300 Margins margins = (Margins) args.arg4; local 305 mediaSize, margins);
|
/packages/services/BuiltInPrintService/jni/lib/ |
lib_wprint.c | 1590 float margins[NUM_PAGE_MARGINS]; local [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
PrintSpoolerService.java | 44 import android.print.PrintAttributes.Margins; 832 private static final String TAG_MARGINS = "margins"; 1010 Margins margins = attributes.getMinMargins(); local 1283 Margins margins = new Margins(leftMils, topMils, rightMils, bottomMils); local [all...] |
/hardware/qcom/camera/msm8998/QCamera2/util/ |
QCameraFOVControl.cpp | 415 * DESCRIPTION : Update the config settings such as margins and preview size 449 // Get the margins for the main camera. If video stream is present, the margins correspond 450 // to video stream. Otherwise, margins are copied from preview stream. 453 mFovControlData.camMainWidthMargin = camMainStreamInfo.margins[i].widthMargins; 454 mFovControlData.camMainHeightMargin = camMainStreamInfo.margins[i].heightMargins; 462 camMainStreamInfo.margins[i].widthMargins; 464 camMainStreamInfo.margins[i].heightMargins; 470 // Get the margins for the aux camera. If video stream is present, the margins correspon [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
ViewInflater.java | 559 MarginLayoutParams margins = (MarginLayoutParams) layout; local 561 margins.bottomMargin = size; 563 margins.topMargin = size; 565 margins.leftMargin = size; 567 margins.rightMargin = size; [all...] |
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/ |
android-support-v7-gridlayout.jar | |
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/ |
GridLayout.java | 103 * property is set, default margins around children are automatically 105 * Each of the margins so defined may be independently overridden by an assignment 215 * to their margins, before the edges of the resulting rectangle are aligned. 429 * Returns whether or not this GridLayout will allocate default margins when no 432 * @return {@code true} if default margins should be allocated 443 * When {@code true}, GridLayout allocates default margins around children 445 * margins so defined may be independently overridden by an assignment 448 * When {@code false}, the default value of all margins is zero. 456 * @param useDefaultMargins use {@code true} to make GridLayout allocate default margins 687 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins() local 1559 int[] margins = leading ? leadingMargins : trailingMargins; local [all...] |
/build/make/tools/droiddoc/templates-ndk/assets/js/ |
android_3p-bundle.js | [all...] |
/build/make/tools/droiddoc/templates-pdk/assets/design/ |
default.css | 663 .layout-with-list-item-margins {
|
/external/doclava/res/assets/templates-sdk/assets/js/ |
android_3p-bundle.js | [all...] |
/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
cam_types.h | 1547 cam_frame_margins_t margins; \/\/ Margins used by dual camera with spatial alignment block member in struct:__anon49058 1851 cam_frame_margins_t margins[MAX_NUM_STREAMS]; member in struct:__anon49098 [all...] |
/prebuilts/tools/common/m2/repository/com/android/tools/external/propertysheet/1.0/ |
propertysheet-1.0.jar | |
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | [all...] |
/external/e2fsprogs/doc/ |
texinfo.tex | [all...] |
/external/e2fsprogs/lib/et/ |
texinfo.tex | [all...] |