Home
last modified time | relevance | path

Searched refs:comparison (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java645 int comparison = (another.isConnected() ? 1 : 0) - (isConnected() ? 1 : 0); in compareTo() local
646 if (comparison != 0) return comparison; in compareTo()
649 comparison = (another.getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0) - in compareTo()
651 if (comparison != 0) return comparison; in compareTo()
654 comparison = (another.mVisible ? 1 : 0) - (mVisible ? 1 : 0); in compareTo()
655 if (comparison != 0) return comparison; in compareTo()
658 comparison = another.mRssi - mRssi; in compareTo()
659 if (comparison != 0) return comparison; in compareTo()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
DExprModelTest.java140 mExprModel.comparison("==", a, mExprModel.symbol("null", Object.class)); in testShouldRead()
268 .comparison("==", a, mExprModel.symbol("null", Object.class)); in testRequirementFlags()
270 .comparison("==", b, mExprModel.symbol("null", Object.class)); in testRequirementFlags()
789 final ComparisonExpr comparison = (ComparisonExpr) ternaryExpr.getPred(); in testLocationTracking() local
790 final Location predLoc = comparison.getLocations().get(0); in testLocationTracking()
797 final Location aLoc = comparison.getLeft().getLocations().get(0); in testLocationTracking()
804 final Location tLoc = comparison.getRight().getLocations().get(0); in testLocationTracking()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DExpressionVisitor.java138 … return mModel.ternary(mModel.comparison("==", left, mModel.symbol("null", Object.class)), in visitQuestionQuestionOp()
185 … return mModel.comparison(ctx.op.getText(), ctx.left.accept(this), ctx.right.accept(this)); in visitComparisonOp()
/frameworks/base/docs/html/training/activity-testing/
Dactivity-basic-testing.jd191 <p>When doing this type of string value comparison, it’s good practice to read
193 your comparison code. This prevents your test from easily breaking whenever the
195 <p>To perform the comparison, pass both the expected and actual strings as
/frameworks/base/docs/html/tools/performance/memory-monitor/
Dindex.jd33 <li><a href="{@docRoot}tools/performance/comparison.html">
/frameworks/base/docs/html/tools/help/
DMonkeyImage.jd125 the comparison. The <code>percent</code> argument specifies the percentage
358 the comparison. The <code>percent</code> argument specifies the percentage
Dmonkeyrunner_concepts.jd48 device or emulator and generates pseudo-random streams of user and system events. In comparison,
/frameworks/base/docs/html/tools/performance/allocation-tracker/
Dindex.jd35 <li><a href="{@docRoot}tools/performance/comparison.html">
/frameworks/base/docs/html/tools/performance/heap-viewer/
Dindex.jd33 <li><a href="{@docRoot}tools/performance/comparison.html">
/frameworks/base/docs/html/guide/topics/manifest/
Dsupports-gl-texture-element.jd174 with those supported by the user's device. The comparison is based on the format
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DExprModel.java131 public ComparisonExpr comparison(String op, Expr left, Expr right) { in comparison() method in ExprModel
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design.jd254 <p>For comparison, here's the resources directory structure of a typical
/frameworks/rs/api/
Drs_graphics.spec96 Specifies conditional drawing depending on the comparison of the incoming
Drs_math.spec37 rounding may be done towards zero. In comparison, rs_fp_full requires correct handling of
/frameworks/base/docs/html/sdk/installing/
Dmigrate.jd263 capabilities. For a comparison of Eclipse ADT and Android Studio features and usage, see
/frameworks/base/docs/html/tools/testing/
Dtesting_android.jd232 throw an exception if the comparison fails. Android also provides a class of assertions that
366 expected value, and throws an AssertionException if the comparison test fails. Using assertions
/frameworks/base/docs/html/training/location/
Dlocation-testing.jd303 car travel, because this change works out to 60 miles an hour. In comparison, changing the
/frameworks/base/docs/html/training/efficient-downloads/
Defficient-network-access.jd67 <p>By comparison, the same app that bundles transfers of 3 seconds of every minute will keep the ra…
/frameworks/base/docs/html/design/patterns/
Dnotifications_k.jd130 appear in comparison to other notifications and help to make sure that users
/frameworks/base/docs/html/training/sync-adapters/
Drunning-sync-adapter.jd435 In comparison, allowing users to run a sync on demand means that the sync runs by itself, which
/frameworks/rs/scriptc/
Drs_graphics.rsh115 * Specifies conditional drawing depending on the comparison of the incoming
/frameworks/base/docs/html/guide/topics/renderscript/
Dadvanced.jd77 are available as well as atomic arithmetic and comparison functions.</li>
/frameworks/base/docs/html/tools/debugging/
Ddebugging-memory.jd402 actual RAM weight of a process and for comparison against the RAM use of other processes and the
/frameworks/base/docs/html/guide/topics/ui/
Ddrag-drop.jd269 override the method. In comparison, you can implement one listener class and then use it with
/frameworks/base/docs/html/guide/components/
Dservices.jd389 <p>For comparison, the following example code is an implementation of the {@link

12