/packages/apps/Camera2/src/com/android/camera/widget/ |
ExternalViewerButton.java | 39 private final SparseArray<Cling> mClingMap; 43 mClingMap = new SparseArray<Cling>(); 57 * Sets cling of the given viewer type for external viewer button. 59 public void setClingForViewer(int viewerType, Cling cling) { 60 if (cling == null) { 61 Log.w(TAG, "Cannot set a null cling for viewer"); 64 mClingMap.put(viewerType, cling); 65 cling.setReferenceView(this); 69 * Clears cling of the given viewer type for external viewer button 72 Cling cling = mClingMap.get(viewerType); local 140 Cling cling = mClingMap.get(mState); local [all...] |
SettingsCling.java | 30 * This is a cling widget for settings button. In addition to drawing a cling button 32 * settings button that this cling is for. 52 * Updates the current position of the cling based on a reference view. If there 53 * is enough space to lay out the cling on top of the reference view, then have 54 * the cling on top. Otherwise, position the cling underneath the reference view. 56 * @param referenceView a view that cling uses as a position reference 62 // Right align cling: 68 // Layout cling under reference view [all...] |
Cling.java | 26 * This class defines a generic cling that provides on-screen instructions. A convenient 27 * method is provided here to automatically adjust the position of the cling to 31 public class Cling extends TextView { 47 public Cling(Context context, AttributeSet attrs) { 51 public Cling(Context context) { 77 * Adjust the translation of the cling to stay on top of the reference view.
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherClings.java | 65 // Disable the migration cling 74 // Set the flag to skip the folder cling 80 // Disable the migration cling 88 * Shows the migration cling. 108 // Show the longpress cling next 121 View cling = mInflater.inflate(R.layout.longpress_cling, root, false); local 123 cling.setOnLongClickListener(new OnLongClickListener() { 133 final ViewGroup content = (ViewGroup) cling.findViewById(R.id.cling_content); 144 root.addView(cling); 147 // This is the first cling being shown. No need to animate [all...] |
/packages/apps/Camera2/res/layout/ |
cling_widget.xml | 18 <com.android.camera.widget.Cling xmlns:android="http://schemas.android.com/apk/res/android" 25 android:background="@drawable/cling"
|
/packages/apps/Launcher2/res/layout/ |
custom_workspace_cling.xml | 17 <com.android.launcher2.Cling 32 </com.android.launcher2.Cling>
|
/packages/apps/Launcher2/res/values-sw720dp-land/ |
dimens.xml | 36 <!-- Cling --> 37 <!-- The offset for the text in the cling -->
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
Cling.java | 38 public class Cling extends FrameLayout { 40 static final String WORKSPACE_CLING_DISMISSED_KEY = "cling.workspace.dismissed"; 41 static final String ALLAPPS_CLING_DISMISSED_KEY = "cling.allapps.dismissed"; 42 static final String FOLDER_CLING_DISMISSED_KEY = "cling.folder.dismissed"; 71 public Cling(Context context) { 75 public Cling(Context context, AttributeSet attrs) { 79 public Cling(Context context, AttributeSet attrs, int defStyle) { 82 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.Cling, defStyle, 0); 96 mPunchThroughGraphic = r.getDrawable(R.drawable.cling); 268 // Draw the rest of the cling [all...] |
/packages/apps/Launcher2/res/layout-land/ |
all_apps_cling.xml | 16 <com.android.launcher2.Cling 48 </com.android.launcher2.Cling>
|
folder_cling.xml | 16 <com.android.launcher2.Cling 48 </com.android.launcher2.Cling>
|
workspace_cling.xml | 16 <com.android.launcher2.Cling 59 </com.android.launcher2.Cling>
|
/packages/apps/Launcher2/res/layout-port/ |
all_apps_cling.xml | 16 <com.android.launcher2.Cling 48 </com.android.launcher2.Cling>
|
folder_cling.xml | 16 <com.android.launcher2.Cling 49 </com.android.launcher2.Cling>
|
workspace_cling.xml | 16 <com.android.launcher2.Cling 62 </com.android.launcher2.Cling>
|
/packages/apps/Launcher2/res/layout-sw600dp-port/ |
all_apps_cling.xml | 16 <com.android.launcher2.Cling 50 </com.android.launcher2.Cling>
|
folder_cling.xml | 16 <com.android.launcher2.Cling 51 </com.android.launcher2.Cling>
|
/packages/apps/Launcher2/res/layout-sw720dp/ |
all_apps_cling.xml | 16 <com.android.launcher2.Cling 46 </com.android.launcher2.Cling>
|
folder_cling.xml | 16 <com.android.launcher2.Cling 46 </com.android.launcher2.Cling>
|
workspace_cling.xml | 16 <com.android.launcher2.Cling 62 </com.android.launcher2.Cling>
|
/packages/apps/Launcher2/res/layout-sw720dp-port/ |
folder_cling.xml | 16 <com.android.launcher2.Cling 46 </com.android.launcher2.Cling>
|
/packages/apps/Camera2/src/com/android/camera/app/ |
FilmstripBottomPanel.java | 30 import com.android.camera.widget.Cling; 75 public void setClingForViewer(int viewerType, Cling cling) { 76 mViewButton.setClingForViewer(viewerType, cling); 85 public Cling getClingForViewer(int viewerType) {
|
/packages/apps/Launcher2/res/values/ |
attrs.xml | 37 <!-- Cling specific attributes. These attributes are used to customize 38 the cling in XML files. --> 39 <declare-styleable name="Cling"> 40 <!-- Used to identify how to draw the cling bg --> 129 <!-- The x index of the item to be focused in the cling --> 131 <!-- The y index of the item to be focused in the cling -->
|
/packages/apps/Launcher2/res/values-sw720dp-port/ |
dimens.xml | 56 <!-- Cling --> 57 <!-- The offset for the text in the cling -->
|
/packages/apps/Launcher3/res/values-sw600dp/ |
dimens.xml | 27 <!-- Cling -->
|
/packages/apps/Launcher3/res/values-sw720dp/ |
dimens.xml | 29 <!-- Cling -->
|