Home
last modified time | relevance | path

Searched refs:rules (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/base/core/java/android/widget/
DRelativeLayout.java452 int[] rules = params.getRules(layoutDirection); in onMeasure() local
454 applyHorizontalSizeRules(params, myWidth, rules); in onMeasure()
551 final int[] rules = params.getRules(layoutDirection); in onMeasure() local
552 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_HORIZONTAL] != 0) { in onMeasure()
554 } else if (rules[ALIGN_PARENT_RIGHT] != 0) { in onMeasure()
581 final int[] rules = params.getRules(layoutDirection); in onMeasure() local
582 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_VERTICAL] != 0) { in onMeasure()
584 } else if (rules[ALIGN_PARENT_BOTTOM] != 0) { in onMeasure()
641 int[] rules = params.getRules(layoutDirection); in alignBaseline() local
642 int anchorBaseline = getRelatedViewBaseline(rules, ALIGN_BASELINE); in alignBaseline()
[all …]
/frameworks/base/services/java/com/android/server/firewall/
DIntentFirewall.java333 List<Rule> rules = rulesByType.get(ruleType); in readRules() local
344 rules.add(rule); in readRules()
364 List<Rule> rules = rulesByType.get(ruleType); in readRules() local
367 for (int ruleIndex=0; ruleIndex<rules.size(); ruleIndex++) { in readRules()
368 Rule rule = rules.get(ruleIndex); in readRules()
518 Rule[] rules = mRulesByComponent.get(componentName); in queryByComponent() local
519 if (rules != null) { in queryByComponent()
520 candidateRules.addAll(Arrays.asList(rules)); in queryByComponent()
525 Rule[] rules = mRulesByComponent.get(componentName); in addComponentFilter() local
526 rules = ArrayUtils.appendElement(Rule.class, rules, rule); in addComponentFilter()
[all …]
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DInstanceTargets.java49 int rules[] = params.getRules(); in sendMessage() local
50 if (rules[ALIGN_PARENT_RIGHT] != 0) { in sendMessage()
/frameworks/base/docs/html/tools/
Ddevice.jd80 <code>udev</code> rules file that contains a USB configuration for each type of device
81 you want to use for development. In the rules file, each device manufacturer
89 <code>/etc/udev/rules.d/51-android.rules</code></span>.
103 rules</a>.</p>
106 <code>chmod a+r /etc/udev/rules.d/51-android.rules</code>
141 <code>ATTR{idVendor}</code> property in the rules file, as described
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java281 public static void dumpRules(PrintWriter fout, int rules) { in dumpRules() argument
283 if ((rules & RULE_REJECT_METERED) != 0) { in dumpRules()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/
Dproguard-project.txt4 # Add project specific ProGuard rules here.
/frameworks/volley/
Dproguard-project.txt4 # Add project specific ProGuard rules here.
/frameworks/base/media/lib/
DREADME.txt7 You can add but not remove. The rules are the same as for the
/frameworks/base/location/lib/
DREADME.txt7 You can add but not remove. The rules are the same as for the
/frameworks/webview/chromium/
DAndroid.mk33 LOCAL_JARJAR_RULES := $(CHROMIUM_PATH)/android_webview/build/jarjar-rules.txt
/frameworks/base/tools/aapt/
DResource.cpp2271 KeyedVector<String8, SortedVector<String8> > rules; member in ProguardKeepSet
2278 ssize_t index = rules.indexOfKey(rule); in add()
2280 index = rules.add(rule, SortedVector<String8>()); in add()
2282 rules.editValueAt(index).add(where); in add()
2614 const KeyedVector<String8, SortedVector<String8> >& rules = keep.rules; in writeProguardFile() local
2615 const size_t N = rules.size(); in writeProguardFile()
2617 const SortedVector<String8>& locations = rules.valueAt(i); in writeProguardFile()
2622 fprintf(fp, "%s\n\n", rules.keyAt(i).string()); in writeProguardFile()
/frameworks/base/docs/html/distribute/googleplay/policies/
Dspam.jd119 <p>The rules of Kids puzzle: Identify Turtles are quite simple. Have
153 <p>The rules of Kids puzzle: Identify Turtles are quite simple. Have your
193 <p>The rules of Kids puzzle: Identify Turtles are quite simple. Have your child drag
229 <p>The rules of Kids puzzle: Identify Turtles are quite simple. Have your child
Dip.jd90 copyright, and the rules vary by country and can be complex.
264 should get legal advice before publishing. As with copyright, the rules vary
/frameworks/base/docs/html/guide/webapps/
Dbest-practices.jd91 href="http://developer.yahoo.com/performance/index.html#rules">Exceptional Performance</a> and
/frameworks/base/docs/html/design/building-blocks/
Ddialogs.jd36 … the content, then all the buttons should be active verbs. Order actions following these rules:</p>
/frameworks/base/docs/html/guide/topics/ui/
Dhow-android-draws.jd68 the rules on the second pass).
/frameworks/base/docs/html/tools/sdk/
Dtools-notes.jd495 <li>Added over 25 new lint rules for resources, locale settings, layout
643 the build system to generate a temporary ProGuard {@code keep-rules} file containing classes that
646 (such as the Android Support library), since the catch-all rules to keep all custom views from the
833 <li>Updated Lint to check Android application code. Lint rules which previously
836 <li>Added support for checking library projects. This change means that rules such as
849 <li>Added over 20 new Lint rules, including checks for
1170 … <li>Ant lib rules now allow you to override <code>java.encoding</code>, <code>java.source</code>,
/frameworks/base/docs/html/design/patterns/
Dpure-android.jd5 Android, keep in mind that different platforms play by different rules and conventions. Design
Dnavigation-drawer.jd283 System Back behaves according to the navigation rules for the top level, such as navigating
288 System Back does not show the drawer, but behaves according to the navigation rules for
/frameworks/base/docs/html/guide/topics/manifest/
Ddata-element.jd63 Information on how intent filters work, including the rules for how Intent objects
/frameworks/base/docs/html/google/play/publishing/
Dmultiple-apks.jd158 specific set of device configurations. However, there are several rules based on the manifest
160 others. When you activate an APK and it violates one of the rules, you will receive an error or
163 whether your application is available for different devices. These rules are discussed more
310 understand the following rules that define how publishing multiple APKs works:</p>
391 <p>Failure to abide by the above rules results in an error on the Google Play Developer Console
/frameworks/base/docs/html/training/improving-layouts/
Doptimizing-layout.jd136 href="http://tools.android.com/tips/lint-checks">rules</a> are:</p>
/frameworks/base/docs/html/training/basics/firstapp/
Dcreating-project.jd69 rules as packages in the Java programming language). Your package name
/frameworks/base/docs/html/google/play/
Dfilters.jd64 specifies the current filtering rules used by Google Play.</p>
80 rules, Google Play displays the application to the user. Otherwise, Google Play
448 requires that you follow specific rules within your filters and that you pay extra attention to the
/frameworks/base/docs/html/distribute/googleplay/about/
Ddistribution.jd69 necessary distribution rules. For technical information about declaring

123