Home
last modified time | relevance | path

Searched refs:newView (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/java/android/widget/
DRemoteCollectionItemsAdapter.java186 AppWidgetHostView newView = convertView instanceof AppWidgetHostView.AdapterChildHostView in getView() local
190 newView.setInteractionHandler(mInteractionHandler); in getView()
191 newView.setColorResourcesNoReapply(mColorResources); in getView()
192 newView.setOnLightBackground(mOnLightBackground); in getView()
193 newView.updateAppWidget(item); in getView()
194 return newView; in getView()
DCursorAdapter.java292 v = newView(mContext, mCursor, parent); in getView()
326 public abstract View newView(Context context, Cursor cursor, ViewGroup parent); in newView() method in CursorAdapter
337 return newView(context, cursor, parent); in newDropDownView()
DResourceCursorAdapter.java134 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView() method in ResourceCursorAdapter
DSuggestionsAdapter.java284 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView() method in SuggestionsAdapter
285 final View v = super.newView(context, cursor, parent); in newView()
495 View v = newView(mContext, mCursor, parent); in getView()
DAdapterViewAnimator.java553 View newView = mAdapter.getView(adapterPosition, null, this); in showOnly() local
561 if (newView != null) { in showOnly()
562 fl.addView(newView); in showOnly()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DStackAnimationControllerTest.java184 final View newView = new FrameLayout(mContext); in testChildAdded() local
186 newView, in testChildAdded()
199 assertEquals(0f, newView.getTranslationX(), .1f); in testChildAdded()
200 assertEquals(500f, newView.getTranslationY(), .1f); in testChildAdded()
201 assertEquals(1f, newView.getScaleX(), .1f); in testChildAdded()
202 assertEquals(1f, newView.getScaleY(), .1f); in testChildAdded()
203 assertEquals(1f, newView.getAlpha(), .1f); in testChildAdded()
DPhysicsAnimationLayoutTestCase.java102 final View newView = new FrameLayout(mContext); in addOneMoreThanBubbleLimitBubbles() local
103 mLayout.addView(newView, 0); in addOneMoreThanBubbleLimitBubbles()
104 mViews.add(0, newView); in addOneMoreThanBubbleLimitBubbles()
106 newView.setTranslationX(0); in addOneMoreThanBubbleLimitBubbles()
107 newView.setTranslationY(0); in addOneMoreThanBubbleLimitBubbles()
DExpandedAnimationControllerTest.java125 final View newView = new FrameLayout(getContext()); in testOnChildAdded() local
126 mLayout.addView(newView, 0); in testOnChildAdded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialog.kt104 val newView = LayoutInflater.from(context).inflate( in <lambda>() constant
109 newView.requireViewById<ImageView>(R.id.icon).apply { in <lambda>()
122 newView.requireViewById<TextView>(R.id.text).text = finalText in <lambda>()
124 newView.requireViewById<View>(R.id.chevron).visibility = View.GONE in <lambda>()
126 newView.apply { in <lambda>()
132 return newView in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/
DTemporaryViewDisplayController.kt261 val newView = LayoutInflater in <lambda>() constant
264 displayInfo.view = newView in <lambda>()
268 val newViewController = TouchableRegionViewController(newView, this::getTouchableRegion) in <lambda>()
271 updateView(newInfo, newView) in <lambda>()
277 newView.keepScreenOn = true in <lambda>()
278 logger.logViewAddedToWindowManager(displayInfo.info, newView) in <lambda>()
279 windowManager.addView(newView, paramsWithTitle) in <lambda>()
280 animateViewIn(newView) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPseudoGridView.java183 View newView = mAdapter.getView(i, oldView, viewGroup); in refresh() local
186 viewGroup.addView(newView); in refresh()
187 } else if (oldView != newView) { in refresh()
190 viewGroup.addView(newView, i); in refresh()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/common/viewhost/
DReusableWindowDecorViewHostTest.kt61 val newView = View(context) in <lambda>() constant
63 reusableVH.updateView(newView, newLp, context.resources.configuration) in <lambda>()
66 assertThat(rootView.getChildAt(0)).isEqualTo(newView) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DFullscreenLightRevealAnimation.kt175 val newView = in prepareOverlay() constant
187 newRoot.setView(newView, params) in prepareOverlay()
206 scrimView = newView in prepareOverlay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationRowContentBinderImpl.kt980 newView = result.remoteViews.contracted, in <lambda>()
1019 newView = result.remoteViews.expanded, in <lambda>()
1058 newView = result.remoteViews.headsUp, in <lambda>()
1097 newView = result.remoteViews.public, in <lambda>()
1138 newView = result.remoteViews.normalGroupHeader, in <lambda>()
1180 newView = result.remoteViews.minimizedGroupHeader, in <lambda>()
1359 val newView = in <lambda>() constant
1379 onViewApplied(newView) in <lambda>()
1719 fun canReapplyRemoteView(newView: RemoteViews?, oldView: RemoteViews?): Boolean { in <lambda>()
1720 return newView == null && oldView == null || in <lambda>()
[all …]
DNotificationContentInflater.java860 View newView = existingView; in applyRemoteView()
862 newView = newContentView.apply( in applyRemoteView()
874 onViewApplied(newView); in applyRemoteView()
1178 static boolean canReapplyRemoteView(final RemoteViews newView,
1180 return (newView == null && oldView == null) ||
1181 (newView != null && oldView != null
1183 && newView.getPackage() != null
1184 && newView.getPackage().equals(oldView.getPackage())
1185 && newView.getLayoutId() == oldView.getLayoutId()
/frameworks/base/core/java/com/android/internal/widget/
DDefaultItemAnimator.java352 final View newView = newHolder != null ? newHolder.itemView : null; in animateChangeImpl() local
377 if (newView != null) { in animateChangeImpl()
378 final ViewPropertyAnimator newViewAnimation = newView.animate(); in animateChangeImpl()
389 newView.setAlpha(1); in animateChangeImpl()
390 newView.setTranslationX(0); in animateChangeImpl()
391 newView.setTranslationY(0); in animateChangeImpl()
/frameworks/ex/common/java/com/android/common/widget/
DCompositeCursorAdapter.java400 view = newView(mContext, partition, cursor, position, parent); in getView()
410 protected abstract View newView(Context context, int partition, Cursor cursor, int position, in newView() method in CompositeCursorAdapter
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainerController.java1134 newView -> { in showSecurityScreen()
1135 newView.onResume(KeyguardSecurityView.VIEW_REVEALED); in showSecurityScreen()
1136 mSecurityViewFlipperController.show(newView); in showSecurityScreen()
1139 securityMode, newView != null && newView.needsInput()); in showSecurityScreen()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientAlternatesAdapter.java596 convertView = mDropdownChipLayouter.newView(AdapterType.RECIPIENT_ALTERNATES); in getView()
618 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView() method in RecipientAlternatesAdapter
619 return mDropdownChipLayouter.newView(AdapterType.RECIPIENT_ALTERNATES); in newView()
DDropdownChipLayouter.java202 public View newView(AdapterType type) { in newView() method in DropdownChipLayouter
/frameworks/ex/common/tests/src/com/android/common/widget/
DCompositeCursorAdapterTest.java59 protected View newView(Context context, int sectionIndex, Cursor cursor, int position, in newView() method in CompositeCursorAdapterTest.TestCompositeCursorAdapter
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java765 View newView = obtainView(position, child); in layoutChildren() local
766 if (newView != child) { in layoutChildren()
768 addView(newView, i); in layoutChildren()
769 child = newView; in layoutChildren()
/frameworks/base/core/java/android/animation/
DLayoutTransition.java733 private void runChangeTransition(final ViewGroup parent, View newView, final int changeReason) { in runChangeTransition() argument
778 if (child != newView) { in runChangeTransition()
/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java314 protected View newView(Context context, int partitionIndex, Cursor cursor, in newView() method in BaseEmailAddressAdapter
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/
DRingtonePickerActivity.java753 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView() method in RingtonePickerActivity.BadgedRingtoneAdapter

12