HomeSort by relevance Sort by last modified time
    Searched full:cling (Results 1 - 25 of 49) sorted by null

1 2

  /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 66 // Disable the migration cling
75 // Set the flag to skip the folder cling
79 // Disable the migration cling
87 * Shows the migration cling.
108 // Show the longpress cling next
122 View cling = mInflater.inflate(R.layout.longpress_cling, root, false); local
124 cling.setOnLongClickListener(new OnLongClickListener() {
134 final ViewGroup content = (ViewGroup) cling.findViewById(R.id.cling_content);
145 root.addView(cling);
148 // 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 -->
  /platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
AospLauncherStrategy.java 53 // remove cling if it exists
54 UiObject2 cling = mDevice.findObject(By.res(LAUNCHER_PKG, "workspace_cling")); local
55 if (cling != null) {
56 cling.findObject(By.clazz(Button.class).text("OK")).click();
75 // check if there's a "cling" on screen
76 UiObject2 cling = mDevice.findObject(By.res(LAUNCHER_PKG, "cling_dismiss") local
78 if (cling != null) {
79 cling.click();
  /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 29 <!-- Cling -->

Completed in 793 milliseconds

1 2