/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TransactionFactory.java | 19 import android.view.SurfaceControl.Transaction;
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | Display_Delegate.java | 17 package android.view;
|
H A D | ViewRootImpl_Accessor.java | 17 package android.view;
|
H A D | ViewRootImpl_Delegate.java | 17 package android.view;
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
H A D | WindowManagerImpl.java | 16 package com.android.layoutlib.bridge.android.view; 20 import android.view.Display; 21 import android.view.Display.Mode; 22 import android.view.DisplayAdjustments; 23 import android.view.DisplayInfo; 24 import android.view.View; 25 import android.view.WindowManager; 52 public void addView(View arg0, android.view.ViewGroup.LayoutParams arg1) { 62 public void updateViewLayout(View arg0, android.view.ViewGroup.LayoutParams arg1) {
|
/frameworks/support/compat/src/main/java/androidx/core/view/ |
H A D | MenuCompat.java | 17 package androidx.core.view; 20 import android.view.Menu; 21 import android.view.MenuItem; 23 import androidx.core.internal.view.SupportMenu; 27 * Helper for accessing features in {@link android.view.Menu}.
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | ListViewActivity.java | 20 import android.view.LayoutInflater; 21 import android.view.View; 22 import android.view.ViewGroup; 58 public View getView(int i, View view, ViewGroup viewGroup) { 59 // this is just a demo, so not using view holders 60 if (view == null) { 61 view = LayoutInflater.from(viewGroup.getContext()).inflate( 64 TextView title = (TextView) view.findViewById(R.id.title); 65 TextView subtitle = (TextView) view.findViewById(R.id.subtitle); 68 return view; [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/media/ |
H A D | SurfaceHolderGlueHost.java | 19 import android.view.SurfaceHolder; 23 * a {@link android.view.SurfaceView}. This will allow subclass of {@link PlaybackGlue} to setup
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | RoundedRectHelperApi21.java | 18 import android.view.View; 19 import android.view.ViewOutlineProvider; 38 public void getOutline(View view, Outline outline) { argument 39 outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), mRadius); 44 public static void setClipToRoundedOutline(View view, boolean clip, int roundedCornerRadius) { argument 56 view.setOutlineProvider(provider); 58 view.setOutlineProvider(ViewOutlineProvider.BACKGROUND); 60 view.setClipToOutline(clip);
|
H A D | FocusHighlightHelper.java | 25 import android.view.View; 26 import android.view.ViewParent; 27 import android.view.animation.AccelerateDecelerateInterpolator; 28 import android.view.animation.Interpolator; 84 FocusAnimator(View view, float scale, boolean useDimmer, int duration) { argument 85 mView = view; 88 if (view instanceof ShadowOverlayContainer) { 89 mWrapper = (ShadowOverlayContainer) view; 95 mDimmer = ColorOverlayDimmer.createDefault(view.getContext()); 166 public void onItemFocused(View view, boolea argument 172 onInitializeView(View view) argument 176 getOrCreateAnimator(View view) argument 274 lazyInit(View view) argument 293 HeaderFocusAnimator(View view, float scale, int duration) argument 321 viewFocused(View view, boolean hasFocus) argument 333 onItemFocused(View view, boolean hasFocus) argument 338 onInitializeView(View view) argument [all...] |
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
H A D | OnContextClickListener.java | 19 import android.view.MotionEvent;
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | ListViewActivity.java | 20 import android.view.LayoutInflater; 21 import android.view.View; 22 import android.view.ViewGroup; 58 public View getView(int i, View view, ViewGroup viewGroup) { 59 // this is just a demo, so not using view holders 60 if (view == null) { 61 view = LayoutInflater.from(viewGroup.getContext()).inflate( 64 TextView title = (TextView) view.findViewById(R.id.title); 65 TextView subtitle = (TextView) view.findViewById(R.id.subtitle); 68 return view; [all...] |
/frameworks/support/transition/src/main/java/androidx/transition/ |
H A D | ViewOverlayApi18.java | 20 import android.view.View; 21 import android.view.ViewOverlay; 31 ViewOverlayApi18(@NonNull View view) { argument 32 mViewOverlay = view.getOverlay();
|
H A D | ViewUtilsApi19.java | 20 import android.view.View; 39 public void setTransitionAlpha(@NonNull View view, float alpha) { argument 43 sSetTransitionAlphaMethod.invoke(view, alpha); 50 view.setAlpha(alpha); 55 public float getTransitionAlpha(@NonNull View view) { argument 59 return (Float) sGetTransitionAlphaMethod.invoke(view); 66 return super.getTransitionAlpha(view); 70 public void saveNonTransitionAlpha(@NonNull View view) { argument 75 public void clearNonTransitionAlpha(@NonNull View view) { argument
|
H A D | VisibilityPropagation.java | 19 import android.view.View; 28 * The property key used for {@link android.view.View#getVisibility()}. 45 View view = values.view; 48 visibility = view.getVisibility(); 52 view.getLocationOnScreen(loc); 53 loc[0] += Math.round(view.getTranslationX()); 54 loc[0] += view.getWidth() / 2; 55 loc[1] += Math.round(view.getTranslationY()); 56 loc[1] += view [all...] |
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/ |
H A D | FragmentContentIdActivity.java | 19 import android.view.LayoutInflater; 20 import android.view.View; 21 import android.view.ViewGroup; 56 View view = new View(getContext()); 57 view.setId(R.id.fragment_a); 58 return view; 67 View view = new View(getContext()); 68 view.setId(R.id.fragment_b); 69 return view;
|
/frameworks/base/core/java/android/view/ |
H A D | ViewStub.java | 17 package android.view; 37 * Therefore, the ViewStub exists in the view hierarchy until {@link #setVisibility(int)} or 121 * Returns the id taken by the inflated view. If the inflated id is 122 * {@link View#NO_ID}, the inflated view keeps its original id. 124 * @return A positive integer used to identify the inflated view or 125 * {@link #NO_ID} if the inflated view should keep its id. 136 * Defines the id taken by the inflated view. If the inflated id is 137 * {@link View#NO_ID}, the inflated view keeps its original id. 139 * @param inflatedId A positive integer used to identify the inflated view or 140 * {@link #NO_ID} if the inflated view shoul 277 replaceSelfWithView(View view, ViewGroup parent) argument 351 public final View view; field in class:ViewStub.ViewReplaceRunnable 353 ViewReplaceRunnable(View view) argument [all...] |
/frameworks/support/leanback/api21/androidx/leanback/transition/ |
H A D | FadeAndShortSlide.java | 31 import android.view.Gravity; 32 import android.view.View; 33 import android.view.ViewGroup; 34 import android.view.animation.DecelerateInterpolator; 62 /** Returns the translation X value for view when it goes out of the scene */ 63 float getGoneX(FadeAndShortSlide t, ViewGroup sceneRoot, View view, int[] position) { argument 64 return view.getTranslationX(); 67 /** Returns the translation Y value for view when it goes out of the scene */ 68 float getGoneY(FadeAndShortSlide t, ViewGroup sceneRoot, View view, int[] position) { argument 69 return view 224 onAppear(ViewGroup sceneRoot, View view, TransitionValues startValues, TransitionValues endValues) argument 255 onDisappear(ViewGroup sceneRoot, View view, TransitionValues startValues, TransitionValues endValues) argument [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | ListenerTest.java | 21 import android.view.View; 45 View view = mBinder.click1; 47 view.callOnClick(); 53 View view = mBinder.click2; 55 view.callOnClick(); 61 View view = mBinder.click3; 63 view.callOnClick(); 65 assertTrue(view.isClickable()); 69 assertFalse(view.isClickable()); 72 assertFalse(view [all...] |
H A D | ListenerWithDotTest.java | 24 import android.view.View; 48 View view = mBinder.click1; 50 view.callOnClick(); 56 View view = mBinder.click2; 58 view.callOnClick(); 64 View view = mBinder.click3; 66 view.callOnClick(); 68 assertTrue(view.isClickable()); 72 assertFalse(view.isClickable()); 75 assertFalse(view [all...] |
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/widget/ |
H A D | ToastTest.kt | 20 import android.view.View 21 import android.view.ViewGroup 25 import androidx.core.view.forEach 26 import androidx.core.view.isVisible 39 assertTrue(containsText(toast.view, "Short Toast")) 40 assertTrue(toast.view.isVisible) 47 assertTrue(containsText(toast.view, "Long Toast")) 48 assertTrue(toast.view.isVisible) 55 assertTrue(containsText(toast.view, context.getString(R.string.text))) 56 assertTrue(toast.view [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
H A D | DividerWindowManager.java | 22 import android.view.View; 23 import android.view.WindowManager; 25 import static android.view.WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE; 26 import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; 27 import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL; 28 import static android.view.WindowManager.LayoutParams.FLAG_SLIPPERY; 29 import static android.view.WindowManager.LayoutParams.FLAG_SPLIT_TOUCH; 30 import static android.view.WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH; 31 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS; 32 import static android.view 50 add(View view, int width, int height) argument [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/ |
H A D | MultiArgTestAdapter.java | 20 import android.view.View; 44 public static void setBoth(TextView view, MultiBindingClass1 class1, argument 46 view.setText(join(class1, class2)); 50 public static void setBoth(TextView view, String str1, argument 52 view.setText(join(str1, str2)); 56 public static void setClass1(TextView view, MultiBindingClass1 class1) { argument 57 view.setText(class1.getValue()); 61 public static void setClassStr(TextView view, String str) { argument 62 view.setText(str); 66 public static void setClass2(TextView view, MultiBindingClass argument 71 setWithOldValue(TextView view, String oldValue, String newValue) argument 76 set2WithOldValues(TextView view, String oldValue1, String oldValue2, String newValue1, String newValue2) argument [all...] |
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/view/ |
H A D | ViewPagerActivity.java | 17 package com.example.android.supportv4.view; 23 import android.view.View; 24 import android.view.ViewGroup; 70 final View view = new View(container.getContext()); 71 view.setBackgroundColor(mEntries.get(position).second); 74 // for adding the view to the container. 75 container.addView(view); 77 return new ViewHolder(view, position); 82 // The adapter is also responsible for removing the view. 83 container.removeView(((ViewHolder) object).view); 92 isViewFromObject(View view, Object object) argument 102 final View view; field in class:ViewPagerActivity.ColorPagerAdapter.ViewHolder 105 ViewHolder(View view, int position) argument [all...] |
/frameworks/support/preference/src/main/java/androidx/preference/ |
H A D | CheckBoxPreference.java | 24 import android.view.View; 25 import android.view.accessibility.AccessibilityManager; 105 protected void performClick(View view) { argument 106 super.performClick(view); 107 syncViewIfAccessibilityEnabled(view); 110 private void syncViewIfAccessibilityEnabled(View view) { argument 117 View checkboxView = view.findViewById(android.R.id.checkbox); 120 View summaryView = view.findViewById(android.R.id.summary); 124 private void syncCheckboxView(View view) { argument 125 if (view instanceo [all...] |