Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DAppItem.java67 int comparison = Integer.compare(category, another.category); in compareTo() local
68 if (comparison == 0) { in compareTo()
69 comparison = Long.compare(another.total, total); in compareTo()
71 return comparison; in compareTo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java639 int comparison = (another.isConnected() ? 1 : 0) - (isConnected() ? 1 : 0); in compareTo() local
640 if (comparison != 0) return comparison; in compareTo()
643 comparison = (another.getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0) - in compareTo()
645 if (comparison != 0) return comparison; in compareTo()
648 comparison = (another.mVisible ? 1 : 0) - (mVisible ? 1 : 0); in compareTo()
649 if (comparison != 0) return comparison; in compareTo()
652 comparison = another.mRssi - mRssi; in compareTo()
653 if (comparison != 0) return comparison; in compareTo()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DComparisonExpr.java76 return model.comparison(mOp, getLeft().cloneToModel(model), getRight().cloneToModel(model)); in cloneToModel()
DFieldAssignmentExpr.java91 .comparison("!=", child, getModel().symbol("null", Object.class)); in toExecutionPath()
DMethodBaseExpr.java50 .comparison("!=", getTarget(), getModel().symbol("null", Object.class)); in toExecutionPath()
DBracketExpr.java69 Expr cmp = getModel().comparison("!=", getTarget(), in toExecutionPath()
DMethodCallExpr.java107 .comparison("!=", getTarget(), getModel().symbol("null", Object.class)); in toExecutionPath()
DExprModel.java160 public ComparisonExpr comparison(String op, Expr left, Expr right) { in comparison() method in ExprModel
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
DExprModelTest.java158 mExprModel.comparison("==", a, mExprModel.symbol("null", Object.class)); in testShouldRead()
311 .comparison("==", a, mExprModel.symbol("null", Object.class)); in testRequirementFlags()
313 .comparison("==", b, mExprModel.symbol("null", Object.class)); in testRequirementFlags()
1044 final ComparisonExpr comparison = (ComparisonExpr) ternaryExpr.getPred(); in testLocationTracking() local
1045 final Location predLoc = comparison.getLocations().get(0); in testLocationTracking()
1052 final Location aLoc = comparison.getLeft().getLocations().get(0); in testLocationTracking()
1059 final Location tLoc = comparison.getRight().getLocations().get(0); in testLocationTracking()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DExpressionVisitor.java226 … return mModel.ternary(mModel.comparison("==", left, mModel.symbol("null", Object.class)), in visitQuestionQuestionOp()
276 … return mModel.comparison(ctx.op.getText(), ctx.left.accept(this), ctx.right.accept(this)); in visitComparisonOp()
/frameworks/rs/script_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/rs/script_api/include/
Drs_graphics.rsh115 * Specifies conditional drawing depending on the comparison of the incoming
Drs_math.rsh39 * rounding may be done towards zero. In comparison, rs_fp_full requires correct handling of
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...