Searched refs:id (Results 176 - 200 of 3238) sorted by relevance

1234567891011>>

/frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/
H A DMainActivity.java53 findViewById(R.id.app_a_wake_lock_acquire1).setOnClickListener(
61 findViewById(R.id.app_b_wake_lock_acquire1).setOnClickListener(
69 findViewById(R.id.app_a_wake_lock_acquire2).setOnClickListener(
77 findViewById(R.id.app_b_wake_lock_acquire2).setOnClickListener(
85 findViewById(R.id.app_a_wake_lock_release1).setOnClickListener(
94 findViewById(R.id.app_b_wake_lock_release1).setOnClickListener(
102 findViewById(R.id.app_a_wake_lock_release2).setOnClickListener(
111 findViewById(R.id.app_b_wake_lock_release2).setOnClickListener(
120 findViewById(R.id.plug).setOnClickListener(new View.OnClickListener() {
128 findViewById(R.id
314 onWakeLockAcquire(int id, String name) argument
330 onWakeLockRelease(int id, String name) argument
[all...]
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DFragmentReplaceTest.java63 .add(R.id.content, TestFragment.create(R.layout.fragment_a))
67 assertNotNull(activity.findViewById(R.id.textA));
68 assertNull(activity.findViewById(R.id.textB));
69 assertNull(activity.findViewById(R.id.textC));
73 .add(R.id.content, TestFragment.create(R.layout.fragment_b))
77 assertNotNull(activity.findViewById(R.id.textA));
78 assertNotNull(activity.findViewById(R.id.textB));
79 assertNull(activity.findViewById(R.id.textC));
82 .replace(R.id.content, TestFragment.create(R.layout.fragment_c))
86 assertNull(activity.findViewById(R.id
[all...]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DViewsStateBundle.java33 * Maintains a bundle of states for a group of views. Each view must have a unique id to identify
38 * Vertical list maintains id->bundle mapping of all its children (even the children is offscreen
65 public void remove(int id) { argument
67 mChildStates.remove(getSaveStatesKey(id));
148 * Load view from states, it's none operation if the there is no state associated with the id.
151 * @param id unique id for the view within this ViewsStateBundle
153 public final void loadView(View view, int id) { argument
155 String key = getSaveStatesKey(id);
169 * @param id uniqu
171 saveViewUnchecked(View view, int id) argument
188 saveOnScreenView(Bundle bundle, View view, int id) argument
207 saveOffscreenView(View view, int id) argument
221 getSaveStatesKey(int id) argument
[all...]
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/drawer/
H A DWearableDrawerLayoutEspressoTest.java104 (WearableDrawerView) activity.findViewById(R.id.action_drawer);
106 (WearableDrawerView) activity.findViewById(R.id.navigation_drawer);
112 onView(withId(R.id.navigation_drawer))
115 allOf(withId(R.id.navigation_drawer), isOpened(true)),
126 onView(withId(R.id.action_drawer)).check(matches(isPeeking()));
127 onView(withId(R.id.navigation_drawer)).check(matches(isPeeking()));
130 onView(withId(R.id.drawer_layout)).perform(swipeDown());
131 onView(withId(R.id.navigation_drawer))
134 allOf(withId(R.id.navigation_drawer), isOpened(true)),
138 onView(withId(R.id
[all...]
/frameworks/layoutlib/bridge/src/android/content/res/
H A DResources_Delegate.java130 private static Pair<ResourceType, String> getResourceInfo(Resources resources, int id, argument
132 // first get the String related to this id in the framework
133 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id);
149 resourceInfo = getLayoutlibCallback(resources).resolveResourceId(id);
158 private static Pair<String, ResourceValue> getResourceValue(Resources resources, int id, argument
161 getResourceInfo(resources, id, platformResFlag_out);
182 static Drawable getDrawable(Resources resources, int id) { argument
183 return getDrawable(resources, id, null);
187 static Drawable getDrawable(Resources resources, int id, Theme theme) { argument
188 Pair<String, ResourceValue> value = getResourceValue(resources, id, mPlatformResourceFla
216 getColor(Resources resources, int id) argument
221 getColor(Resources resources, int id, Theme theme) argument
251 getColorStateList(Resources resources, int id) argument
256 getColorStateList(Resources resources, int id, Theme theme) argument
277 getText(Resources resources, int id, CharSequence def) argument
296 getText(Resources resources, int id) argument
319 getTextArray(Resources resources, int id) argument
333 getStringArray(Resources resources, int id) argument
363 getIntArray(Resources resources, int id) argument
416 getArrayResourceValue(Resources resources, int id) argument
467 getLayout(Resources resources, int id) argument
493 getAnimation(Resources resources, int id) argument
530 obtainTypedArray(Resources resources, int id) argument
535 getDimension(Resources resources, int id) argument
569 getDimensionPixelOffset(Resources resources, int id) argument
598 getDimensionPixelSize(Resources resources, int id) argument
627 getInteger(Resources resources, int id) argument
654 getFloat(Resources resources, int id) argument
674 getBoolean(Resources resources, int id) argument
751 getString(Resources resources, int id, Object... formatArgs) argument
767 getString(Resources resources, int id) argument
782 getQuantityString(Resources resources, int id, int quantity) argument
811 getQuantityString(Resources resources, int id, int quantity, Object... formatArgs) argument
818 getQuantityText(Resources resources, int id, int quantity) argument
824 getFont(Resources resources, int id) argument
838 getFont(Resources resources, TypedValue outValue, int id) argument
853 getValue(Resources resources, int id, TypedValue outValue, boolean resolveRefs) argument
889 getValueForDensity(Resources resources, int id, int density, TypedValue outValue, boolean resolveRefs) argument
895 getXml(Resources resources, int id) argument
920 loadXmlResourceParser(Resources resources, int id, String type) argument
926 loadXmlResourceParser(Resources resources, String file, int id, int assetCookie, String type) argument
950 openRawResource(Resources resources, int id) argument
985 openRawResource(Resources resources, int id, TypedValue value) argument
1012 openRawResourceFd(Resources resources, int id) argument
1088 throwException(Resources resources, int id) argument
1092 throwException(int id, @Nullable Pair<ResourceType, String> resourceInfo) argument
[all...]
/frameworks/base/core/java/android/view/
H A DVelocityTracker.java29 * and {@link #getYVelocity(int)} to retrieve the velocity for each pointer id.
45 private static native float nativeGetXVelocity(long ptr, int id); argument
46 private static native float nativeGetYVelocity(long ptr, int id); argument
47 private static native boolean nativeGetEstimator(long ptr, int id, Estimator outEstimator); argument
180 * @param id Which pointer's velocity to return.
183 public float getXVelocity(int id) { argument
184 return nativeGetXVelocity(mPtr, id);
191 * @param id Which pointer's velocity to return.
194 public float getYVelocity(int id) { argument
195 return nativeGetYVelocity(mPtr, id);
212 getEstimator(int id, Estimator outEstimator) argument
[all...]
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/widget/
H A DContentLoadingProgressBarActivity.java58 mBar = (ContentLoadingProgressBar)findViewById(R.id.progressbar);
59 mShowButton = (Button)findViewById(R.id.show);
61 mHideButton = (Button)findViewById(R.id.hide);
64 mShowText = (TextView)findViewById(R.id.show_text);
65 mShowTextDone = (TextView)findViewById(R.id.show_text_done);
66 mHideText = (TextView)findViewById(R.id.hide_text);
67 mHideTextDone = (TextView)findViewById(R.id.hide_text_done);
77 case R.id.show:
82 case R.id.hide:
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/widget/
H A DContentLoadingProgressBarActivity.java58 mBar = (ContentLoadingProgressBar)findViewById(R.id.progressbar);
59 mShowButton = (Button)findViewById(R.id.show);
61 mHideButton = (Button)findViewById(R.id.hide);
64 mShowText = (TextView)findViewById(R.id.show_text);
65 mShowTextDone = (TextView)findViewById(R.id.show_text_done);
66 mHideText = (TextView)findViewById(R.id.hide_text);
67 mHideTextDone = (TextView)findViewById(R.id.hide_text_done);
77 case R.id.show:
82 case R.id.hide:
/frameworks/av/services/camera/libcameraservice/device3/
H A DStatusTracker.h60 void removeComponent(int id);
66 void markComponentIdle(int id, const sp<Fence>& componentFence);
69 void markComponentActive(int id);
82 void markComponent(int id, ComponentState state,
91 int id; member in struct:android::camera3::StatusTracker::StateChange
/frameworks/base/core/tests/coretests/src/android/widget/
H A DDatePickerFocusTest.java50 mDatePicker = (DatePicker) mActivity.findViewById(R.id.datePicker);
64 assertViewHasFocus(com.android.internal.R.id.date_picker_header_year);
66 assertViewHasFocus(com.android.internal.R.id.prev);
68 assertViewHasFocus(com.android.internal.R.id.next);
70 assertViewHasFocus(com.android.internal.R.id.day_picker_view_pager);
72 assertViewHasFocus(R.id.belowPicker);
74 assertViewHasFocus(com.android.internal.R.id.day_picker_view_pager);
76 assertViewHasFocus(com.android.internal.R.id.next);
78 assertViewHasFocus(com.android.internal.R.id.prev);
80 assertViewHasFocus(com.android.internal.R.id
88 assertViewHasFocus(final int id) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DFocusAfterRemoval.java38 final LinearLayout left = findViewById(R.id.leftLayout);
41 Button topLeftButton = findViewById(R.id.topLeftButton);
51 Button bottomLeftButton = findViewById(R.id.bottomLeftButton);
60 final Button topRightButton = findViewById(R.id.topRightButton);
69 final Button bottomRightButton = findViewById(R.id.bottomRightButton);
/frameworks/base/graphics/java/android/graphics/
H A DLeakyTypefaceStorage.java55 final int id;
58 id = i.intValue();
60 id = sStorage.size();
62 sTypefaceMap.put(typeface, id);
64 parcel.writeInt(id);
/frameworks/base/packages/SimAppDialog/src/com/android/simappdialog/
H A DInstallCarrierAppActivity.java62 Button notNowButton = findViewById(R.id.skip_button);
65 Button downloadButton = findViewById(R.id.download_button);
73 TextView subtitle = findViewById(R.id.install_carrier_app_description);
82 case R.id.skip_button:
85 case R.id.download_button:
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
H A DExtensionFragmentListener.java27 * Wires up an Extension to a Fragment tag/id so that it always contains the class
40 private ExtensionFragmentListener(View view, String tag, int id, Extension<T> extension) { argument
44 mId = id;
46 .replace(id, (Fragment) mExtension.get(), mTag)
64 public static <T> void attachExtensonToFragment(View view, String tag, int id, argument
66 extension.addCallback(new ExtensionFragmentListener(view, tag, id, extension));
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/car/
H A DCarStatusBarHeader.java47 applyDarkness(R.id.battery, tintArea, intensity, colorForeground);
48 applyDarkness(R.id.clock, tintArea, intensity, colorForeground);
50 ((BatteryMeterView) findViewById(R.id.battery)).setForceShowPercent(true);
53 private void applyDarkness(@IdRes int id, Rect tintArea, float intensity, int color) { argument
54 View v = findViewById(id);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewFlipperActivity.java39 ViewFlipper flipper = (ViewFlipper) widget.findViewById(R.id.flipper);
43 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset1);
44 ((TextView) view.findViewById(R.id.widget_text)).setText("This is a long line of text, "
49 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset3);
50 ((TextView) view.findViewById(R.id.widget_text)).setText("Another very long line of text, "
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScriptIntrinsic3DLUT.java35 protected ScriptIntrinsic3DLUT(long id, RenderScript rs, Element e) { argument
36 super(id, rs);
54 long id;
58 id = rs.nScriptIntrinsicCreate(8, e.getID(rs), mUseIncSupp);
60 ScriptIntrinsic3DLUT si = new ScriptIntrinsic3DLUT(id, rs, e);
H A DScriptIntrinsicBlur.java35 protected ScriptIntrinsicBlur(long id, RenderScript rs) { argument
36 super(id, rs);
55 long id;
59 id = rs.nScriptIntrinsicCreate(5, e.getID(rs), mUseIncSupp);
61 ScriptIntrinsicBlur si = new ScriptIntrinsicBlur(id, rs);
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/view/
H A DCardViewActivity.java112 mInfoText = findViewById(R.id.info_text);
113 mCardView = findViewById(R.id.card_view);
114 mCornerRadiusSeekBar = findViewById(R.id.corner_radius_seek_bar);
118 mWidthSeekBar = findViewById(R.id.width_seek_bar);
123 mHeightSeekBar = findViewById(R.id.height_seek_bar);
127 mElevationSeekBar = findViewById(R.id.elevation_seek_bar);
131 mMaxElevationSeekBar = findViewById(R.id.max_elevation_seek_bar);
135 mAlphaSeekBar = findViewById(R.id.alpha_seek_bar);
139 RadioGroup rb = findViewById(R.id.select_target_radio);
143 mResizeCardView = checkedId == R.id
171 getColorId(int id) argument
[all...]
/frameworks/support/loader/src/main/java/androidx/loader/app/
H A DLoaderManager.java50 * @param id The ID whose loader is to be created.
56 Loader<D> onCreateLoader(int id, @Nullable Bundle args); argument
147 * @param id A unique identifier for this loader. Can be whatever you want.
157 public abstract <D> Loader<D> initLoader(int id, @Nullable Bundle args, argument
164 * If a loader with the same id has previously been
171 * @param id A unique identifier for this loader. Can be whatever you want.
179 public abstract <D> Loader<D> restartLoader(int id, @Nullable Bundle args, argument
191 public abstract void destroyLoader(int id); argument
194 * Return the Loader with the given id or null if no matching Loader
198 public abstract <D> Loader<D> getLoader(int id); argument
[all...]
/frameworks/support/percent/src/androidTest/java/androidx/percentlayout/widget/
H A DPercentDynamicLayoutTest.java107 onView(withId(R.id.percent_layout)).check(doesNotExist());
108 onView(withId(R.id.percent_stub)).perform(
113 R.id.percent_layout);
122 final View child1 = percentFrameLayout.findViewById(R.id.child1);
123 final View child2 = percentFrameLayout.findViewById(R.id.child2);
137 onView(withId(R.id.percent_layout)).check(doesNotExist());
138 onView(withId(R.id.percent_stub)).perform(
143 R.id.percent_layout);
152 final View child1 = percentFrameLayout.findViewById(R.id.child1);
153 final View child2 = percentFrameLayout.findViewById(R.id
[all...]
/frameworks/support/room/compiler/src/test/data/daoWriter/input/
H A DComplexDao.java24 public int id; field in class:ComplexDao.FullName
39 @Query("SELECT name || lastName as fullName, uid as id FROM user where uid = :id")
40 abstract public List<FullName> fullNames(int id); argument
42 @Query("SELECT * FROM user where uid = :id")
43 abstract public User getById(int id); argument
51 @Query("SELECT ageColumn FROM user where uid = :id")
52 abstract int getAge(int id); argument
60 @Query("SELECT * FROM user where uid = :id")
61 abstract public LiveData<User> getByIdLive(int id); argument
[all...]
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/migration/
H A DMigrationDbKotlin.kt41 data class Entity1(@PrimaryKey var id: Int = 0, var name: String?) {
49 open class Entity2(@PrimaryKey var id: Int = 0, var addedInV3: String?, var name: String?) {
56 data class Entity3(@PrimaryKey var id: Int = 0, @Ignore var removedInV5: String?,
67 data class Entity4(@PrimaryKey var id: Int = 0, var name: String?) {
75 @Query("SELECT * from Entity1 ORDER BY id ASC")
78 @Query("SELECT * from Entity2 ORDER BY id ASC")
81 @Query("SELECT * from Entity2 ORDER BY id ASC")
88 internal class Entity2Pojo(id: Int, addedInV3: String?, name: String?)
89 : Entity2(id, addedInV3, name)
96 fun insertIntoEntity1(id
[all...]
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/view/
H A DCardViewActivity.java112 mInfoText = findViewById(R.id.info_text);
113 mCardView = findViewById(R.id.card_view);
114 mCornerRadiusSeekBar = findViewById(R.id.corner_radius_seek_bar);
118 mWidthSeekBar = findViewById(R.id.width_seek_bar);
123 mHeightSeekBar = findViewById(R.id.height_seek_bar);
127 mElevationSeekBar = findViewById(R.id.elevation_seek_bar);
131 mMaxElevationSeekBar = findViewById(R.id.max_elevation_seek_bar);
135 mAlphaSeekBar = findViewById(R.id.alpha_seek_bar);
139 RadioGroup rb = findViewById(R.id.select_target_radio);
143 mResizeCardView = checkedId == R.id
171 getColorId(int id) argument
[all...]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DVectorEnabledTintResources.java65 public Drawable getDrawable(int id) throws NotFoundException { argument
68 return AppCompatDrawableManager.get().onDrawableLoadedFromResources(context, this, id);
70 return super.getDrawable(id);
74 final Drawable superGetDrawable(int id) { argument
75 return super.getDrawable(id);

Completed in 428 milliseconds

1234567891011>>