Searched refs:id (Results 51 - 75 of 1901) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/service/carrier/
H A DICarrierService.aidl31 PersistableBundle getCarrierConfig(in CarrierIdentifier id);
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/view/menu/
H A DMenuBuilder_Delegate.java33 /*package*/ static MenuItemImpl createNewMenuItem(MenuBuilder thisMenu, int group, int id, argument
35 return new BridgeMenuItemImpl(thisMenu, group, id, categoryOrder, ordering, title,
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DRadioGroupBindingObject.java23 private int mCheckedButton = R.id.choiceOne;
30 mCheckedButton = R.id.choiceTwo;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DItem.java30 public int id; field in class:Item
36 public Item(int id, String text) { argument
37 this(id, text, null);
40 public Item(int id, String text, Bitmap icon) { argument
41 this.id = id;
47 id = in.readInt();
59 dest.writeInt(id);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSectionRow.java25 public SectionRow(long id, String name) { argument
26 super(new HeaderItem(id, name));
H A DAction.java23 * An action contains one or two lines of text, an optional image and an optional id. It may also
28 /** Indicates that an id has not been set. */
40 * @param id The id of the Action.
42 public Action(long id) { argument
43 this(id, "");
49 * @param id The id of the Action.
52 public Action(long id, CharSequence label) { argument
53 this(id, labe
63 Action(long id, CharSequence label1, CharSequence label2) argument
75 Action(long id, CharSequence label1, CharSequence label2, Drawable icon) argument
85 setId(long id) argument
[all...]
/frameworks/support/v4/java/android/support/v4/content/
H A DWakefulBroadcastReceiver.java82 int id = mNextId;
88 intent.putExtra(EXTRA_WAKE_LOCK_ID, id);
99 mActiveWakeLocks.put(id, wl);
113 final int id = intent.getIntExtra(EXTRA_WAKE_LOCK_ID, 0);
114 if (id == 0) {
118 PowerManager.WakeLock wl = mActiveWakeLocks.get(id);
121 mActiveWakeLocks.remove(id);
130 Log.w("WakefulBroadcastReceiver", "No active wake lock id #" + id);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DPartner.java55 public static Drawable getDrawable(Context context, int id) { argument
56 final ResourceEntry entry = getResourceEntry(context, id);
57 return entry.resources.getDrawable(entry.id);
66 public static String getString(Context context, int id) { argument
67 final ResourceEntry entry = getResourceEntry(context, id);
68 return entry.resources.getString(entry.id);
78 * {@code entry.resources.getString(entry.id)}, or other methods available in
81 public static ResourceEntry getResourceEntry(Context context, int id) { argument
85 final String name = ourResources.getResourceEntryName(id);
86 final String type = ourResources.getResourceTypeName(id);
97 public int id; field in class:Partner.ResourceEntry
100 ResourceEntry(Resources resources, int id, boolean isOverlay) argument
[all...]
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DCrossfadeMultiple.java52 ViewGroup container = (ViewGroup) findViewById(R.id.container);
55 mButton = (Button) findViewById(R.id.button);
56 mImageView = (ImageView) findViewById(R.id.imageview);
57 mTextView = (TextView) findViewById(R.id.textview);
60 mCrossfade.addTarget(R.id.button).addTarget(R.id.textview).addTarget(R.id.imageview);
96 int id = view.getId();
98 switch (id) {
99 case R.id
[all...]
H A DScenesTestv21.java42 View container = (View) findViewById(R.id.container);
50 fade.addTarget(R.id.resultsText).addTarget(R.id.resultsList);
53 transitionToResults.addTransition(new ChangeBounds().addTarget(R.id.searchContainer));
54 transitionToResults.addTransition(new Recolor().addTarget(R.id.container));
57 transitionToSearch.addTransition(new Fade().addTarget(R.id.resultsText).
58 addTarget(R.id.resultsList));
59 transitionToSearch.addTransition(new ChangeBounds().addTarget(R.id.searchContainer));
60 transitionToSearch.addTransition(new Recolor().addTarget(R.id.container));
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicYuvToRGB.java32 ScriptIntrinsicYuvToRGB(long id, RenderScript rs) { argument
33 super(id, rs);
48 long id;
52 id = rs.nScriptIntrinsicCreate(6, e.getID(rs), mUseIncSupp);
54 ScriptIntrinsicYuvToRGB si = new ScriptIntrinsicYuvToRGB(id, rs);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DSelectRequestBuffer.java49 public SelectRequest(HdmiControlService service, int id, IHdmiControlCallback callback) { argument
51 mId = id;
86 private DeviceSelectRequest(HdmiControlService srv, int id, IHdmiControlCallback callback) { argument
87 super(srv, id, callback);
93 Slog.v(TAG, "calling delayed deviceSelect id:" + mId);
100 private PortSelectRequest(HdmiControlService srv, int id, IHdmiControlCallback callback) { argument
101 super(srv, id, callback);
107 Slog.v(TAG, "calling delayed portSelect id:" + mId);
113 public static DeviceSelectRequest newDeviceSelect(HdmiControlService srv, int id, argument
115 return new DeviceSelectRequest(srv, id, callbac
118 newPortSelect(HdmiControlService srv, int id, IHdmiControlCallback callback) argument
[all...]
/frameworks/support/v4/tests/java/android/support/v4/app/
H A DFragmentReplaceTest.java48 .add(R.id.content, TestFragment.create(R.layout.fragment_a))
52 assertNotNull(mActivity.findViewById(R.id.textA));
53 assertNull(mActivity.findViewById(R.id.textB));
54 assertNull(mActivity.findViewById(R.id.textC));
58 .add(R.id.content, TestFragment.create(R.layout.fragment_b))
62 assertNotNull(mActivity.findViewById(R.id.textA));
63 assertNotNull(mActivity.findViewById(R.id.textB));
64 assertNull(mActivity.findViewById(R.id.textC));
67 .replace(R.id.content, TestFragment.create(R.layout.fragment_c))
71 assertNull(mActivity.findViewById(R.id
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardPINView.java71 return R.id.pinEntry;
78 mContainer = (ViewGroup) findViewById(R.id.container);
79 mRow0 = (ViewGroup) findViewById(R.id.row0);
80 mRow1 = (ViewGroup) findViewById(R.id.row1);
81 mRow2 = (ViewGroup) findViewById(R.id.row2);
82 mRow3 = (ViewGroup) findViewById(R.id.row3);
83 mDivider = findViewById(R.id.divider);
89 findViewById(R.id.key1), findViewById(R.id.key2),
90 findViewById(R.id
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DRadioGroupPreCheckedTest.java38 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_one);
41 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group);
42 assertEquals("The first radio button should be checked", R.id.value_one,
50 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_two);
53 RadioButton old = (RadioButton) activity.findViewById(R.id.value_one);
58 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group);
59 assertEquals("The second radio button should be checked", R.id.value_two,
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DClassifierData.java45 int id = event.getPointerId(i);
46 if (mCurrentStrokes.get(id) == null) {
47 mCurrentStrokes.put(id, new Stroke(event.getEventTimeNano(), mDpi));
49 mCurrentStrokes.get(id).addPoint(event.getX(i), event.getY(i),
54 mEndingStrokes.add(getStroke(id));
63 int id = event.getPointerId(i);
66 mCurrentStrokes.remove(id);
79 * @param id the id from MotionEvent
80 * @return the Stroke assigned to the id
82 getStroke(int id) argument
[all...]
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DTemplateLayoutTest.java41 R.id.suw_layout_content);
43 tv.setId(R.id.test_view_id);
45 View view = layout.findViewById(R.id.test_view_id);
54 View content = layout.findViewById(R.id.test_content);
55 assertTrue("@id/test_content should be a TextView", content instanceof TextView);
61 R.id.suw_layout_content);
62 View templateView = layout.findViewById(R.id.test_template_view);
63 assertNotNull("@id/test_template_view should exist in template", templateView);
66 tv.setId(R.id.test_view_id);
69 templateView = layout.findViewById(R.id
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java105 @Override public boolean onTextContextMenuItem(int id) { argument
108 if (id == android.R.id.selectAll || id == android.R.id.replaceText) {
109 return super.onTextContextMenuItem(id);
111 if (mIME != null && mIME.onExtractTextContextMenuItem(id)) {
114 if (id == android.R.id.copy || id
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
H A DMyActivity.java29 int id = item.getItemId();
30 if (id == R.id.action_settings) {
/frameworks/av/services/camera/libcameraservice/device3/
H A DStatusTracker.cpp44 int id; local
48 id = mNextComponentId++;
49 ALOGV("%s: Adding new component %d", __FUNCTION__, id);
51 err = mStates.add(id, IDLE);
53 __FUNCTION__, id, strerror(-err), err);
62 return err < 0 ? err : id;
65 void StatusTracker::removeComponent(int id) { argument
69 ALOGV("%s: Removing component %d", __FUNCTION__, id);
70 idx = mStates.removeItem(id);
83 void StatusTracker::markComponentIdle(int id, cons argument
87 markComponentActive(int id) argument
91 markComponent(int id, ComponentState state, const sp<Fence>& componentFence) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DResources.java317 * @param id The desired resource identifier, as generated by the aapt
326 @NonNull public CharSequence getText(@StringRes int id) throws NotFoundException { argument
327 CharSequence res = mResourcesImpl.getAssets().getResourceText(id);
332 + Integer.toHexString(id));
344 * @param id The desired resource identifier, as generated by the aapt
356 public CharSequence getQuantityText(@PluralsRes int id, int quantity) argument
358 return mResourcesImpl.getQuantityText(id, quantity);
366 * @param id The desired resource identifier, as generated by the aapt
376 public String getString(@StringRes int id) throws NotFoundException { argument
377 return getText(id)
400 getString(@tringRes int id, Object... formatArgs) argument
432 getQuantityString(@luralsRes int id, int quantity, Object... formatArgs) argument
460 getQuantityString(@luralsRes int id, int quantity) argument
478 getText(@tringRes int id, CharSequence def) argument
495 getTextArray(@rrayRes int id) argument
515 getStringArray(@rrayRes int id) argument
536 getIntArray(@rrayRes int id) argument
558 obtainTypedArray(@rrayRes int id) argument
589 getDimension(@imenRes int id) argument
623 getDimensionPixelOffset(@imenRes int id) argument
659 getDimensionPixelSize(@imenRes int id) argument
691 getFraction(@ractionRes int id, int base, int pbase) argument
737 getDrawable(@rawableRes int id) argument
761 getDrawable(@rawableRes int id, @Nullable Theme theme) argument
800 getDrawableForDensity(@rawableRes int id, int density) argument
819 getDrawableForDensity(@rawableRes int id, int density, @Nullable Theme theme) argument
852 loadDrawable(@onNull TypedValue value, int id, @Nullable Theme theme) argument
865 getMovie(@awRes int id) argument
893 getColor(@olorRes int id) argument
914 getColor(@olorRes int id, @Nullable Theme theme) argument
953 getColorStateList(@olorRes int id) argument
983 getColorStateList(@olorRes int id, @Nullable Theme theme) argument
996 loadColorStateList(@onNull TypedValue value, int id, @Nullable Theme theme) argument
1005 loadComplexColor(@onNull TypedValue value, int id, @Nullable Theme theme) argument
1022 getBoolean(@oolRes int id) argument
1048 getInteger(@ntegerRes int id) argument
1076 getFloat(int id) argument
1110 getLayout(@ayoutRes int id) argument
1134 getAnimation(@nimRes int id) argument
1159 getXml(@mlRes int id) argument
1177 openRawResource(@awRes int id) argument
1233 openRawResource(@awRes int id, TypedValue value) argument
1259 openRawResourceFd(@awRes int id) argument
1284 getValue(@nyRes int id, TypedValue outValue, boolean resolveRefs) argument
1302 getValueForDensity(@nyRes int id, int density, TypedValue outValue, boolean resolveRefs) argument
1562 getDrawable(@rawableRes int id) argument
2089 loadXmlResourceParser(@nyRes int id, @NonNull String type) argument
2117 loadXmlResourceParser(String file, int id, int assetCookie, String type) argument
[all...]
/frameworks/base/tools/aapt2/process/
H A DSymbolTable.cpp55 if (sharedSymbol->id) {
57 mIdCache.put(sharedSymbol->id.value(), sharedSymbol);
65 const SymbolTable::Symbol* SymbolTable::findById(ResourceId id) { argument
66 if (const std::shared_ptr<Symbol>& s = mIdCache.get(id)) {
72 std::unique_ptr<Symbol> symbol = symbolSource->findById(id);
77 mIdCache.put(id, sharedSymbol);
93 if (ref.id) {
94 symbol = findById(ref.id.value());
119 if (sr.package->id && sr.type->id
143 lookupAttributeInTable(const android::ResTable& table, ResourceId id) argument
236 getResourceName(const android::ResTable& table, ResourceId id) argument
274 findById(ResourceId id) argument
[all...]
/frameworks/opt/net/wifi/service/jni/
H A Dwifi_hal_stub.h39 wifi_error wifi_set_iface_event_handler_stub(wifi_request_id id, wifi_interface_handle iface,
41 wifi_error wifi_reset_iface_event_handler_stub(wifi_request_id id, wifi_interface_handle iface);
46 wifi_error wifi_start_gscan_stub(wifi_request_id id, wifi_interface_handle iface,
48 wifi_error wifi_stop_gscan_stub(wifi_request_id id, wifi_interface_handle iface);
51 wifi_error wifi_set_bssid_hotlist_stub(wifi_request_id id, wifi_interface_handle iface,
53 wifi_error wifi_reset_bssid_hotlist_stub(wifi_request_id id, wifi_interface_handle iface);
54 wifi_error wifi_set_significant_change_handler_stub(wifi_request_id id, wifi_interface_handle iface,
56 wifi_error wifi_reset_significant_change_handler_stub(wifi_request_id id,
61 wifi_error wifi_get_link_stats_stub(wifi_request_id id,
67 wifi_error wifi_rtt_range_request_stub(wifi_request_id id, wifi_interface_handl
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dgsmamr_dec.h137 Word8 *id);
/frameworks/base/core/java/android/app/
H A DFragmentContainer.java32 public abstract View onFindViewById(@IdRes int id); argument

Completed in 834 milliseconds

1234567891011>>