/frameworks/base/core/java/android/webkit/ |
D | WebStorage.java | 71 protected Origin(String origin, long quota, long usage) { in Origin() argument 72 mOrigin = origin; in Origin() 143 public void getUsageForOrigin(String origin, ValueCallback<Long> callback) { in getUsageForOrigin() argument 154 public void getQuotaForOrigin(String origin, ValueCallback<Long> callback) { in getQuotaForOrigin() argument 166 public void setQuotaForOrigin(String origin, long quota) { in setQuotaForOrigin() argument 175 public void deleteOrigin(String origin) { in deleteOrigin() argument
|
D | GeolocationPermissions.java | 62 public void invoke(String origin, boolean allow, boolean retain); in invoke() argument 104 public void getAllowed(String origin, ValueCallback<Boolean> callback) { in getAllowed() argument 113 public void clear(String origin) { in clear() argument 122 public void allow(String origin) { in allow() argument
|
D | WebChromeClient.java | 335 public void onGeolocationPermissionsShowPrompt(String origin, in onGeolocationPermissionsShowPrompt() argument
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
D | ScrollViewButtonsAndLabelsTest.java | 48 int origin[] = {0, 0}; in setUp() local 49 mScrollView.getLocationOnScreen(origin); in setUp() 50 mScreenTop = origin[1]; in setUp() 51 mScreenBottom = origin[1] + mScrollView.getHeight(); in setUp() 181 int origin[] = {0, 0}; in findFirstButtonOffScreenTop2Bottom() local 182 mScrollView.getLocationOnScreen(origin); in findFirstButtonOffScreenTop2Bottom() 191 if (buttonLoc[1] - origin[1] > screenHeight) { in findFirstButtonOffScreenTop2Bottom() 200 int origin[] = {0, 0}; in findFirstButtonOffScreenBottom2Top() local 201 mScrollView.getLocationOnScreen(origin); in findFirstButtonOffScreenBottom2Top()
|
D | RequestRectangleVisibleTest.java | 201 static public void assertOnBottomEdgeOfScreen(View origin, View view) { in assertOnBottomEdgeOfScreen() argument 206 origin.getLocationOnScreen(xyRoot); in assertOnBottomEdgeOfScreen() 209 int bottomOfRoot = xyRoot[1] + origin.getHeight(); in assertOnBottomEdgeOfScreen() 222 static public void assertOnTopEdgeOfScreen(View origin, View view) { in assertOnTopEdgeOfScreen() argument 227 origin.getLocationOnScreen(xyRoot); in assertOnTopEdgeOfScreen() 230 int bottomOfRoot = xyRoot[1] + origin.getHeight(); in assertOnTopEdgeOfScreen()
|
/frameworks/base/test-runner/src/android/test/ |
D | ViewAsserts.java | 44 static public void assertOnScreen(View origin, View view) { in assertOnScreen() argument 49 origin.getLocationOnScreen(xyRoot); in assertOnScreen() 66 static public void assertOffScreenBelow(View origin, View view) { in assertOffScreenBelow() argument 71 origin.getLocationOnScreen(xyRoot); in assertOffScreenBelow() 77 + origin.getHeight() + ")", in assertOffScreenBelow() 78 y > origin.getHeight()); in assertOffScreenBelow() 86 static public void assertOffScreenAbove(View origin, View view) { in assertOffScreenAbove() argument 91 origin.getLocationOnScreen(xyRoot); in assertOffScreenAbove() 106 static public void assertHasScreenCoordinates(View origin, View view, int x, int y) { in assertHasScreenCoordinates() argument 111 origin.getLocationOnScreen(xyRoot); in assertHasScreenCoordinates()
|
/frameworks/base/services/core/java/com/android/server/timedetector/ |
D | TimeDetectorStrategyImpl.java | 457 @Origin int origin, @NonNull TimestampedValue<Long> time, @NonNull String cause) { in setSystemClockIfRequired() 459 boolean isOriginAutomatic = isOriginAutomatic(origin); in setSystemClockIfRequired() 464 + " origin=" + origin in setSystemClockIfRequired() 474 + " origin=" + origin in setSystemClockIfRequired() 484 setSystemClockUnderWakeLock(origin, time, cause); in setSystemClockIfRequired() 490 private static boolean isOriginAutomatic(@Origin int origin) { in isOriginAutomatic() argument 491 return origin != ORIGIN_MANUAL; in isOriginAutomatic() 496 int origin, @NonNull TimestampedValue<Long> newTime, @NonNull Object cause) { in setSystemClockUnderWakeLock() argument 499 boolean isOriginAutomatic = isOriginAutomatic(origin); in setSystemClockUnderWakeLock() 554 if (isOriginAutomatic(origin)) { in setSystemClockUnderWakeLock()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
D | Rectangle.java | 38 public Rectangle(Point origin, Point size) { in Rectangle() argument 39 super(origin, in Rectangle() 40 origin.plus(size.x, 0.0f), in Rectangle() 41 origin.plus(0.0f, size.y), in Rectangle() 42 origin.plus(size.x, size.y)); in Rectangle()
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
D | TimeZoneDetectorStrategyImpl.java | 309 @Origin int origin, @NonNull String newZoneId, @NonNull String cause) { in setDeviceTimeZoneIfRequired() 313 boolean isOriginAutomatic = isOriginAutomatic(origin); in setDeviceTimeZoneIfRequired() 318 + " origin=" + origin in setDeviceTimeZoneIfRequired() 328 + " origin=" + origin in setDeviceTimeZoneIfRequired() 345 + " origin=" + origin in setDeviceTimeZoneIfRequired() 354 + " origin=" + origin in setDeviceTimeZoneIfRequired() 364 private static boolean isOriginAutomatic(@Origin int origin) { in isOriginAutomatic() argument 365 return origin != ORIGIN_MANUAL; in isOriginAutomatic()
|
/frameworks/ml/nn/tools/test_generator/ |
D | test_generator.py | 859 def __init__(self, origin, target, dim, drop=[], name=None): argument 861 self.origin = origin 863 assert all(i >= -dim and i < dim for i in [self.origin, self.target]) 866 self.perm.insert(target if target >= 0 else target + dim, self.perm.pop(origin)) 1131 origin = None 1135 origin = arg.value[0] 1142 origin = dim - 1 if origin is None else origin 1143 origin = origin + dim if origin < 0 else origin 1144 return origin, dim 1147 origin, dim = self.GuessOriginalAxisAndDim(*args) [all …]
|
D | README.md | 271 example.AddVariations(*[AxisConverter(origin, t, dim).Identify(op_list) for t in targets]) 275 AxisConverter(origin, t, dim).Identify(op_list) for t in range(dim) 280 AxisConverter(origin, t, dim).Identify(op_list) for t in range(-dim, dim) 285 drop.pop(origin) 287 AxisConverter(origin, origin, dim, drop[0:(dim-i)]).Identify(op_list) for i in dims]) 291 AxisConverter(origin, origin, dim, drop[0:i]).Identify(op_list) for i in range(dim)]) 295 AxisConverter(origin, j, dim, range(i)).Identify(op_list) \ 301 AxisConverter(origin, k, dim, range(i)).Identify(op_list) \
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreSecretKeyFactorySpi.java | 90 @KeyProperties.OriginEnum int origin; in getKeyInfo() local 103 origin = KeyProperties.Origin.fromKeymaster( in getKeyInfo() 107 origin = KeyProperties.Origin.fromKeymaster( in getKeyInfo() 197 origin, in getKeyInfo()
|
D | KeyInfo.java | 92 @KeyProperties.OriginEnum int origin, in KeyInfo() argument 111 mOrigin = origin; in KeyInfo()
|
D | KeyProperties.java | 706 public static @OriginEnum int fromKeymaster(int origin) { in fromKeymaster() argument 707 switch (origin) { in fromKeymaster() 717 throw new IllegalArgumentException("Unknown origin: " + origin); in fromKeymaster()
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | vignette_approx_f.rsh | 48 // Convert x and y to floating point coordinates with center as origin
|
D | vignette_f.rsh | 48 // Convert x and y to floating point coordinates with center as origin
|
D | fisheye_approx_f.rsh | 48 // Convert x and y to floating point coordinates with center as origin
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | vignette.rsh | 48 // Convert x and y to floating point coordinates with center as origin
|
D | fisheye.rsh | 46 // Convert x and y to floating point coordinates with center as origin
|
D | vignette_approx.rsh | 48 // Convert x and y to floating point coordinates with center as origin
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | fisheye.rsh | 46 // Convert x and y to floating point coordinates with center as origin
|
D | vignette_approx.rsh | 48 // Convert x and y to floating point coordinates with center as origin
|
D | vignette.rsh | 48 // Convert x and y to floating point coordinates with center as origin
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | vignette_approx.rsh | 48 // Convert x and y to floating point coordinates with center as origin
|
D | vignette.rsh | 48 // Convert x and y to floating point coordinates with center as origin
|