Searched refs:rules (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java452 int[] rules = params.getRules(layoutDirection);
454 applyHorizontalSizeRules(params, myWidth, rules);
551 final int[] rules = params.getRules(layoutDirection);
552 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_HORIZONTAL] != 0) {
554 } else if (rules[ALIGN_PARENT_RIGHT] != 0) {
581 final int[] rules = params.getRules(layoutDirection);
582 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_VERTICAL] != 0) {
584 } else if (rules[ALIGN_PARENT_BOTTO
877 applyHorizontalSizeRules(LayoutParams childParams, int myWidth, int[] rules) argument
988 getRelatedView(int[] rules, int relation) argument
1009 getRelatedViewParams(int[] rules, int relation) argument
1020 getRelatedViewBaseline(int[] rules, int relation) argument
1666 getSortedViews(View[] sorted, int... rules) argument
[all...]
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DInstanceTargets.java49 int rules[] = params.getRules();
50 if (rules[ALIGN_PARENT_RIGHT] != 0) {
/frameworks/base/services/java/com/android/server/firewall/
H A DIntentFirewall.java59 private static final String TAG_RULES = "rules";
148 // For the first pass, find all the rules that have at least one intent-filter or
167 // to continue trying rules
255 * Reads rules from all xml files (*.xml) in the given directory, and replaces our set of rules
256 * with the newly read rules.
279 Slog.i(TAG, "Read new rules (A:" + resolvers[TYPE_ACTIVITY].filterSet().size() +
291 * Reads rules from the given file and add them to the given resolvers
294 // some temporary lists to hold the rules while we parse the xml file, so that we can
295 // add the rules al
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkPolicyManager.java38 * Manager for creating and modifying network policy rules.
281 public static void dumpRules(PrintWriter fout, int rules) { argument
283 if ((rules & RULE_REJECT_METERED) != 0) {
/frameworks/webview/chromium/
H A DAndroid.mk33 LOCAL_JARJAR_RULES := $(CHROMIUM_PATH)/android_webview/build/jarjar-rules.txt
102 # Add build rules to check that the jarjar'ed jar only contains whitelisted
/frameworks/base/tools/aapt/
H A DResource.cpp2271 KeyedVector<String8, SortedVector<String8> > rules; member in class:ProguardKeepSet
2278 ssize_t index = rules.indexOfKey(rule);
2280 index = rules.add(rule, SortedVector<String8>());
2282 rules.editValueAt(index).add(where);
2614 const KeyedVector<String8, SortedVector<String8> >& rules = keep.rules; local
2615 const size_t N = rules.size();
2617 const SortedVector<String8>& locations = rules.valueAt(i);
2622 fprintf(fp, "%s\n\n", rules.keyAt(i).string());

Completed in 162 milliseconds