Home
last modified time | relevance | path

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

12345678

/frameworks/base/core/java/android/webkit/
DWebStorage.java64 protected Origin(String origin, long quota, long usage) { in Origin() argument
65 mOrigin = origin; in Origin()
136 public void getUsageForOrigin(String origin, ValueCallback<Long> callback) { in getUsageForOrigin() argument
146 public void getQuotaForOrigin(String origin, ValueCallback<Long> callback) { in getQuotaForOrigin() argument
157 public void setQuotaForOrigin(String origin, long quota) { in setQuotaForOrigin() argument
165 public void deleteOrigin(String origin) { in deleteOrigin() argument
DGeolocationPermissions.java62 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
DWebChromeClient.java406 public void onGeolocationPermissionsShowPrompt(String origin, in onGeolocationPermissionsShowPrompt() argument
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DScrollViewButtonsAndLabelsTest.java48 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()
DRequestRectangleVisibleTest.java201 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/
DViewAsserts.java44 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/
DTimeDetectorStrategyImpl.java453 for (int origin : originPriorities) { in doAutoTimeDetection()
456 if (origin == ORIGIN_TELEPHONY) { in doAutoTimeDetection()
464 } else if (origin == ORIGIN_NETWORK) { in doAutoTimeDetection()
472 } else if (origin == ORIGIN_GNSS) { in doAutoTimeDetection()
480 } else if (origin == ORIGIN_EXTERNAL) { in doAutoTimeDetection()
489 Slog.w(LOG_TAG, "Unknown or unsupported origin=" + origin in doAutoTimeDetection()
496 setSystemClockIfRequired(origin, newUnixEpochTime, cause); in doAutoTimeDetection()
671 @Origin int origin, @NonNull TimestampedValue<Long> time, @NonNull String cause) { in setSystemClockIfRequired()
673 boolean isOriginAutomatic = isOriginAutomatic(origin); in setSystemClockIfRequired()
678 + " origin=" + originToString(origin) in setSystemClockIfRequired()
[all …]
DTimeDetectorStrategy.java108 static String originToString(@Origin int origin) { in originToString() argument
109 switch (origin) { in originToString()
121 throw new IllegalArgumentException("origin=" + origin); in originToString()
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DRectangle.java38 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/libs/hwui/hwui/
DImageDecoder.cpp319 if (auto origin = mCodec->codec()->getOrigin(); origin != kDefault_SkEncodedOrigin) { in getCurrentFrameInfo() local
320 if (SkEncodedOriginSwapsWidthHeight(origin)) { in getCurrentFrameInfo()
323 auto matrix = SkEncodedOriginToMatrix(origin, dims.width(), dims.height()); in getCurrentFrameInfo()
403 const auto origin = mCodec->codec()->getOrigin(); in decode() local
404 const bool handleOrigin = origin != kDefault_SkEncodedOrigin; in decode()
414 outputMatrix.preConcat(SkEncodedOriginToMatrix(origin, targetWidth, targetHeight)); in decode()
415 if (SkEncodedOriginSwapsWidthHeight(origin)) { in decode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthRippleView.kt72 dwellShader.origin = value in <lambda>()
80 private var origin: Point = Point() in <lambda>() variable
102 origin = location in <lambda>()
107 origin = location in <lambda>()
342 canvas?.drawCircle(origin.x.toFloat(), origin.y.toFloat(), in <lambda>()
DDwellRippleShader.kt97 var origin: Point = Point() variable in com.android.systemui.biometrics.DwellRippleShader
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DViewHierarchyAnimator.kt174 origin: Hotspot = Hotspot.CENTER, in <lambda>()
196 origin, in <lambda>()
250 origin: Hotspot, in <lambda>()
260 origin = origin, in <lambda>()
280 origin: Hotspot? = null, in <lambda>()
315 origin, in <lambda>()
622 origin: Hotspot?, in <lambda>()
643 if (origin != null) { in <lambda>()
645 when (origin) { in <lambda>()
657 when (origin) { in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DViewHierarchyAnimatorTest.kt287 origin = ViewHierarchyAnimator.Hotspot.CENTER in animatesAppearingViewsRespectingOrigin()
300 origin = ViewHierarchyAnimator.Hotspot.LEFT in animatesAppearingViewsRespectingOrigin()
313 origin = ViewHierarchyAnimator.Hotspot.TOP_LEFT in animatesAppearingViewsRespectingOrigin()
326 origin = ViewHierarchyAnimator.Hotspot.TOP in animatesAppearingViewsRespectingOrigin()
339 origin = ViewHierarchyAnimator.Hotspot.TOP_RIGHT in animatesAppearingViewsRespectingOrigin()
352 origin = ViewHierarchyAnimator.Hotspot.RIGHT in animatesAppearingViewsRespectingOrigin()
365 origin = ViewHierarchyAnimator.Hotspot.BOTTOM_RIGHT in animatesAppearingViewsRespectingOrigin()
378 origin = ViewHierarchyAnimator.Hotspot.BOTTOM in animatesAppearingViewsRespectingOrigin()
391 origin = ViewHierarchyAnimator.Hotspot.BOTTOM_LEFT in animatesAppearingViewsRespectingOrigin()
407 origin = ViewHierarchyAnimator.Hotspot.CENTER, in animatesAppearingViewsRespectingMargins()
[all …]
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreSecretKeyFactorySpi.java78 @KeyProperties.OriginEnum int origin = -1; in getKeyInfo() local
106 origin = KeyProperties.Origin.fromKeymaster( in getKeyInfo()
217 if (origin == -1) { in getKeyInfo()
243 origin, in getKeyInfo()
/frameworks/base/keystore/java/android/security/keystore/
DKeyInfo.java95 @KeyProperties.OriginEnum int origin, in KeyInfo() argument
117 mOrigin = origin; in KeyInfo()
DKeyProperties.java767 public static @OriginEnum int fromKeymaster(int origin) { in fromKeymaster() argument
768 switch (origin) { in fromKeymaster()
778 throw new IllegalArgumentException("Unknown origin: " + origin); in fromKeymaster()
/frameworks/base/services/core/java/com/android/server/pm/
DMovePackageHelper.java290 final OriginInfo origin = OriginInfo.fromExistingFile(codeFile); in movePackageInternal() local
293 new File(origin.mResolvedPath), /* flags */ 0); in movePackageInternal()
295 final InstallParams params = new InstallParams(origin, move, installObserver, installFlags, in movePackageInternal()
/frameworks/av/media/libheadtracking/
DREADME.md89 This is the listener’s head. The origin is at the center point between the
99 origin is at the center of the screen. X-axis goes from left to right, Z-axis
110 multi-channel scenario, the listener is at the origin, the X-axis goes from left
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dvignette_approx_f.rsh48 // Convert x and y to floating point coordinates with center as origin
Dvignette_f.rsh48 // Convert x and y to floating point coordinates with center as origin
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dvignette_approx.rsh48 // Convert x and y to floating point coordinates with center as origin
Dvignette.rsh48 // Convert x and y to floating point coordinates with center as origin
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dvignette.rsh48 // Convert x and y to floating point coordinates with center as origin
Dfisheye_approx.rsh46 // Convert x and y to floating point coordinates with center as origin

12345678