Home
last modified time | relevance | path

Searched refs:viewId (Results 1 – 25 of 83) sorted by relevance

1234

/aosp12/frameworks/base/core/java/android/widget/
H A DRemoteViews.java767 this.viewId = viewId; in SetEmptyView()
1524 this.viewId = viewId; in ViewContentNavigation()
1624 this.viewId = viewId; in BitmapReflectionAction()
1692 this.viewId = viewId; in BaseReflectionAction()
2351 this.viewId = viewId; in ViewGroupActionAdd()
2577 this.viewId = viewId;
2689 this.viewId = viewId;
2761 this.viewId = viewId;
2772 this.viewId = viewId;
2908 this.viewId = viewId;
[all …]
H A DTabHost.java579 public TabSpec setContent(int viewId) { in setContent() argument
580 mContentStrategy = new ViewIdContentStrategy(viewId); in setContent()
740 private ViewIdContentStrategy(int viewId) { in ViewIdContentStrategy() argument
741 mView = mTabContent.findViewById(viewId); in ViewIdContentStrategy()
746 "could not find view with id " + viewId); in ViewIdContentStrategy()
/aosp12/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DViewHelper.java39 String getText(int viewId) { in getText() argument
40 return ((TextView) mView.findViewById(viewId)).getText().toString(); in getText()
43 void setText(int viewId, String text) { in setText() argument
45 TextView v = (TextView) mView.findViewById(viewId); in setText()
49 void setText(int viewId, int textId) { in setText() argument
50 TextView v = (TextView) mView.findViewById(viewId); in setText()
/aosp12/frameworks/base/core/java/android/appwidget/
H A DPendingHostUpdate.java37 int viewId; field in PendingHostUpdate
51 public static PendingHostUpdate viewDataChanged(int appWidgetId, int viewId) { in viewDataChanged() argument
53 update.viewId = viewId; in viewDataChanged()
85 viewId = in.readInt(); in PendingHostUpdate()
106 dest.writeInt(viewId); in writeToParcel()
H A DAppWidgetHost.java124 public void viewDataChanged(int appWidgetId, int viewId) { in viewDataChanged() argument
130 appWidgetId, viewId); in viewDataChanged()
240 viewDataChanged(update.appWidgetId, update.viewId); in startListening()
489 void viewDataChanged(int appWidgetId, int viewId) { in viewDataChanged() argument
495 v.viewDataChanged(viewId); in viewDataChanged()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DDialogManager.java69 final int viewId = view.getId(); in showDialogInView() local
73 if (viewId == View.NO_ID) { in showDialogInView()
76 bundle.putInt(VIEW_ID_KEY, viewId); in showDialogInView()
96 final int viewId = bundle.getInt(VIEW_ID_KEY); in onCreateDialog() local
97 final View view = mActivity.findViewById(viewId); in onCreateDialog()
/aosp12/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/
H A DImeiInfoDialogFragment.java83 public void removeViewFromScreen(int viewId) { in removeViewFromScreen() argument
84 final View view = mRootView.findViewById(viewId); in removeViewFromScreen()
100 public void setText(int viewId, CharSequence text) { in setText() argument
101 final TextView textView = mRootView.findViewById(viewId); in setText()
108 else if (Arrays.binarySearch(sViewIdsInDigitFormat, viewId) >= 0) { in setText()
/aosp12/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
H A DSimStatusDialogFragment.java87 public void removeSettingFromScreen(int viewId) { in removeSettingFromScreen() argument
88 final View view = mRootView.findViewById(viewId); in removeSettingFromScreen()
103 public void setText(int viewId, CharSequence text) { in setText() argument
104 final TextView textView = mRootView.findViewById(viewId); in setText()
111 else if (Arrays.binarySearch(sViewIdsInDigitFormat, viewId) >= 0) { in setText()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DRoundedCornerEnforcement.java114 private static List<View> findViewsWithId(View view, @IdRes int viewId) { in findViewsWithId() argument
116 accumulateViewsWithId(view, viewId, output); in findViewsWithId()
121 private static void accumulateViewsWithId(View view, @IdRes int viewId, List<View> output) { in accumulateViewsWithId() argument
122 if (view.getId() == viewId) { in accumulateViewsWithId()
129 accumulateViewsWithId(vg.getChildAt(i), viewId, output); in accumulateViewsWithId() local
/aosp12/packages/apps/Contacts/src/com/android/contacts/drawer/
H A DDrawerFragment.java238 final int viewId = v.getId();
239 if (viewId == R.id.nav_all_contacts) {
242 } else if (viewId == R.id.nav_assistant) {
245 } else if (viewId == R.id.nav_group) {
250 } else if (viewId == R.id.nav_filter) {
255 } else if (viewId == R.id.nav_create_label) {
257 } else if (viewId == R.id.nav_settings) {
259 } else if (viewId == R.id.nav_help) {
/aosp12/packages/apps/Settings/src/com/android/settings/accessibility/
H A DToggleAccessibilityServicePreferenceFragment.java424 final int viewId = view.getId(); in onDialogButtonFromEnableToggleClicked() local
425 if (viewId == R.id.permission_enable_allow_button) { in onDialogButtonFromEnableToggleClicked()
427 } else if (viewId == R.id.permission_enable_deny_button) { in onDialogButtonFromEnableToggleClicked()
487 final int viewId = view.getId(); in onDialogButtonFromShortcutToggleClicked() local
488 if (viewId == R.id.permission_enable_allow_button) { in onDialogButtonFromShortcutToggleClicked()
490 } else if (viewId == R.id.permission_enable_deny_button) { in onDialogButtonFromShortcutToggleClicked()
519 final int viewId = view.getId(); in onDialogButtonFromShortcutClicked() local
520 if (viewId == R.id.permission_enable_allow_button) { in onDialogButtonFromShortcutClicked()
522 } else if (viewId == R.id.permission_enable_deny_button) { in onDialogButtonFromShortcutClicked()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
H A DDragAndDropAccessibilityDelegate.java94 public boolean onPerformActionForVirtualView(int viewId, int action, Bundle args) { in onPerformActionForVirtualView() argument
95 if (action == AccessibilityNodeInfoCompat.ACTION_CLICK && viewId != INVALID_ID) { in onPerformActionForVirtualView()
96 String confirmation = getConfirmationForIconDrop(viewId); in onPerformActionForVirtualView()
97 mDelegate.handleAccessibleDrop(mView, getItemBounds(viewId), confirmation); in onPerformActionForVirtualView()
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
H A DCarSystemBarView.java244 public void setLockTaskDisabledButton(int viewId, boolean disabled, Runnable runnable) { in setLockTaskDisabledButton() argument
245 CarSystemBarButton button = findViewById(viewId); in setLockTaskDisabledButton()
254 public void setLockTaskDisabledContainer(int viewId, @View.Visibility int visibility) { in setLockTaskDisabledContainer() argument
255 View v = findViewById(viewId); in setLockTaskDisabledContainer()
257 Log.e(TAG, "setLockTaskViewVisibility for: " + viewId + " not found"); in setLockTaskDisabledContainer()
/aosp12/frameworks/base/core/java/android/view/autofill/
H A DAutofillId.java250 final int viewId = source.readInt();
254 return new AutofillId(flags, viewId, source.readInt(), sessionId);
257 return new AutofillId(flags, viewId, source.readLong(), sessionId);
259 return new AutofillId(flags, viewId, View.NO_ID, sessionId);
/aosp12/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
H A DGoOverviewActionsView.java88 private void showToolTip(int viewId, int textResourceId) { in showToolTip() argument
91 findViewById(viewId).getLocationOnScreen(location); in showToolTip()
94 /* arrowXCoord= */ location[0] + findViewById(viewId).getWidth() / 2, in showToolTip()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DFontSizeUtils.java30 public static void updateFontSize(View parent, int viewId, int dimensId) { in updateFontSize() argument
31 updateFontSize((TextView) parent.findViewById(viewId), dimensId); in updateFontSize()
/aosp12/hardware/interfaces/automotive/sv/1.0/vts/functional/
H A DVtsHalSurroundViewV1_0TargetTest.cpp212 EXPECT_EQ(svBuffer2d.viewId, 0); in TEST_P()
278 EXPECT_EQ(svBuffer2d.viewId, 0); in TEST_P()
613 views[0].viewId = 0; in TEST_P()
628 EXPECT_EQ(frames.svBuffers[0].viewId, 0); in TEST_P()
631 views[0].viewId = 0; in TEST_P()
632 views[1].viewId = 1; in TEST_P()
633 views[2].viewId = 2; in TEST_P()
674 views[0].viewId = 0; in TEST_P()
697 EXPECT_EQ(svBuffer3d.viewId, 0); in TEST_P()
722 views[0].viewId = 0; in TEST_P()
[all …]
H A DSurroundViewStreamHandler.cpp79 mLastReceivedFrames.svBuffers[i].viewId = svFramesDesc.svBuffers[i].viewId; in receiveFrames()
/aosp12/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseCursorPagerAdapter.java207 protected String makeFragmentName(int viewId, int index) { in makeFragmentName() argument
209 return "android:pager:" + viewId + ":" + mCursor.getString(mRowIDColumn).hashCode(); in makeFragmentName()
211 return super.makeFragmentName(viewId, index); in makeFragmentName()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DWorkAdapterProvider.java54 int viewId = viewType == VIEW_TYPE_WORK_DISABLED_CARD ? R.layout.work_apps_paused in onCreateViewHolder() local
56 return new AllAppsGridAdapter.ViewHolder(layoutInflater.inflate(viewId, parent, false)); in onCreateViewHolder()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
H A DAutoAppPermissionsFragment.java352 long viewId = new Random().nextLong(); in logAppPermissionsFragmentView() local
370 logAppPermissionsFragmentViewEntry(sessionId, viewId, preference.getKey(), category); in logAppPermissionsFragmentView()
382 logAppPermissionsFragmentViewEntry(sessionId, viewId, preference.getKey(), in logAppPermissionsFragmentView()
388 long sessionId, long viewId, String permissionGroupName, int category) { in logAppPermissionsFragmentViewEntry() argument
394 PermissionControllerStatsLog.write(APP_PERMISSIONS_FRAGMENT_VIEWED, sessionId, viewId, in logAppPermissionsFragmentViewEntry()
397 + " viewId=" + viewId + " permissionGroupName=" + permissionGroupName + " uid=" in logAppPermissionsFragmentViewEntry()
/aosp12/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/
H A DViewUtils.java250 int viewId = viewIds.getResourceId(i, 0);
251 if (viewId != 0) {
252 View view = root.findViewById(viewId);
/aosp12/packages/apps/TV/tests/unit/src/com/android/tv/
H A DMainActivityTest.java98 private View assertViewIsShown(String viewName, int viewId, boolean expected) { in assertViewIsShown() argument
99 View view = mActivity.findViewById(viewId); in assertViewIsShown()
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DLayoutPerfTest.java68 public LayoutPerfTest(String key, int layoutId, int viewId) { in LayoutPerfTest() argument
71 mViewId = viewId; in LayoutPerfTest()
/aosp12/hardware/interfaces/automotive/sv/1.0/default/
H A DSurroundView3dSession.cpp47 framesRecord.frames.svBuffers[0].viewId = 0; in SurroundView3dSession()
280 framesRecord.frames.svBuffers[i].viewId = mViews[i].viewId; in generateFrames()

1234