/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
H A D | ModelMethod.java | 94 final int diff = compareParameter(arg, thisParameter, thatParameter); 95 if (diff != 0) { 96 return diff < 0;
|
/frameworks/base/core/java/android/app/ |
H A D | ProgressDialog.java | 261 public void incrementProgressBy(int diff) { argument 263 mProgress.incrementProgressBy(diff); 266 mIncrementBy += diff; 270 public void incrementSecondaryProgressBy(int diff) { argument 272 mProgress.incrementSecondaryProgressBy(diff); 275 mIncrementSecondaryBy += diff;
|
/frameworks/av/media/libstagefright/codecs/avcdec/ |
H A D | SoftAVCDec.h | 48 #define TIME_DIFF(start, end, diff) \ 49 diff = ((end.tv_sec - start.tv_sec) * 1000000) + \
|
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
H A D | SoftMPEG2.h | 51 #define TIME_DIFF(start, end, diff) \ 52 diff = ((end.tv_sec - start.tv_sec) * 1000000) + \
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.cpp | 41 Point diff = p1 - p0; local 42 return diff.Length();
|
/frameworks/base/core/java/android/text/ |
H A D | DynamicLayout.java | 209 int diff = where - find; 210 before += diff; 211 after += diff; 212 where -= diff; 246 int diff = where - st; 247 before += diff; 248 after += diff; 249 where -= diff; 255 int diff = en - (where + after); 256 before += diff; [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | AMessage.cpp | 769 sp<AMessage> diff = new AMessage; local 771 diff->setWhat(mWhat); 774 diff->setTarget(mHandler.promote()); 783 diff->setInt32(item.mName, item.u.int32Value); 789 diff->setInt64(item.mName, item.u.int64Value); 795 diff->setSize(item.mName, item.u.sizeValue); 801 diff->setFloat(item.mName, item.u.sizeValue); 807 diff->setDouble(item.mName, item.u.sizeValue); 813 diff->setString(item.mName, *item.u.stringValue); 819 diff [all...] |
/frameworks/base/core/java/android/util/ |
H A D | TimeUtils.java | 420 final long diff = time - SystemClock.uptimeMillis(); 421 if (diff > 0) { 422 return time + " (in " + diff + " ms)"; 424 if (diff < 0) { 425 return time + " (" + -diff + " ms ago)";
|
/frameworks/base/tools/aapt2/proto/ |
H A D | TableProtoSerializer.cpp | 203 int diff = a.context.priority - b.context.priority; 204 if (diff < 0) return true; 205 if (diff > 0) return false; 206 diff = a.context.config.compare(b.context.config); 207 if (diff < 0) return true; 208 if (diff > 0) return false;
|
/frameworks/base/core/java/android/animation/ |
H A D | PathKeyframes.java | 151 float diff = endValue - startValue; 152 return startValue + (diff * fraction);
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.cpp | 40 Point diff = p1 - p0; local 41 return diff.Length();
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipWakeupTimer.java | 322 int diff = e1.mMaxPeriod - e2.mMaxPeriod; 323 if (diff == 0) diff = -1; 324 return diff;
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioBiquadFilter.cpp | 125 audio_coef_t diff = coefs[i] - mCoefs[i]; local 126 if (diff > maxDelta) { 128 } else if (diff < -maxDelta) {
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverComparator.java | 190 final float diff = rhsTarget.score - lhsTarget.score; 192 if (diff != 0) { 193 return diff > 0 ? 1 : -1;
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneInfo.java | 267 int diff = this.mCountry.compareTo(other.mCountry); 269 if (diff != 0) { 270 return diff; 274 // Finally diff by display name
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | AppIdleHistory.java | 207 int diff = (int) (thisPeriod - mLastPeriod); 213 System.arraycopy(idleState.recent, diff, idleState.recent, 0, 214 HISTORY_SIZE - diff); 215 // Replicate last state across the diff 216 for (int i = 0; i < diff; i++) { 218 (byte) (idleState.recent[HISTORY_SIZE - diff - 1] & FLAG_LAST_STATE);
|
/frameworks/base/tools/aapt2/flatten/ |
H A D | TableFlattener.cpp | 409 config.diff(entry->values[j]->config)); 470 int diff = a.context.priority - b.context.priority; 471 if (diff < 0) return true; 472 if (diff > 0) return false; 473 diff = a.context.config.compare(b.context.config); 474 if (diff < 0) return true; 475 if (diff > 0) return false;
|
H A D | XmlFlattener.cpp | 154 int diff = a->namespaceUri.compare(b->namespaceUri); local 155 if (diff < 0) { 157 } else if (diff > 0) {
|
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 305 public static String configurationDiffToString(int diff) { argument 307 if ((diff & ActivityInfo.CONFIG_MCC) != 0) { 310 if ((diff & ActivityInfo.CONFIG_MNC) != 0) { 313 if ((diff & ActivityInfo.CONFIG_LOCALE) != 0) { 316 if ((diff & ActivityInfo.CONFIG_TOUCHSCREEN) != 0) { 319 if ((diff & ActivityInfo.CONFIG_KEYBOARD) != 0) { 322 if ((diff & ActivityInfo.CONFIG_KEYBOARD_HIDDEN) != 0) { 325 if ((diff & ActivityInfo.CONFIG_NAVIGATION) != 0) { 328 if ((diff & ActivityInfo.CONFIG_ORIENTATION) != 0) { 331 if ((diff 1120 public int diff(Configuration delta) { method in class:Configuration [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfiguration.java | 1528 long diff = now_ms - mNetworkSelectionStatus.getDisableTime(); 1529 if (diff <= 0) { 1532 sbuf.append(" blackListed: ").append(Long.toString(diff / 1000)).append("sec "); 1546 long diff = now_ms - this.lastConnected; 1547 if (diff <= 0) { 1550 sbuf.append("lastConnected: ").append(Long.toString(diff / 1000)).append("sec "); 1555 long diff = now_ms - this.lastConnectionFailure; 1556 if (diff <= 0) { 1559 sbuf.append("lastConnectionFailure: ").append(Long.toString(diff / 1000)); 1565 long diff [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | ChildHelper.java | 115 return -1; //anything below 0 won't work as diff will be undefined. 121 final int diff = index - (offset - removedBefore); 122 if (diff == 0) { 128 offset += diff;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ArrayUtils.java | 491 boolean diff = false; 492 for (int i = 0; i < sizeA && !diff; i++) { 493 diff |= a.get(i) != b.get(i); 495 return !diff;
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
H A D | MediaSizeUtils.java | 114 (newConfig.diff(mCurrentConfig) & ActivityInfo.CONFIG_LOCALE) != 0) {
|
/frameworks/native/libs/gui/tests/ |
H A D | SRGB_test.cpp | 229 int diff = a - b; local 230 return diff >= 0 ? diff <= TOLERANCE : -diff <= TOLERANCE;
|
/frameworks/av/media/libstagefright/codecs/avcenc/ |
H A D | SoftAVCEnc.h | 113 #define TIME_DIFF(start, end, diff) \ 114 diff = ((end.tv_sec - start.tv_sec) * 1000000) + \
|