summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard MacGregor <rmacgregor@cyngn.com>2016-03-08 15:52:28 -0800
committerRichard MacGregor <rmacgregor@cyngn.com>2016-04-08 10:42:51 -0700
commitee5263fceae8b2fad75a33139f45495e7d5e0bda (patch)
treed5a43a54ef70fa29803cd5d84d08ddd1caa8d940
parente32e50ebf2bf7bb0c4b842457239a367de220f8d (diff)
downloadandroid_packages_apps_PhoneCommon-ee5263fceae8b2fad75a33139f45495e7d5e0bda.tar.gz
android_packages_apps_PhoneCommon-ee5263fceae8b2fad75a33139f45495e7d5e0bda.tar.bz2
android_packages_apps_PhoneCommon-ee5263fceae8b2fad75a33139f45495e7d5e0bda.zip
Add comments for the expected drawable attributes
Many of the expected attributes have specific expected styles that may not be immediately clear. Clear that up here. Change-Id: I105cc01ba24eb553f5cdf0dede0e36ea33646c24
-rw-r--r--src-ambient/incall/CallMethodInfo.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/src-ambient/incall/CallMethodInfo.java b/src-ambient/incall/CallMethodInfo.java
index 01c9592..5751f8a 100644
--- a/src-ambient/incall/CallMethodInfo.java
+++ b/src-ambient/incall/CallMethodInfo.java
@@ -58,11 +58,37 @@ public class CallMethodInfo {
public String mCreditButtonText;
public String mT9HintDescription;
public PendingIntent mSettingsIntent;
+ /* Plugin's simple brand icon (24dp x 24dp)
+ Expected format: Vector Drawable (.xml)
+ 2 colors allowed. */
public Drawable mBrandIcon;
+ /* Plugin's single color simple brand icon (24dp x 24dp)
+ Same as to pluginBrandIcon, but only a single color.
+ Please keep image single color, it will be tinted in the client application.
+ Expected format: Vector Drawable (.xml)
+ 1 color allowed. */
public Drawable mSingleColorBrandIcon;
+ /* Plugin's attribution badge (17dp x 17dp)
+ Similar to pluginBrandIcon.
+ To make badge pop against (on top of) images, please add a white outline.
+ Expected format: Vector Drawable (.xml)
+ 2 colors allowed. */
public Drawable mBadgeIcon;
+ /* Plugin's full brand icon (any width (max 360dp) x 60dp height)
+ May contain full brand name or icon image.
+ Please keep image single color, it will be tinted in the client application.
+ Expected format: Vector Drawable (.xml)
+ 1 color allowed. */
public Drawable mLoginIcon;
+ /* Plugin's first action icon (24dp x 24dp)
+ This icon is used in conjunction with pluginActionOneTitle.
+ Expected format: Vector Drawable (.xml)
+ 2 colors allowed. */
public Drawable mActionOneIcon;
+ /* Plugin's second action icon (24dp x 24dp)
+ This icon is used in conjunction with pluginActionTwoTitle.
+ Expected format: Vector Drawable (.xml)
+ 2 colors allowed. */
public Drawable mActionTwoIcon;
public Resources pluginResources;
public String mActionOneText;
@@ -94,8 +120,17 @@ public class CallMethodInfo {
public String mInstallNudgeSubtitle;
public String mInstallNudgeActionText;
public String mDependentPackage;
+ /* Plugin's IM action icon (24dp x 24dp)
+ Expected format: Vector Drawable (.xml)
+ 1 color allowed. */
public Drawable mImIcon;
+ /* Plugin's video call action icon (24dp x 24dp)
+ Expected format: Vector Drawable (.xml)
+ 1 color allowed. */
public Drawable mVideoIcon;
+ /* Plugin's voice call action icon (24dp x 24dp)
+ Expected format: Vector Drawable (.xml)
+ 1 color allowed. */
public Drawable mVoiceIcon;
private static CallMethodInfo sEmergencyCallMethod;