/cts/tests/tests/text/src/android/text/cts/ |
AutoTextTest.java | 22 import android.view.View; 33 args = {java.lang.CharSequence.class, int.class, int.class, android.view.View.class} 42 // New a View instance. 43 View view = new View(getContext()); local 47 actual = AutoText.get(src, 0, src.length(), view); 53 actual = AutoText.get(src, 0, src.length(), view); 88 View view = new View(getContext()); local [all...] |
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
DemoKitPhone.java | 5 import android.view.View; 6 import android.view.View.OnClickListener; 52 mInputContainer.setVisibility(View.VISIBLE); 54 mOutputContainer.setVisibility(View.GONE); 57 mInputContainer.setVisibility(View.GONE); 59 mOutputContainer.setVisibility(View.VISIBLE); 64 public void onClick(View v) {
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
CellSpanTest.java | 24 import android.view.View; 31 private View mA; 32 private View mB; 33 private View mC; 34 private View mSpanThenCell; 35 private View mCellThenSpan; 36 private View mSpan;
|
VerticalGravityTest.java | 26 import android.view.View; 33 private View mReference1; 34 private View mReference2; 35 private View mReference3; 36 private View mTop; 37 private View mCenter; 38 private View mBottom;
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
SingleRecipientArrayAdapter.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 42 public View getView(int position, View convertView, ViewGroup parent) { 50 private View newView() { 54 private void bindView(View view, Context context, RecipientEntry entry) { 55 TextView display = (TextView) view.findViewById(android.R.id.title) [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
CalendarAppWidgetServiceTest.java | 29 import android.view.View; 62 // expected.visibNoEvents = View.VISIBLE; 100 eventInfo.visibWhen = View.VISIBLE; 101 eventInfo.visibWhere = View.VISIBLE; 102 eventInfo.visibTitle = View.VISIBLE; 128 eventInfo.visibWhen = View.VISIBLE; 129 eventInfo.visibWhere = View.VISIBLE; 130 eventInfo.visibTitle = View.VISIBLE; 138 eventInfo.visibWhen = View.VISIBLE [all...] |
/external/chromium/chrome/browser/resources/net_internals/ |
view.js | 6 * Base class to represent a "view". A view is an absolutely positioned box on 11 function View() { 16 * Called to reposition the view on the page. Measurements are in pixels. 18 View.prototype.setGeometry = function(left, top, width, height) { 26 * Called to show/hide the view. 28 View.prototype.show = function(isVisible) { 32 View.prototype.isVisible = function() { 42 View.prototype.isActive = function() { 46 View.prototype.getLeft = function() [all...] |
/development/ndk/platforms/android-9/samples/native-audio/src/com/example/nativeaudio/ |
NativeAudio.java | 23 import android.view.View; 24 import android.view.View.OnClickListener; 72 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 85 public void onClick(View view) { 92 public void onClick(View view) { [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
KindSectionView.java | 29 import android.view.LayoutInflater; 30 import android.view.View; 31 import android.view.ViewGroup; 39 * Custom view for an entire section of data as segmented by 40 * {@link DataKind} around a {@link Data#MIMETYPE}. This view shows a 48 private View mAddFieldFooter; 78 mAddFieldFooter.setVisibility(View.VISIBLE); 80 mAddFieldFooter.setVisibility(View.GONE); 101 public void onClick(View v) 186 final View view; local 265 View view = mEditors.getChildAt(i); local 286 View view = mEditors.getChildAt(i); local [all...] |
BaseRawContactEditorView.java | 34 import android.view.View; 35 import android.view.ViewGroup; 39 * Base view that provides common code for the editor interaction for a specific 52 private View mBody; 53 private View mDivider; 89 mPhoto.setVisibility(hasPhotoEditor ? View.VISIBLE : View.GONE); 117 * Set the internal state for this view, given a current 135 mBody.setVisibility(newValue ? View.VISIBLE : View.GONE) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
Choreographer.java | 26 import android.view.View; 38 View mRootView; 39 View mScrimView; 40 View mContentView; 41 View mNoRecentAppsView; 48 public Choreographer(View root, View scrim, View content, 49 View noRecentApps, Animator.AnimatorListener listener) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
AutologinBar.java | 20 import android.view.ContextThemeWrapper; 21 import android.view.View; 22 import android.view.View.OnClickListener; 39 protected View mAutoLoginCancel; 73 public void onClick(View v) { 84 mAutoLoginProgress.setVisibility(View.VISIBLE); 85 mAutoLoginError.setVisibility(View.GONE); 106 mAutoLoginProgress.setVisibility(View.INVISIBLE) [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
IndicatorControlBarContainer.java | 25 import android.view.MotionEvent; 26 import android.view.View; 27 import android.view.animation.Animation; 28 import android.view.animation.Animation.AnimationListener; 29 import android.view.animation.AnimationUtils; 85 if (mIndicatorControlBar.getVisibility() == View.VISIBLE) { 87 } else if (mSecondLevelIndicatorControlBar.getVisibility() == View.VISIBLE) { 96 mSecondLevelIndicatorControlBar.setVisibility(View.GONE); 98 mIndicatorControlBar.setVisibility(View.GONE) [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiConfigUiForSetupWizardXL.java | 24 import android.view.LayoutInflater; 25 import android.view.View; 26 import android.view.View.OnFocusChangeListener; 27 import android.view.ViewGroup; 28 import android.view.inputmethod.InputMethodManager; 43 private View mView; 55 * @param parent Parent ViewGroup (typically some layout) holding a view object created by 76 if (mView.findViewById(R.id.security_fields).getVisibility() == View.VISIBLE) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentHideShow.java | 26 import android.view.LayoutInflater; 27 import android.view.View; 28 import android.view.ViewGroup; 29 import android.view.View.OnClickListener; 43 // The content view embeds two fragments; now retrieve them and attach 53 public void onClick(View v) { 73 public View onCreateView(LayoutInflater inflater, ViewGroup container, 75 View v = inflater.inflate(R.layout.labeled_text_edit, container, false) [all...] |
ActionBarSettingsActionProviderActivity.java | 23 import android.view.ActionProvider; 24 import android.view.LayoutInflater; 25 import android.view.Menu; 26 import android.view.MenuItem; 27 import android.view.View; 34 * This activity demonstrates how to implement an {@link android.view.ActionProvider} 86 public View onCreateActionView() { 87 // Inflate the action view to be shown on the action bar. 89 View view = layoutInflater.inflate(R.layout.action_bar_settings_action_provider, null) local [all...] |
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentHideShowSupport.java | 27 import android.view.LayoutInflater; 28 import android.view.View; 29 import android.view.ViewGroup; 30 import android.view.View.OnClickListener; 44 // The content view embeds two fragments; now retrieve them and attach 54 public void onClick(View v) { 74 public View onCreateView(LayoutInflater inflater, ViewGroup container, 76 View v = inflater.inflate(R.layout.labeled_text_edit, container, false) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
TabletStatusBarView.java | 23 import android.view.View; 24 import android.view.MotionEvent; 31 private final View[] mIgnoreChildren = new View[MAX_PANELS]; 32 private final View[] mPanels = new View[MAX_PANELS]; 59 if (mPanels[i] != null && mPanels[i].getVisibility() == View.VISIBLE) { 63 "TabletStatusBarView eating event for view: " 77 private boolean eventInside(View v, MotionEvent ev) [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ViewLayersActivity6.java | 27 import android.view.View; 28 import android.view.ViewGroup; 48 public void enableLayer(View v) { 49 findViewById(R.id.list1).setLayerType(View.LAYER_TYPE_HARDWARE, mPaint); 52 public void disableLayer(View v) { 53 findViewById(R.id.list1).setLayerType(View.LAYER_TYPE_NONE, null); 56 public void growLayer(View v) { 61 public void shrinkLayer(View v) { 77 public View getView(int position, View convertView, ViewGroup parent) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
ExpandableTextView.java | 22 import android.view.View; 23 import android.view.View.OnClickListener; 61 public void onClick(View v) { 62 if (mButton.getVisibility() != View.VISIBLE) { 74 if (!mRelayout || getVisibility() == View.GONE) { 82 mButton.setVisibility(View.GONE); 93 // Doesn't fit in collapsed mode. Collapse text view as needed. Show 98 mButton.setVisibility(View.VISIBLE) [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
StreamItemAdapter.java | 26 import android.view.LayoutInflater; 27 import android.view.View; 28 import android.view.ViewGroup; 37 /** The header view, hidden under the tab carousel, if present. */ 43 private final View.OnClickListener mItemClickListener; 44 private final View.OnClickListener mPhotoClickListener; 49 public StreamItemAdapter(Context context, View.OnClickListener itemClickListener, 50 View.OnClickListener photoClickListener) { 97 public View getView(int position, View convertView, ViewGroup parent) 106 final View view = ContactDetailDisplayUtils.createStreamItemView( local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
ApnPreference.java | 27 import android.view.View; 28 import android.view.ViewGroup; 29 import android.view.View.OnClickListener; 71 public View getView(View convertView, ViewGroup parent) { 72 View view = super.getView(convertView, parent); local 74 View widget = view.findViewById(R.id.apn_radiobutton) [all...] |
/development/apps/Development/src/com/android/development/ |
ArrayAdapter.java | 20 import android.view.View; 21 import android.view.ViewGroup; 22 import android.view.LayoutInflater; 40 public abstract void bindView(View view, E item); 62 public View getView(int position, View convertView, ViewGroup parent) { 63 View view; local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
LayoutAnimationsByDefault.java | 23 import android.view.View; 47 addButton.setOnClickListener(new View.OnClickListener() { 48 public void onClick(View v) { 51 newButton.setOnClickListener(new View.OnClickListener() { 52 public void onClick(View v) {
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
DragAndDropDemo.java | 17 package com.example.android.apis.view; 23 import android.view.DragEvent; 24 import android.view.View; 48 mResultText.setOnDragListener(new View.OnDragListener() { 49 public boolean onDrag(View v, DragEvent event) { 56 mHiddenDot.setVisibility(View.VISIBLE); 61 mHiddenDot.setVisibility(View.INVISIBLE);
|