Searched refs:AlignmentRule (Results 1 – 9 of 9) sorted by relevance
35 public static AlignmentRule constant(int alignment) { in constant()49 public static AlignmentRule constantForSuffix(@Nonnull String suffix, int alignment) { in constantForSuffix()53 return (String path) -> path.endsWith(suffix) ? alignment : AlignmentRule.NO_ALIGNMENT; in constantForSuffix()65 public static AlignmentRule compose(@Nonnull AlignmentRule... rules) { in compose()67 for (AlignmentRule r : rules) { in compose()69 if (align != AlignmentRule.NO_ALIGNMENT) { in compose()74 return AlignmentRule.NO_ALIGNMENT; in compose()
51 private AlignmentRule alignmentRule;138 public AlignmentRule getAlignmentRule() { in getAlignmentRule()147 public ZFileOptions setAlignmentRule(@Nonnull AlignmentRule alignmentRule) { in setAlignmentRule()
24 public interface AlignmentRule { interface
337 private final AlignmentRule alignmentRule;1947 return AlignmentRule.NO_ALIGNMENT; in chooseAlignment()
21 import com.android.tools.build.apkzlib.zip.AlignmentRule;42 private static final AlignmentRule APK_DEFAULT_RULE = AlignmentRules.constant(4);
19 import com.android.tools.build.apkzlib.zip.AlignmentRule;48 private static final AlignmentRule SO_RULE =
24 import com.android.tools.build.apkzlib.zip.AlignmentRule;60 options.setAlignmentRule(AlignmentRules.constant(AlignmentRule.NO_ALIGNMENT)); in testSignature()
41 private static final AlignmentRule SUFFIX_ALIGNMENT_RULES =
762 options.setAlignmentRule(AlignmentRules.constant(AlignmentRule.NO_ALIGNMENT)); in extraDirectoryOffsetNonEmptyFile()