Home
last modified time | relevance | path

Searched defs:view (Results 1 – 25 of 962) sorted by relevance

12345678910>>...39

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DCachingIconViewTest.java52 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in invalidIcon_skipsLoadSuccessfully() local
61 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageIcon_skipsResizeSuccessfully() local
70 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageIconAsync_skipsResizeSuccessfully() local
79 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageResource_skipsResizeSuccessfully() local
88 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageResourceAsync_skipsResizeSuccessfully() local
97 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageUri_skipsResizeSuccessfully() local
108 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageUriAsync_skipsResizeSuccessfully() local
119 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in maxDrawableDimensionsSet_setImageIcon_resizesImageIcon() local
128 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in maxDrawableWithNoDimensionsSet_setImageIcon_doesNotResizeImageIcon() local
137 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in maxDrawableDimensionsSet_setImageIconAsync_resizesImageIcon() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/view/
DModernStatusBarViewTest.kt41 val view = ModernStatusBarView(context, null) in initView_hasCorrectSlot() constant
51 val view = createAndInitView() in getVisibleState_icon_returnsIcon() constant
60 val view = createAndInitView() in getVisibleState_dot_returnsDot() constant
69 val view = createAndInitView() in getVisibleState_hidden_returnsHidden() constant
78 val view = createAndInitView() in onDarkChanged_bindingReceivesIconAndDecorTint() constant
88 val view = createAndInitView() in setStaticDrawableColor_bindingReceivesIconTint() constant
97 val view = createAndInitView() in setDecorColor_bindingReceivesDecorColor() constant
106 val view = createAndInitView() in isIconVisible_usesBinding_true() constant
115 val view = createAndInitView() in isIconVisible_usesBinding_false() constant
124 val view = createAndInitView() in getDrawingRect_takesTranslationIntoAccount() constant
[all …]
/frameworks/base/core/java/android/webkit/
DWebViewClient.java57 public boolean shouldOverrideUrlLoading(WebView view, String url) { in shouldOverrideUrlLoading()
82 public boolean shouldOverrideUrlLoading(WebView view, WebResourceRequest request) { in shouldOverrideUrlLoading()
100 public void onPageStarted(WebView view, String url, Bitmap favicon) { in onPageStarted()
114 public void onPageFinished(WebView view, String url) { in onPageFinished()
124 public void onLoadResource(WebView view, String url) { in onLoadResource()
154 public void onPageCommitVisible(WebView view, String url) { in onPageCommitVisible()
191 public WebResourceResponse shouldInterceptRequest(WebView view, in shouldInterceptRequest()
227 public WebResourceResponse shouldInterceptRequest(WebView view, in shouldInterceptRequest()
245 public void onTooManyRedirects(WebView view, Message cancelMsg, in onTooManyRedirects()
324 public void onReceivedError(WebView view, int errorCode, in onReceivedError()
[all …]
DWebChromeClient.java36 public void onProgressChanged(WebView view, int newProgress) {} in onProgressChanged()
43 public void onReceivedTitle(WebView view, String title) {} in onReceivedTitle()
50 public void onReceivedIcon(WebView view, Bitmap icon) {} in onReceivedIcon()
58 public void onReceivedTouchIconUrl(WebView view, String url, in onReceivedTouchIconUrl()
96 public void onShowCustomView(View view, CustomViewCallback callback) {}; in onShowCustomView()
110 public void onShowCustomView(View view, int requestedOrientation, in onShowCustomView()
164 public boolean onCreateWindow(WebView view, boolean isDialog, in onCreateWindow()
175 public void onRequestFocus(WebView view) {} in onRequestFocus()
218 public boolean onJsAlert(WebView view, String url, String message, in onJsAlert()
256 public boolean onJsConfirm(WebView view, String url, String message, in onJsConfirm()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/dagger/
DStatusBarFragmentModule.java65 static BatteryMeterView provideBatteryMeterView(@RootView PhoneStatusBarView view) { in provideBatteryMeterView()
73 static View startSideContent(@RootView PhoneStatusBarView view) { in startSideContent()
81 static View endSideContent(@RootView PhoneStatusBarView view) { in endSideContent()
89 static View provideLightsOutNotifView(@RootView PhoneStatusBarView view) { in provideLightsOutNotifView()
97 static View provideOperatorNameView(@RootView PhoneStatusBarView view) { in provideOperatorNameView()
105 static Optional<View> provideOperatorFrameNameView(@RootView PhoneStatusBarView view) { in provideOperatorFrameNameView()
112 static Clock provideClock(@RootView PhoneStatusBarView view) { in provideClock()
119 static StatusBarUserSwitcherContainer provideStatusBarUserSwitcherContainer( in provideStatusBarUserSwitcherContainer()
137 static PhoneStatusBarTransitions providePhoneStatusBarTransitions( in providePhoneStatusBarTransitions()
147 static HeadsUpStatusBarView providesHeasdUpStatusBarView(@RootView PhoneStatusBarView view) { in providesHeasdUpStatusBarView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/animation/
DUnfoldMoveFromCenterAnimatorTest.kt59 val view = createView(x = 20, width = 10, height = 10) in testRegisterViewOnTheLeftOfVerticalFold_halfProgress_viewTranslatedToTheRight() constant
75 val view = createView(x = 20, width = 10, height = 10) in testRegisterViewOnTheLeftOfVerticalFold_zeroProgress_viewTranslatedToTheRight() constant
91 val view = createView(x = 20, width = 10, height = 10) in testRegisterViewOnTheLeftOfVerticalFold_fullProgress_viewTranslatedToTheOriginalPosition() constant
107 val view = createView(x = 20, width = 10, height = 10, translationX = 100f) in testViewOnTheLeftOfVerticalFoldWithTranslation_halfProgress_viewTranslatedToTheRight() constant
123 val view = createView(x = 20, width = 10, height = 10) in testRegisterViewAndUnregister_halfProgress_viewIsNotUpdated() constant
136 val view = createView(x = 20, width = 10, height = 10) in testRegisterViewUpdateProgressAndUnregister_halfProgress_viewIsNotUpdated() constant
150 val view = createView(y = 20, width = 10, height = 10) in testRegisterViewOnTheTopOfHorizontalFold_halfProgress_viewTranslatedToTheBottom() constant
163 val view = createView(x = 20) in testUpdateViewPositions_viewOnTheLeftAndMovedToTheRight_viewTranslatedToTheLeft() constant
183 val view = spy(View(context)) in createView() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCrossFadeHelper.java31 public static void fadeOut(final View view) { in fadeOut()
35 public static void fadeOut(final View view, final Runnable endRunnable) { in fadeOut()
39 public static void fadeOut(final View view, long duration, int delay, in fadeOut()
63 public static void fadeOut(View view, float fadeOutAmount) { in fadeOut()
78 public static void fadeOut(View view, float fadeOutAmount, boolean remap) { in fadeOut()
100 private static void updateLayerType(View view, float alpha) { in updateLayerType()
112 public static void fadeIn(final View view) { in fadeIn()
116 public static void fadeIn(final View view, long duration, int delay) { in fadeIn()
133 public static void fadeIn(View view, float fadeInAmount) { in fadeIn()
148 public static void fadeIn(View view, float fadeInAmount, boolean remap) { in fadeIn()
/frameworks/base/core/java/com/android/internal/widget/
DOrientationHelper.java84 public abstract int getDecoratedStart(View view); in getDecoratedStart()
96 public abstract int getDecoratedEnd(View view); in getDecoratedEnd()
112 public abstract int getTransformedEndWithDecoration(View view); in getTransformedEndWithDecoration()
128 public abstract int getTransformedStartWithDecoration(View view); in getTransformedStartWithDecoration()
138 public abstract int getDecoratedMeasurement(View view); in getDecoratedMeasurement()
148 public abstract int getDecoratedMeasurementInOther(View view); in getDecoratedMeasurementInOther()
192 public abstract void offsetChild(View view, int offset); in offsetChild()
273 public int getDecoratedMeasurement(View view) { in createHorizontalHelper()
281 public int getDecoratedMeasurementInOther(View view) { in createHorizontalHelper()
289 public int getDecoratedEnd(View view) { in createHorizontalHelper()
[all …]
DMessagingPropertyAnimator.java69 private static boolean isFirstLayout(View view) { in isFirstLayout()
77 public static void recycle(View view) { in recycle()
81 private static void setFirstLayout(View view, boolean first) { in setFirstLayout()
85 private static void setLayoutTop(View view, int top) { in setLayoutTop()
89 public static int getLayoutTop(View view) { in getLayoutTop()
103 public static void startLocalTranslationFrom(View view, int startTranslation, in startLocalTranslationFrom()
114 public static void startLocalTranslationTo(View view, int endTranslation, in startLocalTranslationTo()
206 private static void updateLayerType(View view, boolean animating) { in updateLayerType()
214 public static void fadeOut(final View view, Runnable endAction) { in fadeOut()
258 public static void setToLaidOutPosition(View view) { in setToLaidOutPosition()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/view/
DModernStatusBarMobileViewTest.kt99 val view = in setVisibleState_icon_iconShownDotHidden() constant
120 val view = in setVisibleState_dot_iconHiddenDotShown() constant
140 val view = in setVisibleState_hidden_iconAndDotHidden() constant
163 val view = in isIconVisible_noData_outputsFalse() constant
183 val view = in isIconVisible_hasData_outputsTrue() constant
202 val view = in isIconVisible_notAirplaneMode_outputsTrue() constant
221 val view = in isIconVisible_airplaneMode_outputsTrue() constant
239 val view = in onDarkChanged_iconHasNewColor() constant
261 val view = in setStaticDrawableColor_iconHasNewColor() constant
/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupChildrenTest.java60 View view = createView("1"); in testAddChild() local
73 View view = createView(String.valueOf(i + 1)); in testAddChildAtFront() local
77 View view = createView("X"); in testAddChildAtFront() local
91 View view = createView(String.valueOf(i + 1)); in testAddChildInMiddle() local
95 View view = createView("X"); in testAddChildInMiddle() local
109 View view = createView(String.valueOf(i + 1)); in testAddChildren() local
120 View view = createView("1"); in testRemoveChild() local
258 TextView view = new TextView(getActivity()); in createView() local
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DScrollingThroughListOfFocusablesTest.java83 InternalSelectionView view = mActivity.getSelectedView(); in testScrollingDownInFirstItem() local
96 InternalSelectionView view = (InternalSelectionView) in testScrollingDownInFirstItem() local
144 InternalSelectionView view = mActivity.getSelectedView(); in testNoFadingEdgeAtBottomOfLastItem() local
172 InternalSelectionView view = mActivity.getSelectedView(); in testNavigatingUpThroughInternalSelection() local
179 InternalSelectionView view = mActivity.getSelectedView(); in testNavigatingUpThroughInternalSelection() local
193 InternalSelectionView view = mActivity.getSelectedView(); in testNavigatingUpThroughInternalSelection() local
205 final InternalSelectionView view = in testNavigatingUpThroughInternalSelection() local
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/robolectric/
DTestHelper.java34 public static void assertViewVisible(View view) { in assertViewVisible()
38 public static void assertViewNotVisible(View view) { in assertViewNotVisible()
42 public static void assertViewEnabled(View view) { in assertViewEnabled()
46 public static void assertViewNotEnabled(View view) { in assertViewNotEnabled()
50 public static void assertTextEqual(TextView view, String text) { in assertTextEqual()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/view/
DModernStatusBarWifiViewTest.kt115 val view = ModernStatusBarWifiView.constructAndBind(context, SLOT_NAME, viewModel) in setVisibleState_icon_iconShownDotHidden() constant
130 val view = ModernStatusBarWifiView.constructAndBind(context, SLOT_NAME, viewModel) in setVisibleState_dot_iconHiddenDotShown() constant
145 val view = ModernStatusBarWifiView.constructAndBind(context, SLOT_NAME, viewModel) in setVisibleState_hidden_iconAndDotHidden() constant
165 val view = ModernStatusBarWifiView.constructAndBind(context, SLOT_NAME, viewModel) in isIconVisible_notEnabled_outputsFalse() constant
182 val view = ModernStatusBarWifiView.constructAndBind(context, SLOT_NAME, viewModel) in isIconVisible_enabled_outputsTrue() constant
195 val view = ModernStatusBarWifiView.constructAndBind(context, SLOT_NAME, viewModel) in onDarkChanged_iconHasNewColor() constant
211 val view = ModernStatusBarWifiView.constructAndBind(context, SLOT_NAME, viewModel) in setStaticDrawableColor_iconHasNewColor() constant
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DExpandableSwitchItemTest.java54 View view = createLayout(); in testInitialState() local
77 View view = createLayout(); in testExpanded() local
96 View view = createLayout(); in testCollapsed() local
117 View view = createLayout(); in testClick() local
132 final View view = LayoutInflater.from(application).inflate(mItem.getLayoutResource(), null); in testDrawableState() local
DSwitchItemTest.java78 View view = createLayout(); in testChecked() local
92 View view = createLayout(); in testNotChecked() local
106 View view = createLayout(); in testListener() local
139 View view = createLayout(); in testRebind() local
165 View view = createLayout(); in testListenerSetChecked() local
191 View view = createLayout(); in testToggle() local
211 View view = LayoutInflater.from(application).inflate(R.layout.suw_items_switch, null); in testAccessibility() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/dagger/
DQSFragmentModule.java58 static Context provideThemedContext(@RootView View view) { in provideThemedContext()
78 static QSPanel provideQSPanel(@RootView View view) { in provideQSPanel()
84 static QSContainerImpl providesQSContainerImpl(@RootView View view) { in providesQSContainerImpl()
94 static QuickStatusBarHeader providesQuickStatusBarHeader(@RootView View view) { in providesQuickStatusBarHeader()
106 static QSFooterView providesQSFooterView(@RootView View view) { in providesQSFooterView()
121 static QSCustomizer providesQSCutomizer(@RootView View view) { in providesQSCutomizer()
/frameworks/base/core/java/com/android/internal/view/
DScrollCaptureViewHelper.java73 boolean onAcceptSession(@NonNull V view); in onAcceptSession()
81 @NonNull default Rect onComputeScrollBounds(@NonNull V view) { in onComputeScrollBounds()
99 void onPrepareForStart(@NonNull V view, @NonNull Rect scrollBounds); in onPrepareForStart()
117 void onScrollRequested(@NonNull V view, @NonNull Rect scrollBounds, in onScrollRequested()
128 void onPrepareForEnd(@NonNull V view); in onPrepareForEnd()
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DMyAutofillCallback.java51 public void onAutofillEvent(View view, int event) { in onAutofillEvent()
68 public void expectEvent(@NonNull View view, int event) { in expectEvent()
109 private static String toString(View view, int event) { in toString()
114 public final View view; field in MyAutofillCallback.MyEvent
117 MyEvent(View view, int event) { in MyEvent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/dagger/
DKeyguardStatusBarViewModule.java33 static CarrierText getCarrierText(KeyguardStatusBarView view) { in getCarrierText()
40 static BatteryMeterView getBatteryMeterView(KeyguardStatusBarView view) { in getBatteryMeterView()
47 static StatusBarUserSwitcherContainer getUserSwitcherContainer(KeyguardStatusBarView view) { in getUserSwitcherContainer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/chipbar/
DSwipeChipbarAwayGestureHandlerTest.kt50 val view = createMockView() in <lambda>() constant
60 val view = createMockView() in <lambda>() constant
70 val view = createMockView() in <lambda>() constant
80 val view = createMockView() in <lambda>() constant
/frameworks/layoutlib/bridge/src/android/view/
DAttachInfo_Accessor.java32 public static void setAttachInfo(ViewGroup view, HardwareRenderer renderer) { in setAttachInfo()
61 public static void dispatchOnPreDraw(View view) { in dispatchOnPreDraw()
65 public static void detachFromWindow(final View view) { in detachFromWindow()
83 public static ViewRootImpl getRootView(View view) { in getRootView()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DRadioButtonPreferenceTest.java59 View view = LayoutInflater.from(mContext) in setUp() local
83 View view = mock(View.class); in onBindViewHolder_withSummary_containerShouldBeVisible() local
97 View view = mock(View.class); in onBindViewHolder_emptySummary_containerShouldBeGone() local
111 View view = mock(View.class); in nullSummary_containerShouldBeGone() local
123 View view = LayoutInflater.from(mContext) in setAppendixVisibility_setGone_shouldBeGone() local
/frameworks/base/core/java/android/view/
DViewManager.java34 public void addView(View view, ViewGroup.LayoutParams params); in addView()
35 public void updateViewLayout(View view, ViewGroup.LayoutParams params); in updateViewLayout()
36 public void removeView(View view); in removeView()
/frameworks/base/core/java/android/text/method/
DKeyListener.java63 public boolean onKeyDown(View view, Editable text, in onKeyDown()
71 public boolean onKeyUp(View view, Editable text, in onKeyUp()
79 public boolean onKeyOther(View view, Editable text, KeyEvent event); in onKeyOther()
84 public void clearMetaKeyState(View view, Editable content, int states); in clearMetaKeyState()

12345678910>>...39