/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
H A D | language_model_dict_content.cpp | 450 const EntryInfoToTurncate &left, const EntryInfoToTurncate &right) const { 451 if (left.mPriority != right.mPriority) { 452 return left.mPriority < right.mPriority; 454 if (left.mCount != right.mCount) { 455 return left.mCount < right.mCount; 457 if (left.mKey != right.mKey) { 458 return left.mKey < right.mKey; 460 if (left.mPrevWordCount != right.mPrevWordCount) { 461 return left.mPrevWordCount > right.mPrevWordCount; 463 for (int i = 0; i < left 449 operator ()( const EntryInfoToTurncate &left, const EntryInfoToTurncate &right) const argument [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
H A D | DragShadowBuilder.java | 70 View.MeasureSpec.makeMeasureSpec(r.right- r.left, View.MeasureSpec.EXACTLY), 72 mShadowView.layout(r.left, r.top, r.right, r.bottom); 80 canvas.drawRect(r.left + mPadding, r.top + mPadding, r.right - mPadding, 85 canvas.drawRect(r.left + mPadding, r.top + mPadding, r.right - mPadding,
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | RotateImageView.java | 97 int w = bounds.right - bounds.left; 116 int left = getPaddingLeft(); 120 int width = getWidth() - left - right; 131 canvas.translate(left + width / 2, top + height / 2);
|
H A D | RotateLayout.java | 49 boolean change, int left, int top, int right, int bottom) { 50 int width = right - left; 48 onLayout( boolean change, int left, int top, int right, int bottom) argument
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
H A D | RenderOverlay.java | 36 public void layout(int left, int top, int right, int bottom); argument 150 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 152 super.onLayout(changed, left, top, right, bottom); 157 renderer.layout(left, top, right, bottom);
|
/packages/providers/MediaProvider/tools/genfiles/ |
H A D | genfiles.sh | 133 sqlite3 $1 "select audio_playlists._data, audio._data from audio_playlists left outer join audio_playlists_map on audio_playlists._id=audio_playlists_map.playlist_id left outer join audio on audio_playlists_map.audio_id=audio._id order by audio_playlists_map.playlist_id,audio_playlists_map.play_order;" | {
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | RotateLayout.java | 54 boolean change, int left, int top, int right, int bottom) { 55 int width = right - left; 53 onLayout( boolean change, int left, int top, int right, int bottom) argument
|
H A D | ZoomView.java | 86 // Set the translation of the matrix so that after rotation, the top left 88 rotationMatrix.postTranslate(-fullResRect.left, -fullResRect.top); 182 public void onLayoutChange(View v, int left, int top, int right, int bottom, 184 int w = right - left; 238 dx = viewportWidth / 2 - (newRect.left + newRect.right) / 2; 240 if (newRect.left > 0) { 241 dx = -newRect.left;
|
H A D | ModeSelectorItem.java | 120 * @param swipeIn whether swiping direction is swiping in (i.e. from left 132 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 133 super.onLayout(changed, left, top, right, bottom); 134 mWidth = right - left;
|
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | DebugBoundsRenderer.java | 33 drawBounds(canvas, paint, size, rect.left, rect.top, rect.right, rect.bottom); 41 drawBounds(canvas, paint, size, rect.left, rect.top, rect.right, rect.bottom); 50 // Top left 68 // bottom left
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PagedViewGridLayout.java | 81 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 82 super.onLayout(changed, left, top, right, bottom);
|
H A D | Utilities.java | 143 final int left = (textureWidth-width) / 2; 154 canvas.drawRect(left, top, left+width, top+height, debugPaint); 158 icon.setBounds(left, top, left+width, top+height);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | ExtendedEditText.java | 80 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 81 super.onLayout(changed, left, top, right, bottom);
|
H A D | DeviceProfile.java | 60 * The maximum amount of left/right workspace padding as a percentage of the screen width. 61 * To be clear, this means that up to 7% of the screen width can be used as left padding, and 457 // Pad the left and right of the workspace to ensure consistent spacing 486 return new Point(padding.left + padding.right, padding.top + padding.bottom); 495 if (mInsets.left > 0) { 496 padding.set(mInsets.left + pageIndicatorLandLeftNavBarGutterPx, 500 - mInsets.left, 512 // Pad the left and right of the workspace to ensure consistent spacing 516 // The amount of screen space available for left/right padding. 542 // Folders should only appear right of the drop target bar and left o [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
H A D | TouchTargetEnforcer.java | 108 result.left -= deltaWidthHalf; 116 int deltaWidthRemaining = minTargetPx - (result.right - result.left);
|
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
H A D | ViewGroupItemVerticalExplodeAnimation.java | 122 containerRect.offset(-decorRect.left, -decorRect.top); 123 shadowContainerLayer.setLeft(containerRect.left); 143 viewRect.offset(-containerRect.left - decorRect.left, 155 expandLayer.setLeft(viewRect.left); 166 mSnapshot.setLeft(viewRect.left);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
H A D | AutoFocusHelper.java | 141 int xCenterSensor = (int)(cropRegion.left + nsc.x * cropRegion.width()); 150 meteringRegion.left = CameraUtil.clamp(meteringRegion.left, cropRegion.left, cropRegion.right); 152 meteringRegion.right = CameraUtil.clamp(meteringRegion.right, cropRegion.left, cropRegion.right); 163 * (0, 0) top left and (1, 1) bottom right. Rotation has no effect. 179 * (0, 0) top left and (1, 1) bottom right. Rotation has no effect. 195 * (0, 0) top left and (1, 1) bottom right. Rotation has no effect.
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
H A D | TaskImageContainer.java | 202 return new Rect(box.top, box.left, box.bottom, box.right); 233 * is assumed to have its top-left corner at (0,0). 249 if (crop.top > crop.bottom || crop.left > crop.right || crop.width() <= 0 254 safeCrop.left = Math.max(safeCrop.left, 0); 256 safeCrop.right = Math.max(Math.min(safeCrop.right, width), safeCrop.left);
|
/packages/apps/Dialer/java/com/android/dialershared/bubble/ |
H A D | ChangeOnScreenBounds.java | 112 final int startLeft = startBounds.left; 113 final int endLeft = endBounds.left; 124 // Animate the top left and bottom right corners along a path 138 private int left; field in class:ChangeOnScreenBounds.ViewBounds 151 left = Math.round(topLeft.x); 169 view.setLeft(left);
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | AllAppsBackgroundDrawable.java | 74 int left = bounds.left + (int) (mXPercent * bounds.width()); 77 left -= (width / 2); 82 mImage.setBounds(left, top, left + width, top + height);
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
H A D | PendingItemDragHelper.java | 108 previewBounds.left += padding; 133 previewBounds.left += padding; 137 dragRegion.left = (size[0] - iconSize) / 2; 138 dragRegion.right = dragRegion.left + iconSize; 147 int dragLayerX = screenPos.x + previewBounds.left
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | ImageFilterTinyPlanet.java | 120 int left = getInt(xmp, CROPPED_AREA_LEFT); 142 int right = left + croppedAreaWidth; 144 RectF destRect = new RectF(left * scale, top * scale, right * scale, bottom * scale);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageRedEye.java | 64 mCurrentRect.left = ex - mTouchPadding; 121 canvas.drawLine(fullRect.left, fullRect.centerY(), 132 canvas.drawLine(drawRect.left, drawRect.centerY(),
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | WnnSentence.java | 70 this.partOfSpeech = new WnnPOS(headClause.partOfSpeech.left, lastClause.partOfSpeech.right); 105 this.partOfSpeech = new WnnPOS(prev.partOfSpeech.left, clause.partOfSpeech.right); 136 this.partOfSpeech = new WnnPOS(head.partOfSpeech.left, tail.partOfSpeech.right);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AnimatorUtils.java | 182 new Property<View, Integer>(Integer.class, "left") { 189 public void set(View view, Integer left) { 190 view.setLeft(left); 252 final int startLeft = from.getLeft() - fromInsets.left + targetInsets.left; 258 final int endLeft = to.getLeft() - toInsets.left + targetInsets.left;
|