Home
last modified time | relevance | path

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

12

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DUndoBarView.java170 private static float getTargetAlpha(int visibility) { in getTargetAlpha() argument
171 return (visibility == VISIBLE) ? 1f : 0f; in getTargetAlpha()
175 public void setVisibility(int visibility) { in setVisibility() argument
176 mAlpha = getTargetAlpha(visibility); in setVisibility()
178 super.setVisibility(visibility); in setVisibility()
182 public void animateVisibility(int visibility) { in animateVisibility() argument
183 float target = getTargetAlpha(visibility); in animateVisibility()
DGLView.java98 public void setVisibility(int visibility) { in setVisibility() argument
99 if (visibility == getVisibility()) return; in setVisibility()
100 if (visibility == VISIBLE) { in setVisibility()
105 onVisibilityChanged(visibility); in setVisibility()
422 protected void onVisibilityChanged(int visibility) { in onVisibilityChanged() argument
426 child.onVisibilityChanged(visibility); in onVisibilityChanged()
/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.java252 final int visibility = enabled ? View.VISIBLE : View.GONE; in enableReplyForwardButtons() local
257 UiUtilities.setVisibilitySafe(mReplyAllButton, visibility); in enableReplyForwardButtons()
263 UiUtilities.setVisibilitySafe(mReplyButton, visibility); in enableReplyForwardButtons()
267 mForwardButton.setVisibility(visibility); in enableReplyForwardButtons()
270 mMoreButton.setVisibility(visibility); in enableReplyForwardButtons()
/packages/apps/Phone/src/com/android/phone/
DAnimationUtils.java104 public static void hide(final View view, final int visibility) { in hide() argument
107 (visibility == View.INVISIBLE || visibility == View.GONE)) { in hide()
119 view.setVisibility(visibility); in hide()
124 + " DONE. Set visibility = " + visibility); in hide()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DCalendarSyncAdapter.java969 int visibility = 0; in encodeVisibility() local
972 visibility = Events.ACCESS_DEFAULT; in encodeVisibility()
975 visibility = Events.ACCESS_PUBLIC; in encodeVisibility()
978 visibility = Events.ACCESS_PRIVATE; in encodeVisibility()
981 visibility = Events.ACCESS_CONFIDENTIAL; in encodeVisibility()
984 return visibility; in encodeVisibility()
1460 private String decodeVisibility(int visibility) { in decodeVisibility() argument
1462 switch(visibility) { in decodeVisibility()
1742 Integer visibility = entityValues.getAsInteger(Events.ACCESS_LEVEL); in sendEvent() local
1743 if (visibility != null) { in sendEvent()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadReceiver.java134 final int visibility; in hideNotification() local
141 visibility = getInt(cursor, Downloads.Impl.COLUMN_VISIBILITY); in hideNotification()
151 (visibility == VISIBILITY_VISIBLE_NOTIFY_COMPLETED in hideNotification()
152 || visibility == VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION)) { in hideNotification()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DBaseInputView.java53 @Override protected void onWindowVisibilityChanged(int visibility) { in onWindowVisibilityChanged() argument
54 super.onWindowVisibilityChanged(visibility); in onWindowVisibilityChanged()
55 if ((visibility != VISIBLE) && (mOptionsDialog != null)) { in onWindowVisibilityChanged()
DCandidateTextView.java175 @Override protected void onWindowVisibilityChanged(int visibility) { in onWindowVisibilityChanged() argument
176 super.onWindowVisibilityChanged(visibility); in onWindowVisibilityChanged()
177 if ((visibility != VISIBLE) && (mCandidateDialog != null)) { in onWindowVisibilityChanged()
/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/src/com/android/gallery3d/app/
DMoviePlayer.java218 public void onSystemUiVisibilityChange(int visibility) { in setOnSystemUiVisibilityChangeListener()
219 int diff = mLastSystemUiVis ^ visibility; in setOnSystemUiVisibilityChangeListener()
220 mLastSystemUiVis = visibility; in setOnSystemUiVisibilityChangeListener()
222 && (visibility & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) == 0) { in setOnSystemUiVisibilityChangeListener()
/packages/apps/Camera/src/com/android/camera/ui/
DTimerSettingPopup.java121 public void setVisibility(int visibility) { in setVisibility() argument
122 if (visibility == View.VISIBLE) { in setVisibility()
129 super.setVisibility(visibility); in setVisibility()
DTimeIntervalPopup.java131 public void setVisibility(int visibility) { in setVisibility() argument
132 if (visibility == View.VISIBLE) { in setVisibility()
139 super.setVisibility(visibility); in setVisibility()
DEffectSettingPopup.java140 public void setVisibility(int visibility) { in setVisibility() argument
141 if (visibility == View.VISIBLE) { in setVisibility()
150 super.setVisibility(visibility); in setVisibility()
/packages/apps/Gallery2/src/com/android/camera/ui/
DCountdownTimerPopup.java116 public void setVisibility(int visibility) { in setVisibility() argument
117 if (visibility == View.VISIBLE) { in setVisibility()
124 super.setVisibility(visibility); in setVisibility()
DTimeIntervalPopup.java131 public void setVisibility(int visibility) { in setVisibility() argument
132 if (visibility == View.VISIBLE) { in setVisibility()
139 super.setVisibility(visibility); in setVisibility()
DEffectSettingPopup.java140 public void setVisibility(int visibility) { in setVisibility() argument
141 if (visibility == View.VISIBLE) { in setVisibility()
150 super.setVisibility(visibility); in setVisibility()
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectVisibleCalendarsFragment.java163 int visibility = mAdapter.getVisible(position)^1; in toggleVisibility() local
164 values.put(Calendars.VISIBLE, visibility); in toggleVisibility()
166 mAdapter.setVisible(position, visibility); in toggleVisibility()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DEffectSettingPopup.java138 public void setVisibility(int visibility) { in setVisibility() argument
139 if (visibility == View.VISIBLE) { in setVisibility()
148 super.setVisibility(visibility); in setVisibility()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSettingsValues.java251 for (int visibility : SUGGESTION_VISIBILITY_VALUE_ARRAY) { in createSuggestionVisibility()
252 if (suggestionVisiblityStr.equals(res.getString(visibility))) { in createSuggestionVisibility()
253 return visibility; in createSuggestionVisibility()
/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/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/apps/Dialer/src/com/android/dialer/
DDialtactsActivity.java1216 private void sendFragmentVisibilityChange(int position, boolean visibility) { in sendFragmentVisibilityChange() argument
1219 + ", visibility: " + visibility); in sendFragmentVisibilityChange()
1225 fragment.setMenuVisibility(visibility); in sendFragmentVisibilityChange()
1226 fragment.setUserVisibleHint(visibility); in sendFragmentVisibilityChange()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageGeometry.java240 protected void onVisibilityChanged(View changedView, int visibility) { in onVisibilityChanged() argument
241 super.onVisibilityChanged(changedView, visibility); in onVisibilityChanged()
242 if (visibility == View.VISIBLE) { in onVisibilityChanged()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppShareInfo.java72 int direction, String destination, int visibility, int confirm, int status, in BluetoothOppShareInfo() argument
81 mVisibility = visibility; in BluetoothOppShareInfo()

12