Home
last modified time | relevance | path

Searched refs:visibility (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/Email/src/com/android/email/activity/
DUiUtilities.java108 public static void setVisibilitySafe(View v, int visibility) { in setVisibilitySafe() argument
110 v.setVisibility(visibility); in setVisibilitySafe()
117 public static void setVisibilitySafe(Activity parent, int viewId, int visibility) { in setVisibilitySafe() argument
118 setVisibilitySafe(parent.findViewById(viewId), visibility); in setVisibilitySafe() local
124 public static void setVisibilitySafe(View parent, int viewId, int visibility) { in setVisibilitySafe() argument
125 setVisibilitySafe(parent.findViewById(viewId), visibility); in setVisibilitySafe() local
DMessageViewFragment.java254 final int visibility = enabled ? View.VISIBLE : View.GONE; in enableReplyForwardButtons() local
259 UiUtilities.setVisibilitySafe(mReplyAllButton, visibility); in enableReplyForwardButtons()
265 UiUtilities.setVisibilitySafe(mReplyButton, visibility); in enableReplyForwardButtons()
269 mForwardButton.setVisibility(visibility); in enableReplyForwardButtons()
272 mMoreButton.setVisibility(visibility); in enableReplyForwardButtons()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppShareInfo.java70 int direction, String destination, int visibility, int confirm, int status, in BluetoothOppShareInfo() argument
79 mVisibility = visibility; in BluetoothOppShareInfo()
DBluetoothOppReceiver.java200 int visibility = cursor.getInt(visibilityColumn); in onReceive() local
205 && visibility == BluetoothShare.VISIBILITY_VISIBLE) { in onReceive()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLView.java89 public void setVisibility(int visibility) { in setVisibility() argument
90 if (visibility == getVisibility()) return; in setVisibility()
91 if (visibility == VISIBLE) { in setVisibility()
96 onVisibilityChanged(visibility); in setVisibility()
389 protected void onVisibilityChanged(int visibility) { in onVisibilityChanged() argument
393 child.onVisibilityChanged(visibility); in onVisibilityChanged()
DCustomMenu.java113 public void setMenuItemVisibility(int id, boolean visibility) { in setMenuItemVisibility() argument
116 item.setVisible(visibility); in setMenuItemVisibility()
DFilmStripView.java142 protected void onVisibilityChanged(int visibility) { in onVisibilityChanged() argument
143 super.onVisibilityChanged(visibility); in onVisibilityChanged()
144 if (visibility == GLView.VISIBLE) { in onVisibilityChanged()
DMenuExecutor.java142 Menu menu, int id, boolean visibility) { in setMenuItemVisibility() argument
144 if (item != null) item.setVisible(visibility); in setMenuItemVisibility()
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectVisibleCalendarsFragment.java157 int visibility = mAdapter.getVisible(position)^1; in toggleVisibility() local
158 values.put(Calendars.VISIBLE, visibility); in toggleVisibility()
160 mAdapter.setVisible(position, visibility); in toggleVisibility()
/packages/apps/Camera/src/com/android/camera/ui/
DEffectSettingPopup.java136 public void setVisibility(int visibility) { in setVisibility() argument
137 if (visibility == View.VISIBLE) { in setVisibility()
146 super.setVisibility(visibility); in setVisibility()
/packages/apps/Email/tests/src/com/android/email/activity/
DUiUtilitiesTests.java133 public void setVisibility(int visibility) { in setVisibility() argument
134 mVisibility = visibility; in setVisibility()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionsListView.java44 void setVisibility(int visibility); in setVisibility() argument
/packages/apps/Contacts/src/com/android/contacts/list/
DContactTileView.java151 public void setHorizontalDividerVisibility(int visibility) { in setHorizontalDividerVisibility() argument
152 if (mHorizontalDivider != null) mHorizontalDivider.setVisibility(visibility); in setHorizontalDividerVisibility()
/packages/apps/Music/src/com/android/music/
DTouchInterceptor.java264 int visibility = View.VISIBLE; in doExpansion() local
269 visibility = View.INVISIBLE; in doExpansion()
277 visibility = View.INVISIBLE; in doExpansion()
293 vv.setVisibility(visibility); in doExpansion()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DGLViewMock.java52 protected void onVisibilityChanged(int visibility) { in onVisibilityChanged() argument
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOutgoingFragment.java308 final int visibility = isChecked ? View.VISIBLE : View.GONE; in onCheckedChanged() local
309 UiUtilities.setVisibilitySafe(getView(), R.id.account_require_login_settings, visibility); in onCheckedChanged() local
310 UiUtilities.setVisibilitySafe(getView(), R.id.account_require_login_settings_2, visibility); in onCheckedChanged() local
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadReceiver.java128 int visibility = cursor.getInt(visibilityColumn); in hideNotification() local
130 && visibility == Downloads.Impl.VISIBILITY_VISIBLE_NOTIFY_COMPLETED) { in hideNotification()
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
DProgressBar.java889 protected void onVisibilityChanged(View changedView, int visibility) { in onVisibilityChanged() argument
890 super.onVisibilityChanged(changedView, visibility); in onVisibilityChanged()
894 if (visibility == GONE || visibility == INVISIBLE) { in onVisibilityChanged()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DCalendarSyncAdapter.java947 int visibility = 0; in encodeVisibility() local
950 visibility = Events.ACCESS_DEFAULT; in encodeVisibility()
953 visibility = Events.ACCESS_PUBLIC; in encodeVisibility()
956 visibility = Events.ACCESS_PRIVATE; in encodeVisibility()
959 visibility = Events.ACCESS_CONFIDENTIAL; in encodeVisibility()
962 return visibility; in encodeVisibility()
1465 private String decodeVisibility(int visibility) { in decodeVisibility() argument
1467 switch(visibility) { in decodeVisibility()
1758 Integer visibility = entityValues.getAsInteger(Events.ACCESS_LEVEL); in sendEvent() local
1759 if (visibility != null) { in sendEvent()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMoviePlayer.java134 public void onSystemUiVisibilityChange(int visibility) { in MoviePlayer()
135 if ((visibility & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) == 0) { in MoviePlayer()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java432 static void updateTextView(RemoteViews views, int id, int visibility, String string) { in updateTextView() argument
433 views.setViewVisibility(id, visibility); in updateTextView()
434 if (visibility == View.VISIBLE) { in updateTextView()
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java324 public void setVisibility(int visibility) { in setVisibility() argument
325 super.setVisibility(visibility); in setVisibility()
327 mSweep.setVisible(visibility == VISIBLE, false); in setVisibility()
/packages/apps/Settings/src/com/android/settings/
DDeviceAdminAdd.java262 static void setViewVisibility(ArrayList<View> views, int visibility) { in setViewVisibility() argument
265 views.get(i).setVisibility(visibility); in setViewVisibility()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettingsForSetupWizardXL.java728 /* package */ void setPaddingVisibility(int visibility) { in setPaddingVisibility() argument
729 mTopPadding.setVisibility(visibility); in setPaddingVisibility()
730 mContentPadding.setVisibility(visibility); in setPaddingVisibility()
/packages/apps/Phone/src/com/android/phone/
DCallCard.java1544 public static void hide(final View view, final int visibility) { in hide() argument
1547 (visibility == View.INVISIBLE || visibility == View.GONE)) { in hide()
1558 view.setVisibility(visibility); in hide()
1563 + " DONE. Set visibility = " + visibility); in hide()

12