Searched refs:diff (Results 26 - 50 of 133) sorted by relevance

123456

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DModelMethod.java94 final int diff = compareParameter(arg, thisParameter, thatParameter);
95 if (diff != 0) {
96 return diff < 0;
/frameworks/base/core/java/android/app/
H A DProgressDialog.java261 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 DSoftAVCDec.h48 #define TIME_DIFF(start, end, diff) \
49 diff = ((end.tv_sec - start.tv_sec) * 1000000) + \
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
H A DSoftMPEG2.h51 #define TIME_DIFF(start, end, diff) \
52 diff = ((end.tv_sec - start.tv_sec) * 1000000) + \
/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.cpp41 Point diff = p1 - p0; local
42 return diff.Length();
/frameworks/base/core/java/android/text/
H A DDynamicLayout.java209 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 DAMessage.cpp769 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 DTimeUtils.java420 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 DTableProtoSerializer.cpp203 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 DPathKeyframes.java151 float diff = endValue - startValue;
152 return startValue + (diff * fraction);
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.cpp40 Point diff = p1 - p0; local
41 return diff.Length();
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipWakeupTimer.java322 int diff = e1.mMaxPeriod - e2.mMaxPeriod;
323 if (diff == 0) diff = -1;
324 return diff;
/frameworks/av/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp125 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 DResolverComparator.java190 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 DTimeZoneInfo.java267 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 DAppIdleHistory.java207 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 DTableFlattener.cpp409 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 DXmlFlattener.cpp154 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 DConfiguration.java305 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 DWifiConfiguration.java1528 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 DChildHelper.java115 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 DArrayUtils.java491 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 DMediaSizeUtils.java114 (newConfig.diff(mCurrentConfig) & ActivityInfo.CONFIG_LOCALE) != 0) {
/frameworks/native/libs/gui/tests/
H A DSRGB_test.cpp229 int diff = a - b; local
230 return diff >= 0 ? diff <= TOLERANCE : -diff <= TOLERANCE;
/frameworks/av/media/libstagefright/codecs/avcenc/
H A DSoftAVCEnc.h113 #define TIME_DIFF(start, end, diff) \
114 diff = ((end.tv_sec - start.tv_sec) * 1000000) + \

Completed in 5613 milliseconds

123456