/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/list/ |
ContactListItemViewTest.java | 58 ContactListItemView view = createView(); local 60 view.showDisplayName(cursor, 0, ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY); 62 assertEquals(view.getNameTextView().getText().toString(), "John Doe"); 67 ContactListItemView view = createView(); local 69 view.setUnknownNameText("unknown"); 70 view.showDisplayName(cursor, 0, ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY); 72 assertEquals(view.getNameTextView().getText().toString(), "unknown"); 77 ContactListItemView view = createView(); local 79 view.setHighlightedPrefix("DOE"); 80 view.showDisplayName(cursor, 0, ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY) 89 ContactListItemView view = createView(); local 100 ContactListItemView view = createView(); local 112 ContactListItemView view = new ContactListItemView(getContext()); local [all...] |
/frameworks/base/core/tests/coretests/res/layout/ |
layout_three.xml | 21 <view class="android.view.InflateTest$ViewOne" android:id="@+id/view1" android:layout_width="match_parent" android:layout_height="match_parent"/> 22 <view class="android.view.InflateTest$ViewOne" android:id="@+id/view2" android:layout_width="match_parent" android:layout_height="match_parent"/> 23 <view class="android.view.InflateTest$ViewOne" android:id="@+id/view3" android:layout_width="match_parent" android:layout_height="match_parent"/> 24 <view class="android.view.InflateTest$ViewOne" android:id="@+id/view4" android:layout_width="match_parent" android:layout_height="match_parent"/> 25 <view class="android.view.InflateTest$ViewOne" android:id="@+id/view5" android:layout_width="match_parent" android:layout_he (…) [all...] |
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
BigEditTextActivityScrollablePanScan.java | 23 import android.view.View; 24 import android.view.ViewGroup; 25 import android.view.WindowManager; 31 private View mRootView; 32 private View mDefaultFocusedView; 53 View view = getLayoutInflater().inflate( local 56 mLayout.addView(view); 59 mDefaultFocusedView = view.findViewById(R.id.data) [all...] |
BigEditTextActivityScrollableResize.java | 23 import android.view.View; 24 import android.view.ViewGroup; 25 import android.view.WindowManager; 31 private View mRootView; 32 private View mDefaultFocusedView; 53 View view = getLayoutInflater().inflate( local 56 mLayout.addView(view); 59 mDefaultFocusedView = view.findViewById(R.id.data) [all...] |
BottomEditTextActivityPanScan.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.WindowManager; 36 private View mRootView; 37 private View mDefaultFocusedView; 47 View view = getLayoutInflater().inflate(R.layout.one_edit_text_activity, ((LinearLayout) mRootView), false); local 48 mDefaultFocusedView = view.findViewById(R.id.dialog_edit_text); 49 ((LinearLayout) mRootView).addView(view); [all...] |
BottomEditTextActivityResize.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.WindowManager; 36 private View mRootView; 37 private View mDefaultFocusedView; 47 View view = getLayoutInflater().inflate(R.layout.one_edit_text_activity, ((LinearLayout) mRootView), false); local 48 mDefaultFocusedView = view.findViewById(R.id.dialog_edit_text); 49 ((LinearLayout) mRootView).addView(view); [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
SlideshowPresenter.java | 53 // Since only the original thread that created a view hierarchy can touch 58 public SlideshowPresenter(Context context, ViewInterface view, Model model) { 59 super(context, view, model); 63 if (view instanceof AdaptableSlideViewInterface) { 64 ((AdaptableSlideViewInterface) view).setOnSizeChangedListener( 77 // The ratio indicates how to reduce the source to match the View, 120 * @param view 123 protected void presentSlide(SlideViewInterface view, SlideModel model) { 124 view.reset(); 128 presentRegionMedia(view, (RegionMediaModel) media, true) 270 final SlideViewInterface view = (SlideViewInterface) mView; local [all...] |
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
InfoDialogFragment.java | 7 import android.view.LayoutInflater; 8 import android.view.View; 9 import android.view.ViewGroup; 13 public class InfoDialogFragment extends DialogFragment implements View.OnClickListener { 26 public View onCreateView(LayoutInflater inflater, ViewGroup container, 28 View view = inflater.inflate(R.layout.fragment_info, container); local 30 mOkButton = (Button) view.findViewById(R.id.info_ok_button); 33 mInfoText= (TextView) view.findViewById(R.id.info_text) [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
dev_tools_controller.h | 20 // A class that handles updates of the devTools view within a browser window. 22 // the view, if there's no devTools contents to show. 25 // A view hosting docked devTools contents. 34 // This controller's view. 35 - (NSView*)view; 37 // The compiler seems to have trouble handling a function named "view" that 47 // Call when the devTools view is properly sized and the render widget host view 48 // should be put into the view hierarchy.
|
view_resizer_pong.mm | 13 - (void)resizeView:(NSView*)view newHeight:(CGFloat)height { 16 // Set the view's height and width, in case it uses that as important state. 17 [view setFrame:NSMakeRect(100, 50, 18 NSWidth([[view superview] frame]) - 50, height)];
|
/external/chromium/chrome/browser/ui/touch/frame/ |
keyboard_container_view.cc | 14 // Make the provided view and all of its descendents unfocusable. 15 void MakeViewHierarchyUnfocusable(views::View* view) { 16 view->SetFocusable(false); 17 for (int i = 0; i < view->child_count(); ++i) { 18 MakeViewHierarchyUnfocusable(view->GetChildViewAt(i)); 42 // TODO(bryeung): include a border between the keyboard and the client view 47 View* parent, 48 View* child) {
|
/external/chromium/chrome/browser/ui/views/ |
accessibility_event_router_views.cc | 28 #include "views/view.h" 49 views::View* view, ui::AccessibilityTypes::Event event_type) { 58 view, NotificationType::ACCESSIBILITY_CONTROL_FOCUSED); 63 view, NotificationType::ACCESSIBILITY_MENU_OPENED); 68 view, NotificationType::ACCESSIBILITY_MENU_CLOSED); 73 view, NotificationType::ACCESSIBILITY_TEXT_CHANGED); 77 view, NotificationType::ACCESSIBILITY_CONTROL_ACTION); 117 std::string AccessibilityEventRouterViews::GetViewName(views::View* view) { [all...] |
/external/chromium-trace/trace-viewer/examples/ |
stream_trace_viewer.html | 12 .view { 41 var view = new tracing.TimelineView(); 42 view.style.height = '800px'; 43 view.model = model; 44 view.tabIndex = 0; 45 view.focusElement = view; 55 view.model = event.model; 58 document.body.appendChild(view);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AdapterViewBehavior.java | 4 import android.view.View; 5 import android.view.ViewGroup; 43 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { 76 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { 78 assertThat(view, both(sameInstance(adapterView.getChildAt(position))).and(not(nullValue()))); 98 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) [all...] |
/external/webkit/Source/WebCore/manual-tests/ |
back-forward-during-alert-1.html | 2 View this page, then click <a href="back-forward-during-alert-2.html">here.</a>
|
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityNodeProvider.java | 17 package android.view.accessibility; 21 import android.view.View; 27 * virtual view hierarchy rooted at a given view for accessibility purposes. A virtual 28 * view hierarchy is a tree of imaginary Views that is reported as a part of the view 30 * Since the virtual View tree does not exist this class is responsible for 35 * The main use case of these APIs is to enable a custom view that draws complex content, 40 * A typical use case is to override {@link View#getAccessibilityNodeProvider()} of th [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
GridSimple.java | 21 import android.view.View; 22 import android.view.ViewGroup; 49 protected View createView(int position, ViewGroup parent, int desiredHeight) { 50 View view = super.createView(position, parent, desiredHeight); local 51 view.setBackgroundColor(0xFF000000); 52 ((TextView) view).setTextSize(16.0f); 53 return view;
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListSimple.java | 21 import android.view.View; 22 import android.view.ViewGroup; 45 protected View createView(int position, ViewGroup parent, int desiredHeight) { 46 View view = super.createView(position, parent, desiredHeight); local 47 view.setBackgroundColor(0xFF191919); 48 ((TextView) view).setTextSize(16.0f); 49 return view;
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
BiDiTestTextViewDrawablesLtr.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 28 private View currentView; 32 public View onCreateView(LayoutInflater inflater, ViewGroup container, 39 public void onViewCreated(View view, Bundle savedInstanceState) { 40 super.onViewCreated(view, savedInstanceState);
|
BiDiTestTextViewDrawablesRtl.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 28 private View currentView; 32 public View onCreateView(LayoutInflater inflater, ViewGroup container, 39 public void onViewCreated(View view, Bundle savedInstanceState) { 40 super.onViewCreated(view, savedInstanceState);
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
package.html | 3 Support classes to access some of the android.view.accessibility package features introduced after API level 4 in a backwards compatible fashion.
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
LegacyContactListAdapter.java | 24 import android.view.View; 25 import android.view.ViewGroup; 76 protected View newView(Context context, int partition, Cursor cursor, int position, 78 final ContactListItemView view = new ContactListItemView(context, null); local 79 view.setUnknownNameText(mUnknownNameText); 80 return view; 84 protected void bindView(View itemView, int partition, Cursor cursor, int position) { 85 ContactListItemView view = (ContactListItemView)itemView; local 86 bindName(view, cursor) [all...] |
/packages/apps/Gallery2/src/com/android/camera/ |
VideoController.java | 19 import android.view.View; 25 public void onReviewDoneClicked(View view); 26 public void onReviewCancelClicked(View viwe); 27 public void onReviewPlayClicked(View view); 33 public void onSingleTapUp(View view, int x, int y);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
SuggestionsListView.java | 18 import android.view.View; 27 * See {@link View#setOnKeyListener}. 29 void setOnKeyListener(View.OnKeyListener l); 37 * See {@link View#setOnFocusChangeListener}. 39 void setOnFocusChangeListener(View.OnFocusChangeListener l); 42 * See {@link View#setVisibility}. 62 * Set whether or not to limit suggestions by view height. If {@code true}, only enough 63 * suggestions to fill the view without scrolling will be shown.
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
UserDictionaryToolsListFocus.java | 19 import android.view.View; 24 * The view class of the stroke and the candidate. 29 /** the information of the pair of view */ 42 * Get the pair of view 44 * @return The information of the pair of view 46 public View getPairView() { 51 * Set the pair of view 53 * @param pairView The information of the pair of view
|