Searched refs:linearLayout (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | AdvancedBluetoothDetailsHeaderController.java | 349 LinearLayout linearLayout, in updateSubLayout() argument 356 if (linearLayout == null) { in updateSubLayout() 398 linearLayout, in updateSubLayout() 414 LinearLayout linearLayout, in updateSubLayoutUi() argument 429 final ImageView imageView = linearLayout.findViewById(R.id.header_icon); in updateSubLayoutUi() 449 showBatteryPredictionIfNecessary(linearLayout, deviceId, batteryLevel); in updateSubLayoutUi() 451 final TextView batterySummaryView = linearLayout.findViewById(R.id.bt_battery_summary); in updateSubLayoutUi() 454 linearLayout.setVisibility(View.VISIBLE); in updateSubLayoutUi() 458 showBatteryIcon(linearLayout, batteryLevel, lowBatteryLevel, charging); in updateSubLayoutUi() 461 linearLayout.setVisibility(View.VISIBLE); in updateSubLayoutUi() [all …]
|
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | TestResultActivity.java | 48 final LinearLayout linearLayout = new LinearLayout(this); in onCreate() local 49 linearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate() 50 setContentView(linearLayout); in onCreate() 54 linearLayout.addView( in onCreate()
|
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient_SharedUid/src/com/android/sdksandboxclient_shareduid/ |
D | MainActivity.java | 237 LinearLayout linearLayout = new LinearLayout(this); in registerSyncKeysButton() 238 linearLayout.setOrientation(1); // 1 is for vertical orientation in registerSyncKeysButton() 241 linearLayout.addView(inputKey); in registerSyncKeysButton() 242 linearLayout.addView(inputValue); in registerSyncKeysButton() 243 alert.setView(linearLayout); in registerSyncKeysButton()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AdvancedBluetoothDetailsHeaderControllerTest.java | 535 private void assertBatteryPredictionVisible(LinearLayout linearLayout, int visible) { in assertBatteryPredictionVisible() argument 536 final TextView textView = linearLayout.findViewById(R.id.bt_battery_prediction); in assertBatteryPredictionVisible() 540 private void assertBatteryPrediction(LinearLayout linearLayout, String prediction) { in assertBatteryPrediction() argument 541 final TextView textView = linearLayout.findViewById(R.id.bt_battery_prediction); in assertBatteryPrediction() 545 private void assertBatteryLevel(LinearLayout linearLayout, int batteryLevel) { in assertBatteryLevel() argument 546 final TextView textView = linearLayout.findViewById(R.id.bt_battery_summary); in assertBatteryLevel() 551 private void assertBatteryIcon(LinearLayout linearLayout, int resId) { in assertBatteryIcon() argument 552 final ImageView imageView = linearLayout.findViewById(R.id.bt_battery_icon); in assertBatteryIcon()
|
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient/src/com/android/sdksandboxclient/ |
D | MainActivity.java | 734 LinearLayout linearLayout = new LinearLayout(this); in registerSdkToSdkButton() 735 linearLayout.setOrientation(1); // 1 is for vertical orientation in registerSdkToSdkButton() 736 linearLayout.addView(dropdown); in registerSdkToSdkButton() 737 builder.setView(linearLayout); in registerSdkToSdkButton() 813 LinearLayout linearLayout = new LinearLayout(this); in registerSyncKeysButton() 814 linearLayout.setOrientation(1); // 1 is for vertical orientation in registerSyncKeysButton() 819 linearLayout.addView(inputKey); in registerSyncKeysButton() 820 linearLayout.addView(inputValue); in registerSyncKeysButton() 821 alert.setView(linearLayout); in registerSyncKeysButton()
|
/packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/ |
D | MainActivity.java | 2597 private void styleLayoutChildrenDisabled(LinearLayout linearLayout) { in styleLayoutChildrenDisabled() argument 2598 linearLayout.setAlpha(DISABLED_ALPHA); in styleLayoutChildrenDisabled() 2599 for (int x = 0; x < linearLayout.getChildCount(); x++) { in styleLayoutChildrenDisabled() 2600 linearLayout.getChildAt(x).setAlpha(DISABLED_ALPHA); in styleLayoutChildrenDisabled() 2601 linearLayout.getChildAt(x).setEnabled(false); in styleLayoutChildrenDisabled() 2602 linearLayout.getChildAt(x).setClickable(false); in styleLayoutChildrenDisabled() 2606 private void styleLayoutChildrenEnabled(LinearLayout linearLayout) { in styleLayoutChildrenEnabled() argument 2607 linearLayout.setAlpha(ENABLED_ALPHA); in styleLayoutChildrenEnabled() 2608 for (int x = 0; x < linearLayout.getChildCount(); x++) { in styleLayoutChildrenEnabled() 2609 linearLayout.getChildAt(x).setAlpha(ENABLED_ALPHA); in styleLayoutChildrenEnabled() [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | CategorySelectorFragment.java | 544 LinearLayout linearLayout = itemView.findViewById(R.id.linear_layout_for_cards); in GroupCategoryHolder() local 554 linearLayout.addView(gridItemCategory); in GroupCategoryHolder()
|