Searched defs:view (Results 101 - 125 of 1300) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/view/
H A DVisibility.java17 package android.view;
23 import android.view.View;
36 // Find the view whose visibility will change
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DInputMethodSubtypeArrayTest.java17 package android.view.inputmethod;
24 import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder;
/frameworks/base/core/tests/coretests/src/android/view/menu/
H A DMenuWith1Item.java17 package android.view.menu;
H A DMenuWith1ItemTest.java17 package android.view.menu;
19 import android.view.menu.MenuWith1Item;
21 import com.android.internal.view.menu.MenuBuilder;
28 import android.view.KeyEvent;
29 import android.view.View;
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
H A DSelectionEventTest.java17 package android.view.textclassifier;
H A DTextLinksTest.java17 package android.view.textclassifier;
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A DPluginUtils.java18 import android.view.LayoutInflater;
19 import android.view.View;
23 public static void setId(Context sysuiContext, View view, String id) { argument
25 view.setId(i);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DInstanceTargets.java20 import android.view.View;
21 import android.view.ViewGroup;
44 public void sendMessage(final View view) { argument
45 TransitionManager.beginDelayedTransition(mSceneRoot, new ChangeBounds().addTarget(view));
H A DOverlayTest.java20 import android.view.View;
21 import android.view.ViewGroup;
39 public void onClick(View view) { argument
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DShadowGridActivity.java22 import android.view.View;
28 public void onViewCreated(View view, Bundle savedInstanceState) { argument
29 super.onViewCreated(view, savedInstanceState);
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DCalendarViewBindingAdapter.java30 public static void setDate(CalendarView view, long date) { argument
31 if (view.getDate() != date) {
32 view.setDate(date);
38 public static void setListeners(CalendarView view, final OnDateChangeListener onDayChange, argument
41 view.setOnDateChangeListener(onDayChange);
43 view.setOnDateChangeListener(new OnDateChangeListener() {
45 public void onSelectedDayChange(CalendarView view, int year, int month,
48 onDayChange.onSelectedDayChange(view, year, month, dayOfMonth);
H A DCompoundButtonBindingAdapter.java37 public static void setChecked(CompoundButton view, boolean checked) { argument
38 if (view.isChecked() != checked) {
39 view.setChecked(checked);
45 public static void setListeners(CompoundButton view, final OnCheckedChangeListener listener, argument
48 view.setOnCheckedChangeListener(listener);
50 view.setOnCheckedChangeListener(new OnCheckedChangeListener() {
H A DImageViewBindingAdapter.java31 public static void setImageUri(ImageView view, String imageUri) { argument
33 view.setImageURI(null);
35 view.setImageURI(Uri.parse(imageUri));
40 public static void setImageUri(ImageView view, Uri imageUri) { argument
41 view.setImageURI(imageUri);
45 public static void setImageDrawable(ImageView view, Drawable drawable) { argument
46 view.setImageDrawable(drawable);
H A DListenerUtil.java21 import android.view.View;
38 * public static void addFooListener(MyView view, OnFooListener listener) {
39 * OnFooListener oldValue = ListenerUtil.trackListener(view, listener, R.id.fooListener);
41 * view.removeOnFooListener(oldValue);
44 * view.addOnFooListener(listener);
48 * @param view The View that will have this listener
55 public static <T> T trackListener(View view, T listener, int listenerResourceId) { argument
57 final T oldValue = (T) view.getTag(listenerResourceId);
58 view.setTag(listenerResourceId, listener);
69 oldValue = (WeakReference<T>) listeners.remove(view);
91 getListener(View view, int listenerResourceId) argument
[all...]
H A DNumberPickerBindingAdapter.java39 public static void setValue(NumberPicker view, int value) { argument
40 if (view.getValue() != value) {
41 view.setValue(value);
47 public static void setListeners(NumberPicker view, final OnValueChangeListener listener, argument
50 view.setOnValueChangedListener(listener);
52 view.setOnValueChangedListener(new OnValueChangeListener() {
H A DRadioGroupBindingAdapter.java30 public static void setCheckedButton(RadioGroup view, int id) { argument
31 if (id != view.getCheckedRadioButtonId()) {
32 view.check(id);
38 public static void setListeners(RadioGroup view, final OnCheckedChangeListener listener, argument
41 view.setOnCheckedChangeListener(listener);
43 view.setOnCheckedChangeListener(new OnCheckedChangeListener() {
H A DRatingBarBindingAdapter.java30 public static void setRating(RatingBar view, float rating) { argument
31 if (view.getRating() != rating) {
32 view.setRating(rating);
38 public static void setListeners(RatingBar view, final OnRatingBarChangeListener listener, argument
41 view.setOnRatingBarChangeListener(listener);
43 view.setOnRatingBarChangeListener(new OnRatingBarChangeListener() {
/frameworks/data-binding/integration-tests/IndependentLibrary/app/src/main/java/android/databinding/test/independentlibrary/
H A DLibraryAdapter.java19 import android.view.View;
23 public static void set(View view, String someTag) { argument
24 view.setTag(someTag);
/frameworks/data-binding/integration-tests/MultiModuleTestApp/testlibrary/src/main/java/android/databinding/testlibrary/
H A DTestLibObject.java21 import android.view.View;
36 public void clickHandler(View view) { argument
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
H A DCustomNamespaceAdapter.java23 public static void setOne(TextView view, String value) { argument
24 view.setText(value);
28 public static void setTwo(TextView view, String value) { argument
29 view.setText(value);
/frameworks/layoutlib/bridge/src/android/view/
H A DMenuInflater_Delegate.java17 package android.view;
22 import com.android.internal.view.menu.BridgeMenuItemImpl;
23 import com.android.internal.view.menu.MenuView;
36 * The main purpose of the class is to get the view key from the menu xml parser and add it to
37 * the menu item. The view key is used by the IDE to match the individual view elements to the
41 * view key than the {@link MenuView.ItemView}. At the time of computation of the rest of {@link
42 * ViewInfo}, we check the corresponding view key in the menu item for the view and add it
H A DPointerIcon_Delegate.java17 package android.view;
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DIItem.java19 import android.view.View;
30 * passed to {@link #onBindView(android.view.View)}.
36 * update {@code view} to reflect its data.
38 * @param view A view inflated from {@link #getLayoutResource()}, which should be updated to
39 * display data from this item. This view may be recycled from other items with the
42 void onBindView(View view); argument
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
H A DFillContentLayoutTest.java17 package com.android.setupwizardlib.view;
22 import android.view.View;
23 import android.view.View.MeasureSpec;
/frameworks/support/car/src/main/java/androidx/car/utils/
H A DListItemBackgroundResolver.java19 import android.view.View;
32 * Sets the background on the given view so that the combination of all items looks like a
33 * rectangle with rounded corner. The view is assumed to have a non-rounded corner outline.
35 * <p>The view will be set with rounded backgrounds if it is the only card within the list.
36 * Or if it is the first or last view, it will have the top or bottom corners rounded
39 * @param view The view whose background to set.
44 public static void setBackground(View view, int currentPosition, int totalItems) { argument
57 view.setBackgroundResource(R.drawable.car_card_rounded_background);
60 view
[all...]

Completed in 2866 milliseconds

1234567891011>>