Searched refs:target (Results 476 - 500 of 645) sorted by relevance

<<11121314151617181920>>

/frameworks/support/compat/src/main/java/androidx/core/widget/
H A DAutoScrollHelper.java78 * larger of either this value or the relative target value. Default value is
176 /** Whether to send a cancel motion event to the target view. */
200 * Creates a new helper for scrolling the specified target view.
203 * should be set as a touch listener on the target view.
208 * @param target The view to automatically scroll.
210 public AutoScrollHelper(@NonNull View target) { argument
211 mTarget = target;
253 * By default, exclusive handling is disabled and the target view receives
260 * false to allow the target view to receive all touch events.
321 * Sets the target scrollin
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageRenderer.java599 RectF target = mTargetRect;
600 target.set(x, y, x + length, y + length);
618 if (drawTile(tile, canvas, source, target)) {
628 canvas.drawTexture(mPreview, source, target);
633 Tile tile, GLCanvas canvas, RectF source, RectF target) {
636 canvas.drawTexture(tile, source, target);
632 drawTile( Tile tile, GLCanvas canvas, RectF source, RectF target) argument
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DExprModel.java248 public MethodCallExpr methodCall(Expr target, String name, List<Expr> args) { argument
249 return register(new MethodCallExpr(target, name, args));
276 public Expr resourceExpr(BindingTarget target, String packageName, String resourceType, argument
278 return register(new ResourceExpr(target, packageName, resourceType, resourceName, args));
325 * The actual thingy that is set on the binding target.
691 public FieldAssignmentExpr assignment(Expr target, String name, Expr value) { argument
692 return register(new FieldAssignmentExpr(target, name, value));
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp977 ALOGD("Dropping event delivery to target with channel '%s' because it "
1104 // Reset input target wait timeout.
1238 /* Case 1: New splittable pointer going down, or need target for hover or scroll. */
1298 // Set target flags.
1613 InputTarget& target = inputTargets.editTop(); local
1614 target.inputChannel = windowInfo->inputChannel;
1615 target.flags = targetFlags;
1616 target.xOffset = - windowInfo->frameLeft;
1617 target.yOffset = - windowInfo->frameTop;
1618 target
1626 InputTarget& target = inputTargets.editTop(); local
2292 InputTarget target; local
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityStack.java1094 void findTaskLocked(ActivityRecord target, FindTaskResult result) { argument
1095 Intent intent = target.intent;
1096 ActivityInfo info = target.info;
1106 if (DEBUG_TASKS) Slog.d(TAG_TASKS, "Looking for task of " + target + " in " + this);
1127 if (!r.hasCompatibleActivityType(target)) {
1174 if (task.rootAffinity.equals(target.taskAffinity)) {
2953 // If the caller has requested that the target task be
3048 ActivityRecord target = activities.get(i);
3049 if (target.frontOfTask)
3052 final int flags = target
[all...]
/frameworks/base/core/java/android/provider/
H A DContactsContract.java1183 * sense for its target market.
1203 * its target market.
8501 public static Intent composeQuickContactsIntent(Context context, View target, Uri lookupUri, argument
8503 // Find location and bounds of target view, adjusting based on the
8507 target.getLocationOnScreen(pos);
8512 rect.right = (int) ((pos[0] + target.getWidth()) * appScale + 0.5f);
8513 rect.bottom = (int) ((pos[1] + target.getHeight()) * appScale + 0.5f);
8522 public static Intent composeQuickContactsIntent(Context context, Rect target, argument
8541 intent.setSourceBounds(target);
8589 * @param target Specifi
8606 showQuickContact(Context context, View target, Uri lookupUri, int mode, String[] excludeMimes) argument
8642 showQuickContact(Context context, Rect target, Uri lookupUri, int mode, String[] excludeMimes) argument
8676 showQuickContact(Context context, View target, Uri lookupUri, String[] excludeMimes, String prioritizedMimeType) argument
8716 showQuickContact(Context context, Rect target, Uri lookupUri, String[] excludeMimes, String prioritizedMimeType) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DScrollView.java960 * the focusable is in the target area, it is a candidate for
1697 public boolean onStartNestedScroll(View child, View target, int nestedScrollAxes) { argument
1702 public void onNestedScrollAccepted(View child, View target, int axes) { argument
1703 super.onNestedScrollAccepted(child, target, axes);
1711 public void onStopNestedScroll(View target) { argument
1712 super.onStopNestedScroll(target);
1716 public void onNestedScroll(View target, int dxConsumed, int dyConsumed, argument
1729 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument
H A DDatePickerSpinnerDelegate.java624 View target = root.findViewById(viewId);
625 if (target != null) {
626 target.setContentDescription(mContext.getString(contDescResId));
H A DTimePickerSpinnerDelegate.java572 View target = root.findViewById(viewId);
573 if (target != null) {
574 target.setContentDescription(mContext.getString(contDescResId));
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerSession.java591 final File target = new File(resolveStageDirLocked(), markerName);
592 target.createNewFile();
593 Os.chmod(target.getAbsolutePath(), 0 /*mode*/);
648 final File target;
651 target = new File(stageDir, name);
658 final FileDescriptor targetFd = Os.open(target.getAbsolutePath(),
660 Os.chmod(target.getAbsolutePath(), 0644);
742 final File target = new File(resolveStageDirLocked(), name);
743 final FileDescriptor targetFd = Os.open(target.getAbsolutePath(), O_RDONLY, 0);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES31.cpp503 /* void glFramebufferParameteri ( GLenum target, GLenum pname, GLint param ) */
506 (JNIEnv *_env, jobject _this, jint target, jint pname, jint param) {
508 (GLenum)target,
514 /* void glGetFramebufferParameteriv ( GLenum target, GLenum pname, GLint *params ) */
517 (JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) {
543 (GLenum)target,
558 /* void glGetFramebufferParameteriv ( GLenum target, GLenum pname, GLint *params ) */
561 (JNIEnv *_env, jobject _this, jint target, jint pname, jobject params_buf) {
582 (GLenum)target,
3252 /* void glGetBooleani_v ( GLenum target, GLuin
505 android_glFramebufferParameteri__III(JNIEnv *_env, jobject _this, jint target, jint pname, jint param) argument
516 android_glGetFramebufferParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
560 android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint target, jint pname, jobject params_buf) argument
3254 android_glGetBooleani_v__II_3ZI(JNIEnv *_env, jobject _this, jint target, jint index, jbooleanArray data_ref, jint offset) argument
3298 android_glGetBooleani_v__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint target, jint index, jobject data_buf) argument
3354 android_glTexStorage2DMultisample__IIIIIZ(JNIEnv *_env, jobject _this, jint target, jint samples, jint internalformat, jint width, jint height, jboolean fixedsamplelocations) argument
3460 android_glGetTexLevelParameteriv__III_3II(JNIEnv *_env, jobject _this, jint target, jint level, jint pname, jintArray params_ref, jint offset) argument
3505 android_glGetTexLevelParameteriv__IIILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint pname, jobject params_buf) argument
3544 android_glGetTexLevelParameterfv__III_3FI(JNIEnv *_env, jobject _this, jint target, jint level, jint pname, jfloatArray params_ref, jint offset) argument
3589 android_glGetTexLevelParameterfv__IIILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint pname, jobject params_buf) argument
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsCollection.java320 // Scale all matching buckets to reach anchor target
415 NetworkStatsHistory target = mStats.get(key);
416 if (target == null) {
417 target = new NetworkStatsHistory(history.getBucketDuration());
418 mStats.put(key, target);
420 target.recordEntireHistory(history);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DOwners.java309 void transferProfileOwner(ComponentName target, int userId) { argument
312 final OwnerInfo newOwnerInfo = new OwnerInfo(target.getPackageName(), target,
321 void transferDeviceOwnership(ComponentName target) { argument
325 mDeviceOwner = new OwnerInfo(null, target,
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DBaseStaggeredGridLayoutManagerTest.java253 final int target;
257 target = tailTarget;
260 target = headTarget;
265 config + " target:" + target + " min:" + minPosition + ", max:" + maxPosition);
267 return new TargetTuple(target, itemLayoutDirection);
H A DBaseWrapContentTest.java410 LongSparseArray<String> target,
414 assertNull(target.get(id));
415 target.put(id, log(base));
409 collectInto( LongSparseArray<String> target, List<? extends BaseRecyclerViewAnimationsTest.AnimateLogBase> list) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayContent.java194 // on the IME target. We mainly have this container grouping so we can keep track of all the IME
394 * Specifies the count to determine whether to defer updating the IME target until ready.
676 // This is the wallpaper target and its obscured state changed... make sure the
706 "First draw done in potential wallpaper target " + w);
1644 * rather than directly above their target.
1657 // target, or here in order if there isn't an IME target.
2176 // For rotations without Z-ordering we don't need the target rectangle's position.
2464 * Determine and return the window that should be the IME target.
2465 * @param updateImeTarget If true the system IME target wil
2575 setInputMethodTarget(WindowState target, boolean targetWaitingAnim) argument
[all...]
H A DRecentsAnimationController.java290 // Adjust the wallpaper visibility for the showing target activity
343 final RemoteAnimationTarget target = taskAdapter.createRemoteAnimationApp();
344 if (target != null) {
345 appAnimations.add(target);
441 // We have deferred all notifications to the target app as a part of the recents animation,
499 // Update the input consumer touchable region to match the target app main window
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipTouchHandler.java88 // The reference bounds used to calculate the normal/expanded target bounds
357 // get the final TOUCH_UP event, so clean up the dismiss target as well
450 final float target = mInsetBounds.bottom;
452 if (bounds.bottom > target) {
453 final float distance = bounds.bottom - target;
670 // Clean up the dismiss target regardless of the touch state in case the touch
793 * Removes the dismiss target and cancels any pending callbacks to show it.
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp381 const GLenum target = GL_TEXTURE_EXTERNAL_OES; local
383 glBindTexture(target, texName);
385 glEGLImageTargetTexture2DOES(target, static_cast<GLeglImageOES>(image.getEGLImage()));
/frameworks/rs/script_api/
H A DSpecification.h143 /* Return true if the target can be found whitin the range. */
144 bool includesVersion(unsigned int target) const {
145 return (minVersion == 0 || target >= minVersion) &&
146 (maxVersion == 0 || target <= maxVersion);
/frameworks/support/compat/src/main/java/androidx/core/graphics/
H A DPathParser.java133 * @param nodesTo The target path represented in an array of PathDataNode
155 * Update the target's data to match the source.
156 * Before calling this, make sure canMorph(target, source) is true.
158 * @param target The target path represented in an array of PathDataNode
161 public static void updateNodes(PathDataNode[] target, PathDataNode[] source) { argument
163 target[i].mType = source[i].mType;
165 target[i].mParams[j] = source[i].mParams[j];
334 * @param path The target Path object.
692 * @param p The target fo
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DBoundsAnimationControllerTests.java57 * F->!F, !F->!F, and !F->F. Each animation can only be cancelled from the target mid-transition,
58 * or if a new animation starts on the same target. The tests below verifies that the target is
207 TestBoundsAnimationTarget target) {
209 mTarget = target;
206 BoundsAnimationDriver(BoundsAnimationController controller, TestBoundsAnimationTarget target) argument
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
H A DBaseCompilationTest.java88 File target = new File(testFolder, targetPath);
96 copyResourceTo(name + "/" + resourcePath, new File(target, resourcePath));
/frameworks/data-binding/compilerCommon/
H A DBindingExpression.g471 | target=expression '.' methodName=Identifier '(' args=expressionList? ')' # MethodInvocation
/frameworks/native/libs/binder/tests/
H A DbinderDriverInterfaceTest.cpp240 .target = { 0 },
285 EXPECT_EQ(0u, br.arg2.target.ptr);

Completed in 824 milliseconds

<<11121314151617181920>>