Home
last modified time | relevance | path

Searched refs:layoutId (Results 1 – 25 of 34) sorted by relevance

12

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
H A DPrivacyDotDecorProviderFactory.kt54 layoutId = R.layout.privacy_dot_top_left),
59 layoutId = R.layout.privacy_dot_top_right),
64 layoutId = R.layout.privacy_dot_bottom_left),
69 layoutId = R.layout.privacy_dot_bottom_right)
81 private val layoutId: Int
100 LayoutInflater.from(context).inflate(layoutId, parent, true)
/aosp14/frameworks/base/core/java/android/transition/
H A DScene.java62 public static Scene getSceneForLayout(ViewGroup sceneRoot, int layoutId, Context context) { in getSceneForLayout() argument
69 Scene scene = scenes.get(layoutId); in getSceneForLayout()
73 scene = new Scene(sceneRoot, layoutId, context); in getSceneForLayout()
74 scenes.put(layoutId, scene); in getSceneForLayout()
108 private Scene(ViewGroup sceneRoot, int layoutId, Context context) { in Scene() argument
111 mLayoutId = layoutId; in Scene()
/aosp14/frameworks/base/startop/apps/test/src/
H A DLayoutInflationActivity.java30 int layoutId = savedInstanceState.getInt(LAYOUT_ID); in onCreate() local
31 String layoutName = getResources().getResourceEntryName(layoutId); in onCreate()
35 View view = inflater.inflate(layoutId, /*root=*/null); in onCreate()
/aosp14/frameworks/base/core/java/android/widget/
H A DRemoteCollectionItemsAdapter.java108 int layoutId = layoutIds[i]; in initLayoutIdToViewType() local
111 int previousViewType = previousLayoutIdToViewType.get(layoutId, -1); in initLayoutIdToViewType()
115 mLayoutIdToViewType.put(layoutId, previousViewType); in initLayoutIdToViewType()
126 int layoutId = layoutIds[i]; in initLayoutIdToViewType() local
137 mLayoutIdToViewType.put(layoutId, viewType); in initLayoutIdToViewType()
H A DRemoteViewsListAdapter.java108 int layoutId = mRemoteViewsList.get(position).getLayoutId(); in getItemViewType() local
109 return mViewTypes.indexOf(layoutId); in getItemViewType()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipperController.java119 int layoutId = getLayoutIdFor(securityMode); in asynchronouslyInflateView() local
121 if (layoutId != 0 && viewID != 0) { in asynchronouslyInflateView()
124 + layoutId + " . viewID = " + viewID); in asynchronouslyInflateView()
126 mAsyncLayoutInflater.inflate(layoutId, mView, in asynchronouslyInflateView()
/aosp14/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
H A DCustomTestActivity.java48 final int layoutId = getIntent().getIntExtra(INTENT_EXTRA_LAYOUT_ID, in onCreate() local
50 setContentView(layoutId); in onCreate()
51 if (layoutId == CUSTOM_CONTAINER_LAYOUT_ID) { in onCreate()
H A DAbstractContentCapturePerfTestCase.java266 protected Intent getLaunchIntent(int layoutId, int numViews) { in getLaunchIntent() argument
272 intent.putExtra(INTENT_EXTRA_LAYOUT_ID, layoutId); in getLaunchIntent()
280 protected CustomTestActivity launchActivity(int layoutId, int numViews) { in launchActivity() argument
281 final Intent intent = getLaunchIntent(layoutId, numViews); in launchActivity()
H A DLoginTest.java83 private void testActivityLaunchTime(int layoutId, int numViews) throws Throwable { in testActivityLaunchTime() argument
85 final Intent intent = getLaunchIntent(layoutId, numViews); in testActivityLaunchTime()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
H A DOverflowMenuAdapter.kt26 @LayoutRes layoutId: Int,
29 ) : ArrayAdapter<CharSequence>(context, layoutId, itemsWithIds.map(MenuItem::text)) {
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
H A DOverflowMenuAdapterTest.kt38 layoutId = 0,
54 layoutId = 0,
/aosp14/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
H A DBackupRestoreConfirmation.java194 final int layoutId; in setViews() local
197 layoutId = R.layout.confirm_backup; in setViews()
200 layoutId = R.layout.confirm_restore; in setViews()
209 setContentView(layoutId); in setViews()
250 if (layoutId == R.layout.confirm_backup) { in setViews()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DTextViewFontFamilyLayoutPerfTest.java52 public TextViewFontFamilyLayoutPerfTest(String key, int layoutId) { in TextViewFontFamilyLayoutPerfTest() argument
53 mLayoutId = layoutId; in TextViewFontFamilyLayoutPerfTest()
H A DTextViewAutoSizeLayoutPerfTest.java62 public TextViewAutoSizeLayoutPerfTest(String key, int layoutId) { in TextViewAutoSizeLayoutPerfTest() argument
63 mLayoutId = layoutId; in TextViewAutoSizeLayoutPerfTest()
H A DLayoutPerfTest.java68 public LayoutPerfTest(String key, int layoutId, int viewId) { in LayoutPerfTest() argument
70 mLayoutId = layoutId; in LayoutPerfTest()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
H A DBaseScreenSharePermissionDialog.kt122 private fun createOptionsView(@LayoutRes layoutId: Int?) {
123 if (layoutId == null) return
125 stub.layoutResource = layoutId
/aosp14/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
H A DAbstractAutofillPerfTestCase.java65 protected AbstractAutofillPerfTestCase(int layoutId) { in AbstractAutofillPerfTestCase() argument
66 mLayoutId = layoutId; in AbstractAutofillPerfTestCase()
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/
H A DCustomizedAppBar.kt65 import androidx.compose.ui.layout.layoutId
454 .layoutId("navigationIcon")
464 .layoutId("title")
484 .layoutId("actionIcons")
496 measurables.first { it.layoutId == "navigationIcon" }
499 measurables.first { it.layoutId == "actionIcons" }
509 measurables.first { it.layoutId == "title" }
/aosp14/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java631 int layoutId = remoteViews.getLayoutId(); in inflateAsync() local
644 new ViewApplyListener(remoteViews, layoutId, true), in inflateAsync()
656 new ViewApplyListener(remoteViews, layoutId, false), in inflateAsync()
670 int layoutId, in ViewApplyListener() argument
673 mLayoutId = layoutId; in ViewApplyListener()
792 int layoutId = mInfo.initialLayout; in getDefaultView() local
799 layoutId = kgLayoutId == 0 ? layoutId : kgLayoutId; in getDefaultView()
802 defaultView = inflater.inflate(layoutId, this, false); in getDefaultView()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/
H A DOverlayWindowTest.kt60 layoutId = R.layout.privacy_dot_top_left
68 layoutId = R.layout.privacy_dot_bottom_left
76 layoutId = R.layout.privacy_dot_bottom_right
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java211 final int layoutId, final int fieldId) { in constructAdapter() argument
218 return new ArrayAdapter<LocaleInfo>(context, layoutId, fieldId, localeInfos) { in constructAdapter()
224 view = inflater.inflate(layoutId, parent, false); in constructAdapter()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
H A DShadeViewProviderModule.kt247 val layoutId = R.layout.combined_qs_header regex
248 stub.layoutResource = layoutId
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
H A DPeopleTileViewHelper.java440 int layoutId = views.getLayoutId(); in getMaxAvatarSize() local
442 if (layoutId == R.layout.people_tile_medium_empty) { in getMaxAvatarSize()
446 if (layoutId == R.layout.people_tile_medium_with_content) { in getMaxAvatarSize()
451 if (layoutId == R.layout.people_tile_small) { in getMaxAvatarSize()
458 if (layoutId == R.layout.people_tile_small_horizontal) { in getMaxAvatarSize()
464 if (layoutId == R.layout.people_tile_large_with_notification_content) { in getMaxAvatarSize()
471 } else if (layoutId == R.layout.people_tile_large_with_status_content) { in getMaxAvatarSize()
479 if (layoutId == R.layout.people_tile_large_empty) { in getMaxAvatarSize()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A DHandleMenu.java383 Builder setLayoutId(int layoutId) { in setLayoutId() argument
384 mLayoutId = layoutId; in setLayoutId()
H A DDesktopModeWindowDecoration.java416 private boolean checkEventInCaptionView(MotionEvent ev, int layoutId) { in checkEventInCaptionView() argument
419 final View view = mResult.mRootView.findViewById(layoutId); in checkEventInCaptionView()

12