Skip to content
Browse files

change htc phone ui to miui style

Change-Id: I8fccc3c1f219e1d140114d820359b9652c905aa1
  • Loading branch information...
1 parent 2473c38 commit 933cddae9993cbbe7df85c6e963411e301b83095 @HackerMi HackerMi committed Mar 12, 2012
Showing with 8 additions and 15 deletions.
  1. BIN Phone/res/drawable-hdpi/common_b_button_on.9.png
  2. BIN Phone/res/drawable-hdpi/contacts_sp_on.png
  3. BIN Phone/res/drawable-hdpi/contacts_sp_rest.png
  4. BIN Phone/res/drawable-hdpi/htc_pin_asset_pressed.9.png
  5. BIN Phone/res/drawable-hdpi/htc_pin_asset_rest.9.png
  6. BIN Phone/res/drawable-hdpi/htc_pin_icon_pound.png
  7. BIN Phone/res/drawable-hdpi/htc_pin_icon_star.png
  8. BIN Phone/res/drawable-hdpi/mute_disable.png
  9. BIN Phone/res/drawable-hdpi/mute_on.png
  10. BIN Phone/res/drawable-hdpi/mute_rest.png
  11. BIN Phone/res/drawable-hdpi/phone_accumulator_bg.9.png
  12. BIN Phone/res/drawable-hdpi/phone_bg_keypad.png
  13. BIN Phone/res/drawable-hdpi/phone_btn_answer_pressed.9.png
  14. BIN Phone/res/drawable-hdpi/phone_btn_answer_rest.9.png
  15. BIN Phone/res/drawable-hdpi/phone_btn_answer_selected.9.png
  16. BIN Phone/res/drawable-hdpi/phone_btn_backspace_pressed.9.png
  17. BIN Phone/res/drawable-hdpi/phone_btn_backspace_rest.9.png
  18. BIN Phone/res/drawable-hdpi/phone_btn_backspace_selected.9.png
  19. BIN Phone/res/drawable-hdpi/phone_btn_end_disable.9.png
  20. BIN Phone/res/drawable-hdpi/phone_btn_end_pressed.9.png
  21. BIN Phone/res/drawable-hdpi/phone_btn_end_rest.9.png
  22. BIN Phone/res/drawable-hdpi/phone_btn_end_selected.9.png
  23. BIN Phone/res/drawable-hdpi/phone_default.png
  24. BIN Phone/res/drawable-hdpi/phone_default_incall.png
  25. BIN Phone/res/drawable-hdpi/phone_icon_backspace_pressed.png
  26. BIN Phone/res/drawable-hdpi/phone_icon_backspace_rest.png
  27. BIN Phone/res/drawable-hdpi/phone_photo_frame.png
  28. BIN Phone/res/drawable-hdpi/phone_photo_frame_mask.png
  29. BIN Phone/res/drawable-hdpi/speaker_on_disable.png
  30. BIN Phone/res/drawable-hdpi/speaker_on_on.png
  31. BIN Phone/res/drawable-hdpi/speaker_on_rest.png
  32. +2 −11 Phone/res/values/styles.xml
  33. +0 −4 Phone/smali/com/android/phone/CallCard.smali
  34. BIN com.htc.resources/res/drawable-hdpi/common_b_button_press.9.png
  35. BIN com.htc.resources/res/drawable-hdpi/common_b_button_rest.9.png
  36. BIN com.htc.resources/res/drawable-hdpi/common_b_button_selected.9.png
  37. BIN com.htc.resources/res/drawable-hdpi/common_divider.png
  38. BIN com.htc.resources/res/drawable-hdpi/common_glance_bkg.9.png
  39. BIN com.htc.resources/res/drawable-hdpi/common_icon_action_contact.png
  40. BIN com.htc.resources/res/drawable-hdpi/common_icon_action_contact_disable.png
  41. BIN com.htc.resources/res/drawable-hdpi/common_icon_action_contact_on.png
  42. BIN com.htc.resources/res/drawable-hdpi/common_icon_action_contact_rest.png
  43. BIN com.htc.resources/res/drawable-hdpi/common_icon_glance_contacts_on.png
  44. BIN com.htc.resources/res/drawable-hdpi/common_icon_glance_contacts_rest.png
  45. BIN com.htc.resources/res/drawable-hdpi/common_icon_glance_hide_keypad_on.png
  46. BIN com.htc.resources/res/drawable-hdpi/common_icon_glance_hide_keypad_rest.png
  47. BIN com.htc.resources/res/drawable-hdpi/common_icon_glance_show_keypad_on.png
  48. BIN com.htc.resources/res/drawable-hdpi/common_icon_glance_show_keypad_rest.png
  49. BIN com.htc.resources/res/drawable-hdpi/common_slide_bar.9.png
  50. BIN com.htc.resources/res/drawable-hdpi/common_slide_bar_div.9.png
  51. BIN com.htc.resources/res/drawable-hdpi/common_titlebar_btn_div.9.png
  52. BIN com.htc.resources/res/drawable-hdpi/common_titlebar_btn_press.9.png
  53. BIN com.htc.resources/res/drawable-hdpi/common_titlebar_btn_selected.9.png
  54. BIN com.htc.resources/res/drawable-hdpi/common_titlebar_fullscreen_press.9.png
  55. BIN com.htc.resources/res/drawable-hdpi/common_titlebar_fullscreen_rest.9.png
  56. BIN com.htc.resources/res/drawable-hdpi/common_titlebar_fullscreen_selected.9.png
  57. BIN com.htc.resources/res/drawable-hdpi/common_titlebar_sublevel.9.png
  58. BIN com.htc.resources/res/drawable-hdpi/common_titlebar_sublevel_75.9.png
  59. BIN com.htc.resources/res/drawable-hdpi/list_selector_background_focus.9.png
  60. BIN com.htc.resources/res/drawable-hdpi/list_selector_background_longpress.9.png
  61. BIN com.htc.resources/res/drawable-hdpi/list_selector_background_pressed.9.png
  62. +6 −0 makefile
View
BIN Phone/res/drawable-hdpi/common_b_button_on.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/contacts_sp_on.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/contacts_sp_rest.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/htc_pin_asset_pressed.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/htc_pin_asset_rest.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/htc_pin_icon_pound.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/htc_pin_icon_star.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/mute_disable.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/mute_on.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/mute_rest.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_accumulator_bg.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_bg_keypad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_btn_answer_pressed.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_btn_answer_rest.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_btn_answer_selected.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_btn_backspace_pressed.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_btn_backspace_rest.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_btn_backspace_selected.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_btn_end_disable.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_btn_end_pressed.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_btn_end_rest.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_btn_end_selected.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_default.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_default_incall.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_icon_backspace_pressed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Phone/res/drawable-hdpi/phone_icon_backspace_rest.png
Diff not rendered.
View
BIN Phone/res/drawable-hdpi/phone_photo_frame.png
Diff not rendered.
View
BIN Phone/res/drawable-hdpi/phone_photo_frame_mask.png
Diff not rendered.
View
BIN Phone/res/drawable-hdpi/speaker_on_disable.png
Diff not rendered.
View
BIN Phone/res/drawable-hdpi/speaker_on_on.png
Diff not rendered.
View
BIN Phone/res/drawable-hdpi/speaker_on_rest.png
Diff not rendered.
View
13 Phone/res/values/styles.xml
@@ -45,10 +45,6 @@
<item name="android:colorBackgroundCacheHint">@null</item>
</style>
<style name="ShadowText1">
- <item name="android:shadowColor">@color/htc_shadow_1_color</item>
- <item name="android:shadowDx">-1.0</item>
- <item name="android:shadowDy">-1.0</item>
- <item name="android:shadowRadius">1.0</item>
</style>
<style name="ShadowText2">
<item name="android:shadowColor">@color/htc_shadow_2_color</item>
@@ -263,24 +259,19 @@
</style>
<style name="darklist_secondary_xxl">
<item name="android:textSize">@com.htc:dimen/list_secondary_xxl</item>
- <item name="android:textColor">@com.htc:color/darklist_secondary</item>
+ <item name="android:textColor">#ffffffff</item>
</style>
<style name="text_style_phone_button_number">
<item name="android:textSize">@dimen/phone_button_number_text_size</item>
- <item name="android:textColor">#ff000000</item>
+ <item name="android:textColor">#ffffffff</item>
<item name="android:background">@drawable/phone_keypad_btn</item>
<item name="android:layout_width">0.0px</item>
<item name="android:layout_height">fill_parent</item>
- <item name="android:shadowColor">#ffffffff</item>
- <item name="android:shadowDx">2.0</item>
- <item name="android:shadowDy">2.0</item>
- <item name="android:shadowRadius">1.0</item>
<item name="android:layout_weight">1.0</item>
</style>
<style name="text_style_phone_b_button_center" parent="@style/text_style_phone_button_number">
<item name="android:textSize">@dimen/phone_button_primary</item>
<item name="android:textColor">#ffffffff</item>
- <item name="android:shadowColor">#ff000000</item>
</style>
<style name="title_primary_rest_m" parent="@com.htc:style/title_primary_m">
<item name="android:textColor">#ffffffff</item>
View
4 Phone/smali/com/android/phone/CallCard.smali
@@ -4849,8 +4849,6 @@
iget v2, p0, Lcom/android/phone/CallCard;->mTextColorCallTypeSip:I
- invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V
-
.line 2442
:goto_1
return-void
@@ -4869,8 +4867,6 @@
iget v2, p0, Lcom/android/phone/CallCard;->mTextColorConnected:I
- invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V
-
goto :goto_1
.end method
View
BIN com.htc.resources/res/drawable-hdpi/common_b_button_press.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_b_button_rest.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_b_button_selected.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_divider.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_glance_bkg.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_icon_action_contact.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_icon_action_contact_disable.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_icon_action_contact_on.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_icon_action_contact_rest.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_icon_glance_contacts_on.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_icon_glance_contacts_rest.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_icon_glance_hide_keypad_on.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_icon_glance_hide_keypad_rest.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_icon_glance_show_keypad_on.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_icon_glance_show_keypad_rest.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_slide_bar.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_slide_bar_div.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_titlebar_btn_div.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_titlebar_btn_press.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_titlebar_btn_selected.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_titlebar_fullscreen_press.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_titlebar_fullscreen_rest.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_titlebar_fullscreen_selected.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_titlebar_sublevel.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/common_titlebar_sublevel_75.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/list_selector_background_focus.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/list_selector_background_longpress.9.png
Diff not rendered.
View
BIN com.htc.resources/res/drawable-hdpi/list_selector_background_pressed.9.png
Diff not rendered.
View
6 makefile
@@ -54,6 +54,12 @@ local-zip-misc: add-lbesec-miui
cp other/boot.img $(ZIP_DIR)/boot.img
@echo add tel location
cp other/CallerLocation.apk $(ZIP_DIR)/system/app/CallerLocation.apk
+ @echo Update htc resources
+ rm $(ZIP_DIR)/system/framework/com.htc.resources.apk
+ cp -r com.htc.resources $(TMP_DIR)/
+ $(APKTOOL) b $(TMP_DIR)/com.htc.resources $(TMP_DIR)/com.htc.resources.apk
+ cp $(TMP_DIR)/com.htc.resources.apk $(ZIP_DIR)/system/framework/com.htc.resources.apk
+
local-test:
# rm -f $(local-out-zip-file)
# cp .build/$(local-out-zip-file) .

0 comments on commit 933cdda

Please sign in to comment.
Something went wrong with that request. Please try again.