Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/include/ui/
DRegion.h80 const Region subtract(const Rect& rhs) const;
86 const Region subtract(const Region& rhs) const;
100 const Region subtract(const Region& rhs, int dx, int dy) const;
191 return subtract(rhs);
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelUidCpuFreqTimeReaderTest.java97 verify(mCallback).onUidCpuFreqTime(uids[i], subtract(newTimes1[i], times[i])); in testReadDelta()
136 verify(mCallback).onUidCpuFreqTime(uids[i], subtract(newTimes3[i], newTimes2[i])); in testReadDelta()
177 verify(mCallback).onUidCpuFreqTime(uids[i], subtract(newTimes1[i], times[i])); in testReadDelta_malformedData()
210 verify(mCallback).onUidCpuFreqTime(uids[i], subtract(newTimes2[i], newTimes1[i])); in testReadDelta_malformedData()
226 private long[] subtract(long[] a1, long[] a2) { in subtract() method in KernelUidCpuFreqTimeReaderTest
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java124 NetworkStats proc_stats = post_test_stats.subtract(pre_test_stats); in downloadFile()
178 NetworkStats proc_stats = post_test_stats.subtract(pre_test_stats); in uploadFile()
235 NetworkStats proc_stats = post_test_stats.subtract(pre_test_stats); in downloadFileUsingDownloadManager()
/frameworks/layoutlib/bridge/src/android/graphics/
DRegion_Delegate.java88 result.subtract(shape2 instanceof Area ? (Area) shape2 : new Area(shape2)); in combineShapes()
129 result.subtract(shape1 instanceof Area ? (Area) shape1 : new Area(shape1)); in combineShapes()
322 dstRegion.mArea.subtract(clip.getJavaArea()); in nativeSetPath()
/frameworks/base/tools/preload/
DPrintCsv.java108 = loadedClass.memoryUsage.subtract(baseline); in printRow()
DPrintHtmlDiff.java126 = clazz.memoryUsage.subtract(baseline); in printTable()
DMemoryUsage.java107 MemoryUsage subtract(MemoryUsage baseline) { in subtract() method in MemoryUsage
/frameworks/base/core/java/android/net/
DNetworkStats.java624 public NetworkStats subtract(NetworkStats right) { in subtract() method in NetworkStats
625 return subtract(this, right, null, null); in subtract()
636 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, in subtract() method in NetworkStats
638 return subtract(left, right, observer, cookie, null); in subtract()
653 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, in subtract() method in NetworkStats
DTrafficStats.java350 final NetworkStats profilingDelta = NetworkStats.subtract( in stopDataProfiling()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java202 final NetworkStats result = after.subtract(before); in testSubtractIdenticalData()
220 final NetworkStats result = after.subtract(before); in testSubtractIdenticalRows()
239 final NetworkStats result = after.subtract(before); in testSubtractNewRows()
258 final NetworkStats result = after.subtract(before); in testSubtractMissingRows()
/frameworks/native/libs/ui/
DRegion.cpp339 const Region Region::subtract(const Rect& rhs) const { in subtract() function in android::Region
359 const Region Region::subtract(const Region& rhs) const { in subtract() function in android::Region
405 const Region Region::subtract(const Region& rhs, int dx, int dy) const { in subtract() function in android::Region
/frameworks/base/core/java/android/security/keymaster/
DKeymasterArguments.java39 public static final BigInteger UINT64_MAX_VALUE = UINT64_RANGE.subtract(BigInteger.ONE);
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsRecorder.java230 final NetworkStats delta = NetworkStats.subtract( in recordSnapshotLocked()
/frameworks/rs/script_api/include/
Drs_atomic.rsh221 * value: Amount to subtract.
/frameworks/native/libs/gui/
DSurface.cpp1646 const Region copyback(mDirtyRegion.subtract(newDirtyRegion)); in lock()
1667 mDirtyRegion.subtract(dirtyRegion); in lock()
/frameworks/native/opengl/libagl/
Degl.cpp302 static Region subtract(const Rect& lhs, const Rect& rhs) { in subtract() function
522 /*const*/ Region copyBack(Region::subtract(oldDirtyRegion, dirtyRegion)); in swapBuffers()
/frameworks/native/services/surfaceflinger/
DLayer.cpp447 return Region(win).subtract(exclude).getBounds(); in reduce()
1120 Region holes(clip.subtract(under));
DSurfaceFlinger_hwc1.cpp2051 visibleRegion.subtract(transparentRegion)); in computeVisibleRegions()
2216 const Region letterbox(bounds.subtract(hw->getScissor())); in doComposeSurfaces()
DSurfaceFlinger.cpp2480 visibleRegion.subtract(transparentRegion)); in computeVisibleRegions()
2658 const Region letterbox(bounds.subtract(displayDevice->getScissor())); in doComposeSurfaces()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1078 subtract(val, mUnpluggedCounts); in getCountsLocked()
1080 subtract(val, mLoadedCounts); in getCountsLocked()
1184 private static void subtract(@NonNull long[] val, long[] toSubtract) { in subtract() method in BatteryStatsImpl.LongSamplingCounterArray
9753 delta = NetworkStats.subtract(latestStats, mLastWifiNetworkStats, null, null, in updateWifiState()
10012 delta = NetworkStats.subtract(latestStats, mLastModemNetworkStats, null, null, in updateMobileRadioState()
/frameworks/base/api/
Dcurrent.txt17491 method public android.icu.math.BigDecimal subtract(android.icu.math.BigDecimal);
17492 …method public android.icu.math.BigDecimal subtract(android.icu.math.BigDecimal, android.icu.math.M…
56011 method public java.math.BigDecimal subtract(java.math.BigDecimal);
56012 method public java.math.BigDecimal subtract(java.math.BigDecimal, java.math.MathContext);
56077 method public java.math.BigInteger subtract(java.math.BigInteger);
70854 method public javax.xml.datatype.Duration subtract(javax.xml.datatype.Duration);
Dtest-current.txt17589 method public android.icu.math.BigDecimal subtract(android.icu.math.BigDecimal);
17590 …method public android.icu.math.BigDecimal subtract(android.icu.math.BigDecimal, android.icu.math.M…
56493 method public java.math.BigDecimal subtract(java.math.BigDecimal);
56494 method public java.math.BigDecimal subtract(java.math.BigDecimal, java.math.MathContext);
56559 method public java.math.BigInteger subtract(java.math.BigInteger);
71336 method public javax.xml.datatype.Duration subtract(javax.xml.datatype.Duration);
Dsystem-current.txt19034 method public android.icu.math.BigDecimal subtract(android.icu.math.BigDecimal);
19035 …method public android.icu.math.BigDecimal subtract(android.icu.math.BigDecimal, android.icu.math.M…
59969 method public java.math.BigDecimal subtract(java.math.BigDecimal);
59970 method public java.math.BigDecimal subtract(java.math.BigDecimal, java.math.MathContext);
60035 method public java.math.BigInteger subtract(java.math.BigInteger);
74812 method public javax.xml.datatype.Duration subtract(javax.xml.datatype.Duration);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt42616 method public java.math.BigDecimal subtract(java.math.BigDecimal);
42617 method public java.math.BigDecimal subtract(java.math.BigDecimal, java.math.MathContext);
42682 method public java.math.BigInteger subtract(java.math.BigInteger);
53442 method public javax.xml.datatype.Duration subtract(javax.xml.datatype.Duration);
/frameworks/base/config/
Dboot-image-profile.txt4567 HPLandroid/net/NetworkStats;->subtract(Landroid/net/NetworkStats;Landroid/net/NetworkStats;Landroid…
4568 HPLandroid/net/NetworkStats;->subtract(Landroid/net/NetworkStats;Landroid/net/NetworkStats;Landroid…
43385 HSPLjava/math/BigInteger;->subtract(Ljava/math/BigInteger;)Ljava/math/BigInteger;