/frameworks/base/config/ |
D | hiddenapi-greylist-max-q.txt | 1 Landroid/R$styleable;->ActionBar:[I 2 Landroid/R$styleable;->ActionBar_background:I 3 Landroid/R$styleable;->ActionBar_backgroundSplit:I 4 Landroid/R$styleable;->ActionBar_backgroundStacked:I 5 Landroid/R$styleable;->ActionBar_divider:I 6 Landroid/R$styleable;->ActionBar_itemPadding:I 7 Landroid/R$styleable;->CalendarView:[I 8 Landroid/R$styleable;->CalendarView_dateTextAppearance:I 9 Landroid/R$styleable;->CalendarView_firstDayOfWeek:I 10 Landroid/R$styleable;->CalendarView_focusedMonthDateColor:I [all …]
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationBuilderTest.java | 63 setContentView(R.layout.notification_builder_test); in onCreate() 68 R.id.clear_1, in onCreate() 69 R.id.clear_2, in onCreate() 70 R.id.clear_3, in onCreate() 71 R.id.clear_4, in onCreate() 72 R.id.clear_5, in onCreate() 73 R.id.clear_6, in onCreate() 74 R.id.clear_7, in onCreate() 75 R.id.clear_8, in onCreate() 76 R.id.clear_9, in onCreate() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | MimeIconUtils.java | 27 import com.android.internal.R; 59 return buildTypeInfo(mimeType, R.drawable.ic_doc_folder, in buildTypeInfo() 60 R.string.mime_type_folder, -1); in buildTypeInfo() 63 return buildTypeInfo(mimeType, R.drawable.ic_doc_apk, in buildTypeInfo() 64 R.string.mime_type_apk, -1); in buildTypeInfo() 76 return buildTypeInfo(mimeType, R.drawable.ic_doc_certificate, in buildTypeInfo() 77 R.string.mime_type_generic, R.string.mime_type_generic_ext); in buildTypeInfo() 107 return buildTypeInfo(mimeType, R.drawable.ic_doc_codes, in buildTypeInfo() 108 R.string.mime_type_document, R.string.mime_type_document_ext); in buildTypeInfo() 128 return buildTypeInfo(mimeType, R.drawable.ic_doc_compressed, in buildTypeInfo() [all …]
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
D | VectorDrawablePerformance.java | 38 R.drawable.vector_icon_filltype_nonzero, 39 R.drawable.vector_icon_filltype_evenodd, 40 R.drawable.vector_icon_gradient_1, 41 R.drawable.vector_icon_gradient_2, 42 R.drawable.vector_icon_gradient_3, 43 R.drawable.vector_icon_gradient_1_clamp, 44 R.drawable.vector_icon_gradient_2_repeat, 45 R.drawable.vector_icon_gradient_3_mirror, 46 R.drawable.vector_icon_state_list_simple, 47 R.drawable.vector_icon_state_list_theme, [all …]
|
D | VectorDrawableDupPerf.java | 21 R.drawable.vector_drawable04, 22 R.drawable.vector_drawable04, 23 R.drawable.vector_drawable04, 24 R.drawable.vector_drawable04, 25 R.drawable.vector_drawable04, 26 R.drawable.vector_drawable04, 27 R.drawable.vector_drawable04, 28 R.drawable.vector_drawable04, 29 R.drawable.vector_drawable04, 30 R.drawable.vector_drawable04, [all …]
|
D | VectorCheckbox.java | 29 R.drawable.vector_drawable01, 30 R.drawable.vector_drawable02, 31 R.drawable.vector_drawable03, 32 R.drawable.vector_drawable04, 33 R.drawable.vector_drawable05, 34 R.drawable.vector_drawable06, 35 R.drawable.vector_drawable07, 36 R.drawable.vector_drawable08, 37 R.drawable.vector_drawable09, 38 R.drawable.vector_drawable10, [all …]
|
D | BitmapDrawableDupe.java | 31 R.drawable.bitmap_drawable01, 32 R.drawable.bitmap_drawable01, 33 R.drawable.bitmap_drawable01, 34 R.drawable.bitmap_drawable01, 35 R.drawable.bitmap_drawable01, 36 R.drawable.bitmap_drawable01, 37 R.drawable.bitmap_drawable01, 38 R.drawable.bitmap_drawable01, 39 R.drawable.bitmap_drawable01, 40 R.drawable.bitmap_drawable01, [all …]
|
D | VectorDrawable01.java | 33 R.drawable.vector_drawable01, 34 R.drawable.vector_drawable02, 35 R.drawable.vector_drawable03, 36 R.drawable.vector_drawable04, 37 R.drawable.vector_drawable05, 38 R.drawable.vector_drawable06, 39 R.drawable.vector_drawable07, 40 R.drawable.vector_drawable08, 41 R.drawable.vector_drawable09, 42 R.drawable.vector_drawable10, [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewActivityMouseTest.java | 55 import com.android.frameworks.coretests.R; 86 onView(withId(R.id.textview)).perform(mouseClick()); in testSelectTextByDrag() 87 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testSelectTextByDrag() 91 onView(withId(R.id.textview)).perform( in testSelectTextByDrag() 94 onView(withId(R.id.textview)).check(hasSelection("llo wor")); in testSelectTextByDrag() 96 onHandleView(com.android.internal.R.id.selection_start_handle) in testSelectTextByDrag() 98 onHandleView(com.android.internal.R.id.selection_end_handle) in testSelectTextByDrag() 101 onView(withId(R.id.textview)).perform(mouseClickOnTextAtIndex(helloWorld.indexOf("w"))); in testSelectTextByDrag() 102 onView(withId(R.id.textview)).check(hasSelection("")); in testSelectTextByDrag() 110 onView(withId(R.id.textview)).perform(mouseClick()); in testSelectTextByDrag_reverse() [all …]
|
D | TextViewActivityTest.java | 88 import com.android.frameworks.coretests.R; 125 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testTypedTextIsOnScreen() 127 onView(withId(R.id.textview)).check(matches(withText(helloWorld))); in testTypedTextIsOnScreen() 132 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testPositionCursorAtTextAtIndex() 133 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(helloWorld.indexOf("world"))); in testPositionCursorAtTextAtIndex() 136 onView(withId(R.id.textview)).perform(pressKey(KeyEvent.KEYCODE_FORWARD_DEL)); in testPositionCursorAtTextAtIndex() 137 onView(withId(R.id.textview)).check(matches(withText("Hello orld!"))); in testPositionCursorAtTextAtIndex() 145 onView(withId(R.id.textview)).perform(replaceText(text)); in testPositionCursorAtTextAtIndex_arabic() 147 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(0)); in testPositionCursorAtTextAtIndex_arabic() 148 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(0)); in testPositionCursorAtTextAtIndex_arabic() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | AccessibilityContentDescriptions.java | 5 import com.android.systemui.R; 14 R.string.accessibility_no_phone, 15 R.string.accessibility_phone_one_bar, 16 R.string.accessibility_phone_two_bars, 17 R.string.accessibility_phone_three_bars, 18 R.string.accessibility_phone_signal_full 22 R.string.accessibility_no_data, 23 R.string.accessibility_data_one_bar, 24 R.string.accessibility_data_two_bars, 25 R.string.accessibility_data_three_bars, [all …]
|
D | TelephonyIcons.java | 19 import com.android.systemui.R; 27 static final int FLIGHT_MODE_ICON = R.drawable.stat_sys_airplane_mode; 29 static final int ICON_LTE = R.drawable.ic_lte_mobiledata; 30 static final int ICON_LTE_PLUS = R.drawable.ic_lte_plus_mobiledata; 31 static final int ICON_G = R.drawable.ic_g_mobiledata; 32 static final int ICON_E = R.drawable.ic_e_mobiledata; 33 static final int ICON_H = R.drawable.ic_h_mobiledata; 34 static final int ICON_H_PLUS = R.drawable.ic_h_plus_mobiledata; 35 static final int ICON_3G = R.drawable.ic_3g_mobiledata; 36 static final int ICON_4G = R.drawable.ic_4g_mobiledata; [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | ActionButtonsPreferenceTest.java | 51 mRootView = View.inflate(mContext, R.layout.settings_action_buttons, null /* parent */); in setUp() 58 mPref.setButton1Text(R.string.install_other_apps); in onBindViewHolder_setTitle_shouldShowButtonByDefault() 59 mPref.setButton2Text(R.string.install_other_apps); in onBindViewHolder_setTitle_shouldShowButtonByDefault() 60 mPref.setButton3Text(R.string.install_other_apps); in onBindViewHolder_setTitle_shouldShowButtonByDefault() 61 mPref.setButton4Text(R.string.install_other_apps); in onBindViewHolder_setTitle_shouldShowButtonByDefault() 65 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault() 67 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault() 69 assertThat(mRootView.findViewById(R.id.button3).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault() 71 assertThat(mRootView.findViewById(R.id.button4).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault() 77 mPref.setButton1Icon(com.android.internal.R.drawable.ic_plus); in onBindViewHolder_setIcon_shouldShowButtonByDefault() [all …]
|
D | AppEntitiesHeaderControllerTest.java | 53 R.layout.app_entities_header, null /* root */); in setUp() 57 .setIcon(mContext.getDrawable(com.android.internal.R.drawable.ic_menu)) in setUp() 73 mController.setHeaderTitleRes(R.string.expand_button_title).apply(); in setHeaderTitleRes_setTextRes_shouldSetToTitleView() 74 final TextView view = mAppEntitiesHeaderView.findViewById(R.id.header_title); in setHeaderTitleRes_setTextRes_shouldSetToTitleView() 76 assertThat(view.getText()).isEqualTo(mContext.getText(R.string.expand_button_title)); in setHeaderTitleRes_setTextRes_shouldSetToTitleView() 81 mController.setHeaderDetailsRes(R.string.expand_button_title).apply(); in setHeaderDetailsRes_setTextRes_shouldSetToDetailsView() 82 final TextView view = mAppEntitiesHeaderView.findViewById(R.id.header_details); in setHeaderDetailsRes_setTextRes_shouldSetToDetailsView() 84 assertThat(view.getText()).isEqualTo(mContext.getText(R.string.expand_button_title)); in setHeaderDetailsRes_setTextRes_shouldSetToDetailsView() 90 final TextView view = mAppEntitiesHeaderView.findViewById(R.id.header_details); in setHeaderDetails_onlyDetailsTextSet_shouldSetToDetailsView() 97 mController.setHeaderDetailsRes(R.string.expand_button_title); in setHeaderDetails_detailsTextAndResBothSet_shouldSetTextToDetailsView() [all …]
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestActivity.java | 63 ft.replace(R.id.testframe, fragment); in onListItemClick() 76 setContentView(R.layout.main); in onCreate() 78 mList = findViewById(R.id.testlist); in onCreate() 83 R.layout.custom_list_item, new String[]{"title"}, in onCreate() 84 new int[]{android.R.id.text1}); in onCreate() 102 addItem(result, "Basic", BiDiTestBasic.class, R.id.basic); in getTests() 104 addItem(result, "Canvas2", BiDiTestCanvas2.class, R.id.canvas2); in getTests() 106 addItem(result, "TextView LTR", BiDiTestTextViewLtr.class, R.id.textview_ltr); in getTests() 107 addItem(result, "TextView RTL", BiDiTestTextViewRtl.class, R.id.textview_rtl); in getTests() 108 addItem(result, "TextView LOC", BiDiTestTextViewLocale.class, R.id.textview_locale); in getTests() [all …]
|
/frameworks/base/core/java/android/hardware/ |
D | SensorManager.java | 1180 public static boolean getRotationMatrix(float[] R, float[] I, in getRotationMatrix() argument 1219 if (R != null) { in getRotationMatrix() 1220 if (R.length == 9) { in getRotationMatrix() 1221 R[0] = Hx; R[1] = Hy; R[2] = Hz; in getRotationMatrix() 1222 R[3] = Mx; R[4] = My; R[5] = Mz; in getRotationMatrix() 1223 R[6] = Ax; R[7] = Ay; R[8] = Az; in getRotationMatrix() 1224 } else if (R.length == 16) { in getRotationMatrix() 1225 R[0] = Hx; R[1] = Hy; R[2] = Hz; R[3] = 0; in getRotationMatrix() 1226 R[4] = Mx; R[5] = My; R[6] = Mz; R[7] = 0; in getRotationMatrix() 1227 R[8] = Ax; R[9] = Ay; R[10] = Az; R[11] = 0; in getRotationMatrix() [all …]
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
D | RunLocalBenchmarksActivity.java | 35 import com.android.benchmark.R; 66 R.id.benchmark_list_view_scroll, 67 R.id.benchmark_image_list_view_scroll, 68 R.id.benchmark_shadow_grid, 69 R.id.benchmark_text_high_hitrate, 70 R.id.benchmark_text_low_hitrate, 71 R.id.benchmark_edit_text_input, 72 R.id.benchmark_overdraw, 73 R.id.benchmark_bitmap_upload, 90 if (getActivity().findViewById(R.id.list_fragment_container) != null) { in onListItemClick() [all …]
|
/frameworks/native/services/sensorservice/ |
D | quat.h | 31 mat<TYPE, 3, 3> R; in quatToMatrix() local 45 R[0][0] = 1 - sq_q2 - sq_q3; in quatToMatrix() 46 R[0][1] = q1_q2 - q3_q0; in quatToMatrix() 47 R[0][2] = q1_q3 + q2_q0; in quatToMatrix() 48 R[1][0] = q1_q2 + q3_q0; in quatToMatrix() 49 R[1][1] = 1 - sq_q1 - sq_q3; in quatToMatrix() 50 R[1][2] = q2_q3 - q1_q0; in quatToMatrix() 51 R[2][0] = q1_q3 - q2_q0; in quatToMatrix() 52 R[2][1] = q2_q3 + q1_q0; in quatToMatrix() 53 R[2][2] = 1 - sq_q1 - sq_q2; in quatToMatrix() [all …]
|
D | mat.h | 27 template <typename TYPE, size_t C, size_t R> 32 template <typename TYPE, size_t C, size_t R> 33 mat<TYPE, C, R>& doAssign( in doAssign() 34 mat<TYPE, C, R>& lhs, in doAssign() 37 for (size_t j=0 ; j<R ; j++) in doAssign() 42 template <typename TYPE, size_t C, size_t R, size_t D> 43 mat<TYPE, C, R> PURE doMul( in doMul() 44 const mat<TYPE, D, R>& lhs, in doMul() 47 mat<TYPE, C, R> res; in doMul() 49 for (size_t r=0 ; r<R ; r++) { in doMul() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPINView.java | 27 import com.android.systemui.R; 57 mContext, android.R.interpolator.fast_out_linear_in)); in KeyguardPINView() 62 mContext, android.R.interpolator.fast_out_linear_in)); in KeyguardPINView() 64 R.dimen.disappear_y_translation); in KeyguardPINView() 78 return R.id.pinEntry; in getPasswordTextViewId() 85 mContainer = findViewById(R.id.container); in onFinishInflate() 86 mRow0 = findViewById(R.id.row0); in onFinishInflate() 87 mRow1 = findViewById(R.id.row1); in onFinishInflate() 88 mRow2 = findViewById(R.id.row2); in onFinishInflate() 89 mRow3 = findViewById(R.id.row3); in onFinishInflate() [all …]
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | ThemeResolverTest.java | 25 import com.android.setupwizardlib.R; 47 assertThat(themeResolver.resolve("material")).isEqualTo(R.style.SuwThemeMaterial); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 48 assertThat(themeResolver.resolve("material_light")).isEqualTo(R.style.SuwThemeMaterial_Light); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 49 assertThat(themeResolver.resolve("glif")).isEqualTo(R.style.SuwThemeGlif); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 50 assertThat(themeResolver.resolve("glif_light")).isEqualTo(R.style.SuwThemeGlif_Light); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 51 assertThat(themeResolver.resolve("glif_v2")).isEqualTo(R.style.SuwThemeGlifV2); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 52 assertThat(themeResolver.resolve("glif_v2_light")).isEqualTo(R.style.SuwThemeGlifV2_Light); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 53 assertThat(themeResolver.resolve("glif_v3")).isEqualTo(R.style.SuwThemeGlifV3); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 54 assertThat(themeResolver.resolve("glif_v3_light")).isEqualTo(R.style.SuwThemeGlifV3_Light); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 62 assertThat(themeResolver.resolve("material")).isEqualTo(R.style.SuwThemeMaterial_DayNight); in resolve_dayNight_shouldReturnDayNightTheme() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | LegacyErrorStrings.java | 47 return com.android.internal.R.string.httpErrorOk; in getResource() 50 return com.android.internal.R.string.httpError; in getResource() 53 return com.android.internal.R.string.httpErrorLookup; in getResource() 56 return com.android.internal.R.string.httpErrorUnsupportedAuthScheme; in getResource() 59 return com.android.internal.R.string.httpErrorAuth; in getResource() 62 return com.android.internal.R.string.httpErrorProxyAuth; in getResource() 65 return com.android.internal.R.string.httpErrorConnect; in getResource() 68 return com.android.internal.R.string.httpErrorIO; in getResource() 71 return com.android.internal.R.string.httpErrorTimeout; in getResource() 74 return com.android.internal.R.string.httpErrorRedirectLoop; in getResource() [all …]
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/ |
D | BenchmarkRegistry.java | 32 import com.android.benchmark.R; 124 … TypedArray groupAttribs = res.obtainAttributes(attributeSet, R.styleable.BenchmarkGroup); in parseBenchmarkGroup() 126 groupName = groupAttribs.getString(R.styleable.BenchmarkGroup_name); in parseBenchmarkGroup() 127 groupDescription = groupAttribs.getString(R.styleable.BenchmarkGroup_description); in parseBenchmarkGroup() 133 res.obtainAttributes(Xml.asAttributeSet(parser), R.styleable.Benchmark); in parseBenchmarkGroup() 134 int id = benchAttribs.getResourceId(R.styleable.Benchmark_id, -1); in parseBenchmarkGroup() 135 String testName = benchAttribs.getString(R.styleable.Benchmark_name); in parseBenchmarkGroup() 136 String testDescription = benchAttribs.getString(R.styleable.Benchmark_description); in parseBenchmarkGroup() 137 int testCategory = benchAttribs.getInt(R.styleable.Benchmark_category, in parseBenchmarkGroup() 208 case R.id.benchmark_list_view_scroll: in getBenchmarkName() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DataUsageDetailView.java | 31 import com.android.systemui.R; 54 FontSizeUtils.updateFontSize(this, android.R.id.title, R.dimen.qs_data_usage_text_size); in onConfigurationChanged() 55 FontSizeUtils.updateFontSize(this, R.id.usage_text, R.dimen.qs_data_usage_usage_text_size); in onConfigurationChanged() 56 FontSizeUtils.updateFontSize(this, R.id.usage_carrier_text, in onConfigurationChanged() 57 R.dimen.qs_data_usage_text_size); in onConfigurationChanged() 58 FontSizeUtils.updateFontSize(this, R.id.usage_info_top_text, in onConfigurationChanged() 59 R.dimen.qs_data_usage_text_size); in onConfigurationChanged() 60 FontSizeUtils.updateFontSize(this, R.id.usage_period_text, R.dimen.qs_data_usage_text_size); in onConfigurationChanged() 61 FontSizeUtils.updateFontSize(this, R.id.usage_info_bottom_text, in onConfigurationChanged() 62 R.dimen.qs_data_usage_text_size); in onConfigurationChanged() [all …]
|
/frameworks/base/core/java/android/print/ |
D | PrintAttributes.java | 35 import com.android.internal.R; 474 R.string.mediasize_unknown_portrait, 1, Integer.MAX_VALUE); 485 R.string.mediasize_unknown_landscape, Integer.MAX_VALUE, 1); 491 new MediaSize("ISO_A0", "android", R.string.mediasize_iso_a0, 33110, 46810); 494 new MediaSize("ISO_A1", "android", R.string.mediasize_iso_a1, 23390, 33110); 497 new MediaSize("ISO_A2", "android", R.string.mediasize_iso_a2, 16540, 23390); 500 new MediaSize("ISO_A3", "android", R.string.mediasize_iso_a3, 11690, 16540); 503 new MediaSize("ISO_A4", "android", R.string.mediasize_iso_a4, 8270, 11690); 506 new MediaSize("ISO_A5", "android", R.string.mediasize_iso_a5, 5830, 8270); 509 new MediaSize("ISO_A6", "android", R.string.mediasize_iso_a6, 4130, 5830); [all …]
|