Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/widget/
DRemoteCollectionItemsAdapter.java181 AppWidgetHostView newView = convertView instanceof AppWidgetHostView.AdapterChildHostView in getView() local
185 newView.setInteractionHandler(mInteractionHandler); in getView()
186 newView.setColorResourcesNoReapply(mColorResources); in getView()
187 newView.updateAppWidget(item); in getView()
188 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.java124 final View newView = new FrameLayout(getContext()); in testOnChildAdded() local
125 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.kt262 val newView = LayoutInflater in <lambda>() constant
265 displayInfo.view = newView in <lambda>()
269 val newViewController = TouchableRegionViewController(newView, this::getTouchableRegion) in <lambda>()
272 updateView(newInfo, newView) in <lambda>()
278 newView.keepScreenOn = true in <lambda>()
279 logger.logViewAddedToWindowManager(displayInfo.info, newView) in <lambda>()
280 windowManager.addView(newView, paramsWithTitle) in <lambda>()
281 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherController.java283 KeyguardUserDetailItemView newView = (KeyguardUserDetailItemView) in refreshUserList() local
286 (UserRecord) newView.getTag(); in refreshUserList()
294 newView.updateVisibilities(true /* showItem */, in refreshUserList()
300 newView.updateVisibilities(mUserSwitcherOpen /* showItem */, in refreshUserList()
303 newView.setDarkAmount(mDarkAmount); in refreshUserList()
306 mListView.addView(newView); in refreshUserList()
307 } else if (oldView != newView) { in refreshUserList()
309 mListView.replaceView(newView, i); in refreshUserList()
DKeyguardUserSwitcherListView.java139 void replaceView(KeyguardUserDetailItemView newView, int index) { in replaceView() argument
141 addView(newView, index); in replaceView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationRowContentBinderImpl.kt821 newView = result.remoteViews.contracted, in <lambda>()
864 newView = result.remoteViews.expanded, in <lambda>()
909 newView = result.remoteViews.headsUp, in <lambda>()
953 newView = result.remoteViews.public, in <lambda>()
997 newView = result.remoteViews.normalGroupHeader, in <lambda>()
1036 newView = result.remoteViews.minimizedGroupHeader, in <lambda>()
1210 val newView = in <lambda>() constant
1230 onViewApplied(newView) in <lambda>()
1554 fun canReapplyRemoteView(newView: RemoteViews?, oldView: RemoteViews?): Boolean { in <lambda>()
1555 return newView == null && oldView == null || in <lambda>()
[all …]
DNotificationContentInflater.java743 View newView = existingView; in applyRemoteView()
745 newView = newContentView.apply( in applyRemoteView()
757 onViewApplied(newView); in applyRemoteView()
1042 static boolean canReapplyRemoteView(final RemoteViews newView,
1044 return (newView == null && oldView == null) ||
1045 (newView != null && oldView != null
1047 && newView.getPackage() != null
1048 && newView.getPackage().equals(oldView.getPackage())
1049 && newView.getLayoutId() == oldView.getLayoutId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DFullscreenLightRevealAnimation.kt172 val newView = in prepareOverlay() constant
184 newRoot.setView(newView, params) in prepareOverlay()
203 scrimView = newView in prepareOverlay()
/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/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainerController.java1065 newView -> { in showSecurityScreen()
1066 newView.onResume(KeyguardSecurityView.VIEW_REVEALED); in showSecurityScreen()
1067 mSecurityViewFlipperController.show(newView); in showSecurityScreen()
1070 securityMode, newView != null && newView.needsInput()); in showSecurityScreen()
/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/opt/chips/src/com/android/ex/chips/
DRecipientAlternatesAdapter.java592 convertView = mDropdownChipLayouter.newView(AdapterType.RECIPIENT_ALTERNATES); in getView()
614 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView() method in RecipientAlternatesAdapter
615 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

12