/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...] |
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/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...] |
HideFromAccessibilityHelper.java | 103 return !hasAncestorOfType(v, Cling.class) &&
|
Launcher.java | 3935 final Cling cling = (Cling) findViewById(clingId); local 3991 final View cling = findViewById(id); local 4005 Cling cling = (Cling) findViewById(R.id.workspace_cling); local 4026 View cling = findViewById(R.id.workspace_cling); local 4059 Cling cling = (Cling) findViewById(R.id.folder_cling); local 4066 Cling cling = (Cling) findViewById(R.id.workspace_cling); local 4070 Cling cling = (Cling) findViewById(R.id.all_apps_cling); local 4074 Cling cling = (Cling) findViewById(R.id.folder_cling); local [all...] |
Folder.java | 438 Cling cling = mLauncher.showFirstRunFoldersCling(); 439 if (cling != null) { 440 cling.bringToFront(); [all...] |
/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) {
|
CameraAppUI.java | 66 import com.android.camera.widget.Cling; 109 * Sets cling for external viewer button. 111 void setClingForViewer(int viewerType, Cling cling); 114 * Clears cling for external viewer button. 119 * Returns a cling for the specified viewer type. 121 Cling getClingForViewer(int viewerType); 831 * Creates a cling for the specific viewer and links the cling to the corresponding 834 * @param viewerType defines which viewer the cling is for [all...] |